The enhanced direct memory access (eDMA) controller is a second-generation performing complex data transfers with minimal intervention from a host processor. This example uses the eDMA peripheral to transfer data from the Flash to RAM using the eDMA with different channels.
These Freescale Freedom development platforms and Tower System modules are supported by the EDMA example.
The EDMA Example project does not call for any special hardware configurations. Although not required, the recommendation is to leave the development board's jumper settings and configurations in default state when running this example.
EDMA transfer from memory to memory
Starting EDMA channel No. 0 to transfer data from addr 0x1fff0000 to addr 0x1fff0028
Transfered with eDMA channel No.0: successful
Press any key to start transfer with other channel
Starting EDMA channel No. 1 to transfer data from addr 0x1fff0000 to addr 0x1fff0028
Transfered with eDMA channel No.1: successful
Press any key to start transfer with other channel
Starting EDMA channel No. 2 to transfer data from addr 0x1fff0000 to addr 0x1fff0028
Transfered with eDMA channel No.2: successful
Press any key to start transfer with other channel
Starting EDMA channel No. 3 to transfer data from addr 0x1fff0000 to addr 0x1fff0028
Transfered with eDMA channel No.3: successful
Press any key to start transfer with other channel
Starting EDMA channel No. 4 to transfer data from addr 0x1fff0000 to addr 0x1fff0028
Transfered with eDMA channel No.4: successful
Press any key to start transfer with other channel
Starting EDMA channel No. 5 to transfer data from addr 0x1fff0000 to addr 0x1fff0028
Transfered with eDMA channel No.5: successful
Press any key to start transfer with other channel
Starting EDMA channel No. 6 to transfer data from addr 0x1fff0000 to addr 0x1fff0028
Transfered with eDMA channel No.6: successful
Press any key to start transfer with other channel
Starting EDMA channel No. 7 to transfer data from addr 0x1fff0000 to addr 0x1fff0028
Transfered with eDMA channel No.7: successful
Press any key to start transfer with other channel
Starting EDMA channel No. 8 to transfer data from addr 0x1fff0000 to addr 0x1fff0028
Transfered with eDMA channel No.8: successful
Press any key to start transfer with other channel
Starting EDMA channel No. 9 to transfer data from addr 0x1fff0000 to addr 0x1fff0028
Transfered with eDMA channel No.9: successful
Press any key to start transfer with other channel
Starting EDMA channel No. 10 to transfer data from addr 0x1fff0000 to addr 0x1fff0028
Transfered with eDMA channel No.10: successful
Press any key to start transfer with other channel
Starting EDMA channel No. 11 to transfer data from addr 0x1fff0000 to addr 0x1fff0028
Transfered with eDMA channel No.11: successful
Press any key to start transfer with other channel
Starting EDMA channel No. 12 to transfer data from addr 0x1fff0000 to addr 0x1fff0028
Transfered with eDMA channel No.12: successful
Press any key to start transfer with other channel
Starting EDMA channel No. 13 to transfer data from addr 0x1fff0000 to addr 0x1fff0028
Transfered with eDMA channel No.13: successful
Press any key to start transfer with other channel
Starting EDMA channel No. 14 to transfer data from addr 0x1fff0000 to addr 0x1fff0028
Transfered with eDMA channel No.14: successful
Press any key to start transfer with other channel
Starting EDMA channel No. 15 to transfer data from addr 0x1fff0000 to addr 0x1fff0028
Transfered with eDMA channel No.15: successful
Press any key to start transfer with other channel
This example will try to transfer data from FLASH to RAM on each channels that are supported by the eDMA instance.