This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] MSP430FR6922:UART 在115200波特率下不工作

Guru**** 2380860 points
Other Parts Discussed in Thread: MSP430FR6922
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/1136883/msp430fr6922-uart-is-not-working-on-115200-baud-rate

器件型号:MSP430FR6922

大家好、
我对 MSP430控制器有疑问。 我正在使用 msp430fr6922控制器。 我必须在115200上设置 UART 通信波特率。 UART 在4MHz 的 SMCLK 频率下工作。 我的问题是、UCOS16、UCBRFx、UCBRSx 的值应该是多少? 请提供帮助、因为我已经按照技术参考手册中提到的表30-4、30-5中的说明、将波特率设置为115200
谢谢你。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    你(们)好。

    您可以在表30-5中找到建议的设置。 因此 OS16的值 应该为1、  UCBRFx 应该为2、UCBRSx 应该为0xBB。

    如果设置正确、请检查 BRCLK 的配置。  应 配置 UCSSELx 以将 BRCLK 连接到 SMCLK。

    谢谢、

    越豪