This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

issue About csl_6455 example " edma_interrupt "?

1373.edma_interrupt.rarThere is a problem of using the csl_6455 example"edma_interrupt".

when no modify ,the EDMA can work properly, data transfer completely.

but when I mask this section"       if(Verify_Transfer(512, 1, 1, 0, 0, 0, 0, srcBuff, dstBuff,TRUE) == FALSE)   ",no transfer starts.

I want to know what's wrong with EDMA? 

thank  you very much!

the example is in accessory.

 

  • In the code you sent, the Verify_Transfer section did not appear to be masked. I cannot tell what you do wrong when you mask it.

    The EDMA transfer starts and completes before the Verify_Transfer function is called, so there is no reason for any change at this point in the code to cause any problem for the EDMA transfer.

    If you look at the dstBuff array in a memory window, what do you observe before the "Manually trigger the channel" and after the "Wait for completion" points in the code?