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.

LP-MSPM0G3507: How to use UART with DMA to receive data of variable length

Part Number: LP-MSPM0G3507

I want to implement a demo which uses UART with a dma channel to receive data of variable length, but I can't find a proper method to achieve this. I have referred to the sepcification, and I think using RX timeout interrupt to inform MCU to get data may be a method, but I can't find a stable way to trigger this interrupt, because it's hard to ensure the rx fifo have remaining data in every transmission. So, if anybody have a good method, please give me a hint.

Thanks.

**Attention** This is a public forum