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.

[参考译文] MSP430F2122:使用MSP430F2122设置波特率时出错

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

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/1093865/msp430f2122-error-setting-baud-rate-with-msp430f2122

部件号:MSP430F2122

大家好,

我现在正在使用MSP430F2122创建一个新项目。

过去,我在公司的项目中只使用9600bps作为波特率。

现在我需要将BR更改为11.52万bps,但br0和BR1寄存器无法在设置中设置为工作。

我使用SMCLK作为UCA0模块的时钟源。

SMCLK为1MHz。 我将br0设置为8,BR1设置为6。

它不能工作。

使用相同的设置,我将br0和BR1更改为104,0可使用9600bps。

我无法连接到TI.com的BR计算。

请帮我解决问题。

此致,

诺顿

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

    将SMCLK更改为16MHz

    16MHz/11.52万= 138.8889

    br0=138

    BR1=0