eDMA EDMA_TRANSFER_SIZE_16B error

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

eDMA EDMA_TRANSFER_SIZE_16B error

769 次查看
hicensezhang
Contributor I

捕获1.PNG捕获2.PNG

when I create a new project from example edma_transfer_s32k144, I wang to transfer 16B , so I  change

transferConfig.srcTransferSize = EDMA_TRANSFER_SIZE_4B;

transferConfig.destTransferSize = EDMA_TRANSFER_SIZE_4B;

to

transferConfig.srcTransferSize = EDMA_TRANSFER_SIZE_16B;

transferConfig.destTransferSize = EDMA_TRANSFER_SIZE_16B;

But the dstData displays all zero not the srcData content

could you help it? thank you

0 项奖励
回复
3 回复数

757 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport

Hi, have you changed MINOR_LOOP_BYTE_COUNT as well?

0 项奖励
回复

749 次查看
hicensezhang
Contributor I

I only change the

transferConfig.srcTransferSize = EDMA_TRANSFER_SIZE_4B;
transferConfig.destTransferSize = EDMA_TRANSFER_SIZE_4B;

to

transferConfig.srcTransferSize = EDMA_TRANSFER_SIZE_16B;
transferConfig.destTransferSize = EDMA_TRANSFER_SIZE_16B;

, others has no change.

0 项奖励
回复

726 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport

And that's exactly the mistake if I understand what you want to do.

0 项奖励
回复