How to use eDMA receive UART end interrupt ?

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

How to use eDMA receive UART end interrupt ?

1,347 次查看
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 回复

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