I do not use the EDMA3 driver interface and I write code below:
I use the 3 channels of EDMA simutaneously
1. set TCINTEN bit in OPT param to 1 of 3 channels
2.shadowRegs->IESR = 0x7;
3. shadowRegs->ESR = 0x7; // start the transfer
4....................
5.while ( shadowRegs->IPR & 0x7 != 7 ); //wait for complete
6. other process code
Unfortunitly the step 5 can not valid ,that means it do not wait for the completion of transfer in step 5.
Is there any thing wrong with my code? and How to know the completion of a EDMA transfer?
Thank you !