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.

[参考译文] CCS/msp430f6435:UART 一次只读取一个字节的数据。如何在单个 UART 读取操作中接收多个字节的数据?

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

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/600469/ccs-msp430f6435-uart-only-read-one-byte-data-at-a-time-how-to-receive-multiple-bytes-of-data-in-single-uart-read-operation

器件型号:MSP430F6435

工具/软件:Code Composer Studio

我可以使用 URAT 发送字符串、但由于1字节硬件缓冲区、无法接收字符串。
如何在单个 UART 读取操作中接收多个字节的数据?

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

    当发送硬件缓冲区仅为一个字节时、您如何才能发送字符串、这与接收时相同?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您好、zrno soli、
    我使用 for 循环在 UART 上传输数据,但当我尝试使用相同的方法进行 UART 读取时,它会阻止读取操作
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    www.simplyembedded.org/.../