打印
[MSP430]

用G2553的三线SPI通信,没有有门控信号EN???

[复制链接]
604|6
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
niubohuaii|  楼主 | 2019-12-12 20:39 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
沙发
dirtwillfly| | 2019-12-12 21:56 | 只看该作者
msp430g系列上叫UCxSTE,记得P1.5和P1.4分别是UCA0和UCB0做spi功能时的从设备使能

使用特权

评论回复
板凳
niubohuaii|  楼主 | 2019-12-13 09:40 | 只看该作者
dirtwillfly 发表于 2019-12-12 21:56
msp430g系列上叫UCxSTE,记得P1.5和P1.4分别是UCA0和UCB0做spi功能时的从设备使能

If data is written into UCxTXBUF while the master is held inactive by UCxSTE, it will be transmitted as
soon as UCxSTE transitions to the master-active state. If an active transfer is aborted by UCxSTE
transitioning to the master-inactive state, the data must be re-written into UCxTXBUF to be transferred
when UCxSTE transitions back to the master-active state. The UCxSTE input signal is not used in 3-pin master mode.
这是手册上的原话,最后一句说3线不用UCxCTE,难道我理解的不对吗·····

使用特权

评论回复
地板
一路向北lm| | 2019-12-13 09:52 | 只看该作者
没有 EN 就是直接使能了啊

使用特权

评论回复
5
dirtwillfly| | 2019-12-13 13:01 | 只看该作者
niubohuaii 发表于 2019-12-13 09:40
If data is written into UCxTXBUF while the master is held inactive by UCxSTE, it will be transmitt ...

你的理解没错。msp430的三线制不使用UCxCTE,从设备的使能引脚直接接到相应的电平就可以了。

使用特权

评论回复
评论
niubohuaii 2019-12-13 15:36 回复TA
好的,谢谢 
6
niubohuaii|  楼主 | 2019-12-13 15:36 | 只看该作者
一路向北lm 发表于 2019-12-13 09:52
没有 EN 就是直接使能了啊

谢谢

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

23

主题

60

帖子

0

粉丝