UART IDLE + DMA

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

UART IDLE + DMA

1,193 次查看
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 项奖励
回复
1 回复

1,179 次查看
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 项奖励
回复