MKM34 Uart DMA Initialization

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

MKM34 Uart DMA Initialization

571 Views
rahul_4
Contributor II

Hi,

Can anyone share the example of using DMA on UART Transmit for MKM34Z256 by using bare metal drivers. DMA CRC example is given but when I am changing the code for UART, it is not transmitting any data.

 

Thanks,
Rahul

 

0 Kudos
Reply
2 Replies

518 Views
rahul_4
Contributor II

Hi Rong,

I am using DMA for Uart Transmit but MCU is not transferring any data. Can you please check below code snippet.

rahul_4_0-1712080520946.png

 

Thanks,
Rahul

0 Kudos
Reply

525 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

I suppose that the DMA code has issue.

Pls refer to the DMA memory-memory example code and modify it, for example, replace the destination address with the CRC data register address. while check the CRC example code especially the CRC init code.

xiangjun_rong_0-1710991305853.png

Hope it can help you

BR

XiangJun Rong

0 Kudos
Reply