The DMA will no longer work if the data transferred by DMA is larger than the set length.
I use UART IDLE + DMA to implement "UART receive indefinite length data".
When the one-time receiving length of UART is greater than the set length of DMA, DMA will no longer work.
I want to discard the data and continue to receive data.
How can I deal with the situation?
Hello,
Could you please share the project and elaborate on what exactly you want to implement?
It is not clear what does not work.
From the screenshot, it looks like you are using LPUART interrupts.
Thanks,
BR, Daniel