2013|3

428

帖子

0

TA的资源

一粒金砂(高级)

楼主
 

430串口唤醒 [复制链接]

430单片机进入LPM3模式,在9600波特率的情况下,收到10个字节才能唤醒,请问如何能使得收到1个字节就能唤醒呢?

最新回复

去看看器件手册,唤醒是需要时间的,这个时间是常数,无法更改。  详情 回复 发表于 2015-5-27 16:20
 
点赞 关注

回复
举报

428

帖子

0

TA的资源

一粒金砂(高级)

沙发
 
给430发数据的波特率改为2400,4800波特率,2个字节就能唤醒。9600波特率下发10个字节才能唤醒,或者1个字节需要发2遍才能唤醒。大神,指点一下吧
 
 

回复

1万

帖子

141

TA的资源

版主

板凳
 
去看看器件手册,唤醒是需要时间的,这个时间是常数,无法更改。
 
个人签名上传了一些书籍资料,也许有你想要的:https://download.eeworld.com.cn/user/chunyang
 
 

回复

428

帖子

0

TA的资源

一粒金砂(高级)

4
 
The Cause: This is actually a known issue and has been confirmed by the factory as a bug (in F54xx & 54xxA). It should be on forthcoming errata when the next revision of the document is released. The following are possible workarounds:

1. Use a GPIO pin as a chip select (CS) when the MSP430 is receiving data. In the Port ISR, switch the polarity on the interrupt pin edge select, enable the UART and RX interrupt, complete the UART transactions, and go back to sleep on the following GPIO interrupt request (release of the CS).

2. Enter LPM3 mode with SMCLKREQEN = 0, use a GPIO pin as a CS pin and, in the port ISR switch the polarity on the interrupt pin edge select, enable SMCLKREQEN bit, complete the UART transactions, and clear the SMCLKREQEN bit on the following GPIO interrupt request (release of the CS).

Both have an inherent latency between CS signal toggling and the MSP430 being able to receive data successfully, which should be accounted for by a delay on the master between toggling the CS signal and transmitting the first data byte. Else, one would still need to calculate the latency in respect to the baudrate and see how many bytes need to be re-sent from the master as to not lose any data. This case would reduce complexity on the master implementation by eliminating the critical timing from CS -> delay -> 1st TX byte.
 
 
 

回复
您需要登录后才可以回帖 登录 | 注册

随便看看
查找数据手册?

EEWorld Datasheet 技术支持

相关文章 更多>>
关闭
站长推荐上一条 1/6 下一条

 
EEWorld订阅号

 
EEWorld服务号

 
汽车开发圈

About Us 关于我们 客户服务 联系方式 器件索引 网站地图 最新更新 手机版

站点相关: 国产芯 安防电子 汽车电子 手机便携 工业控制 家用电子 医疗电子 测试测量 网络通信 物联网

北京市海淀区中关村大街18号B座15层1530室 电话:(010)82350740 邮编:100190

电子工程世界版权所有 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号 Copyright © 2005-2025 EEWORLD.com.cn, Inc. All rights reserved
快速回复 返回顶部 返回列表