UART IDLE + DMA

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

UART IDLE + DMA

619 Views
1622542013
Contributor II

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".

1622542013_0-1610514999967.png

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?

0 Kudos
1 Reply

605 Views
danielmartynek
NXP TechSupport
NXP TechSupport

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

 

0 Kudos