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.

[参考译文] 有关 MSP430F5529的串行端口问题

Guru**** 2552450 points
Other Parts Discussed in Thread: MSP430F5529

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

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/592744/serial-port-problems-about-msp430f5529

主题中讨论的其他器件:MSP430F5529

早上好、先生

在非调试模式下、我遇到了一些有关 MSP430F5529的问题。

问题1:在 CCSV7的调试模式下、串行器件可以正常发送字符、如下所示:

                                                 

测试变量是发送字符。 该值属于 SMCLK。但它在关闭调试模式后无法正常发送字符,如图2所示。

                                                 

我在非调试模式下更改串行端口助手波特率,同时以十六进 制显示它们,它可以正常发送字符‘A’。 电路板复位无法解决问题。 我还尝试过其他串行端口来解决此类问题,但这并不有用。下面提供了我的代码。

                                       

我是学习 MSP430的新手,所以我不能使用时钟配置。 然后我根据 MSP430F5529的数据表设置波特率 。 您能告诉我串行端口发生了什么问题吗?

谢谢。