How to use eDMA receive Interrupt ?

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

How to use eDMA receive Interrupt ?

879 次查看
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.

 

标记 (4)
0 项奖励
1 回复

740 次查看
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 项奖励