MSP430 的USART 可以同时工作在 UART 和 SPI 模式吗?

2019-07-15 16:46发布

MSP430 的 USART 可以同时工作在 UART 和 SPI 模式吗?
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
该问题目前已经被作者或者管理员关闭, 无法添加新回复
1条回答
屌丝
1楼-- · 2019-07-15 18:57
一个 USART 模块不能同时工作在UART和SPI模式。但MSP430可以通过软件在两个模式这间切换。如果MSP430单片机有两个的 USART 模块: USART0 和 USART1,则它们可以同时工作在 SPI 或 UART 的任何组合模式。

If switching between modes is done, please make sure the SWRST bit is set and cleared to reset the USART state machine between the change of modes by software.Please refer the device family user`s guide for more details.
如果模式之间进行切换,请在通过软件切换模式的过程中确保 SWRST 位的设置和清除来复位 USART 状态机。

一周热门 更多>