Hello.
I was trying out the EDMA3 in OMAP_L138 and it was working as expected most times where data are transferred correctly.
There are times where it will hang indefinitely at the EDMA3_DRV_requestChannel function when I set it up again after cleaning up from the previous iteration.
I have no idea if I left out something important while setting up.
Please assist. Thanks.
My steps are the following for setting it up:
1. initialize the edma_DriverInit();
2. request for edma3_drv_requestchannel with TCC and ChnID of EDMA3_DRV_HW_CHANNEL_EVENT_23. Both Channel Event is link to the hardware that was provided to me.
3. Set the Src/Dest Params and Indexes
4. Set the TransferParams and OptFields
5. Enable transfer for event trigger.
My steps are the following for clean up:
1. disable the event trigger by using EDMA3_DRV_distableTransfer
2. free the channel using EDMA3_DRV_freeChannel method
3. De-init the edma3 with edma_DriverDeinit();