How to use eDMA receive UART end interrupt ?

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

How to use eDMA receive UART end interrupt ?

1,088件の閲覧回数
dearwww2000
Contributor I

Dear All,

I want to ask a question : eDMA receive UART data. But I can't found the UART reveive end Interrupt.

I want to send a respionse UARTdata immediately after receive UART end edge.

Where is the eDMA receive end ISR?

LPUART configuration : 

pastedImage_1.png

DMA configuration : (DMA Callback is not configure, can' t change name,)

pastedImage_2.png

SW code run : 

receive UART data use " LPUART_DRV_ReceiveData(INST_LPUART0, (UINT8 *)DataBuf, DataLen)"

I only use "  LPUART_DRV_GetReceiveStatus(INST_LPUART0, NULL)" to check the receive is completed or not.

But sometimes "LPUART_DRV_GetReceiveStatus()" is wrong and can't return "STATUS_SUCCESS".

I use SDK 3.0

Thank you

Mario

タグ(4)
0 件の賞賛
1 返信

963件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hi dearwww2000,

I modified the SDK echo example to work with DMA.

The example is attached, please try it.

Thanks,

BR, Daniel

0 件の賞賛