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.

[参考译文] MSP430FR6989:DMA UART RX

Guru**** 2511415 points


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

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/986869/msp430fr6989-dma-uart-rx

器件型号:MSP430FR6989

在 MSP430中、我如何知道从串行端口接收到的数据是完整的? 例如、在 STM32中、有一个串行端口空闲中断来知道接收到的数据已完成

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

    您好,

    如果您知道 UART 数据的数量、则可以将其设置为 DMA、将触发中断。

    对于随机长度的数据、您可以自定义帧头以检查数据传输是否完成。

    对于空闲中断、您可能可以尝试使用计时器来实现。

    谢谢!

    此致

    Johnson