Other Parts Discussed in Thread: MSP-EXP430G2ET
主题: MSP430G2553 中讨论的其他器件
工具/软件:
大家好、E2E 专家:
你好。
我尝试让 UART 发送一条“Hello World“消息、因为我遵循先设置终端连接、然后再设置一个闪存的说明、但它一直向我发送垃圾数据。

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.
Other Parts Discussed in Thread: MSP-EXP430G2ET
工具/软件:
大家好、E2E 专家:
你好。
我尝试让 UART 发送一条“Hello World“消息、因为我遵循先设置终端连接、然后再设置一个闪存的说明、但它一直向我发送垃圾数据。

尊敬的 TICSC:
您正在观察的输出可能是由于终端设置不正确。 确保终端的波特率与 UART 事务的波特率相匹配。 此外、请确保您的串行设置正确、例如数据位数、奇偶校验位、停止位等
至于 UART 示例、SDK 中有许多 UART 示例可协助您进行配置。 在 CCS v12 中、您可以通过点击 Project > Project Wizard (Resource Explorer)>键入 MSP-EXP430G2ET >在关键字文本框中键入 UART 来找到这些示例。 首先、msp430g2xx3_USCI_UART_standard_transmitter.c 示例可能是一个很好的示例。
此致、
Owen