How to use eDMA receive Interrupt ?

cancel
Showing results for 
Search instead for 
Did you mean: 

How to use eDMA receive Interrupt ?

236 Views
dearwww2000
Contributor I

LPUART configuration is :

Transfer type select DMA , Baudrate is 500000 ,  RX use DMA channel 1,  TX use DMA channel 0. 

eDMA configuration is :

two DMA channel : channel 0 request is LPUART0_TX,  channel 1 request is LPUART0_RX.

 

SW code is :

Use “LPUART_DRV_ReceiveData(INST_LPUART0, (UINT8 *)DataBuf, DataLen)” to receive UART data.

 

But the SW can’t run to LPUART_DRV_RxIrqHandler().

 

SW can go to “LPUART_DRV_TxCompleteIrqHandler()” when use “LPUART_DRV_SendData(INST_LPUART0, (UINT8 *)DataBuf, DataLen)” to send UART data.

 

0 Kudos
1 Reply

97 Views
danielmartynek
NXP TechSupport
NXP TechSupport

dearwww2000,

I just added a comment in your second thread here:

How to use eDMA receive UART end interrupt ? 

BR, Daniel

0 Kudos