MKM34 Uart DMA Initialization

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

MKM34 Uart DMA Initialization

712 次查看
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 项奖励
回复
2 回复数

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

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