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.

msp430g2553波特率设置问题



我使用的是launchpad,g2553,IAR平台调试串口程序时,发现把波特率设成>9600时,串口助手收到的数据就不对了,试过改官网的串口程序,把

    UCA0BR0 = 52;                            // 1MHz  19200
    UCA0BR1 = 0;                              // 1MHz 19200
    UCA0MCTL =0;                        // Modulation UCBRSx = 0

发现也不对;不同的频率,也就只有波特率为9600时,才是正确的;请问是什么问题呢????谢谢