[MSP430]

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

[复制链接]
593|6
手机看帖
扫描二维码
随时随地手机跟帖
niubohuaii|  楼主 | 2019-12-12 20:39 | 显示全部楼层 |阅读模式
一般的SPI三线通信不是需要有门控信号EN吗·········看手册G2553的三线是主线,从线和时钟线,这怎么搞

是使用MISO代替 门控信号EN  吗,如果是 我看SPI方面的寄存器也没有特别说明啊····????????向大佬们指教

使用特权

评论回复

相关帖子

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 就是直接使能了啊

使用特权

评论回复
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
好的,谢谢 
niubohuaii|  楼主 | 2019-12-13 15:36 | 显示全部楼层
一路向北lm 发表于 2019-12-13 09:52
没有 EN 就是直接使能了啊

谢谢

使用特权

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

本版积分规则

23

主题

60

帖子

0

粉丝