eDMA EDMA_TRANSFER_SIZE_16B error

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

eDMA EDMA_TRANSFER_SIZE_16B error

770 Views
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 Kudos
Reply
3 Replies

758 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

Hi, have you changed MINOR_LOOP_BYTE_COUNT as well?

0 Kudos
Reply

750 Views
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 Kudos
Reply

727 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

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

0 Kudos
Reply