How to use eDMA receive UART end interrupt ?

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

How to use eDMA receive UART end interrupt ?

1,040 Views
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

0 Kudos
1 Reply

915 Views
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 Kudos