UART IDLE + DMA

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

UART IDLE + DMA

1,196件の閲覧回数
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,182件の閲覧回数
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 件の賞賛
返信