Hardware requirements#
Mini/micro USB cable
FRDM-K22F board
Personal Computer
Board settings#
The EDMA memory to memory demo does not call for any special hardware configurations.
Prepare the Demo#
Connect a mini USB cable between the PC host and the OpenSDA USB on the board.
Open a serial terminal on PC for OpenSDA serial device with these settings:
115200 baud rate
8 data bits
No parity
One stop bit
No flow control
Download the program to the target board.
Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.
Running the demo#
When the example runs successfully, you can see the similar information from the terminal as below.
EDMA wrap transfer example.
edma modulo wrap start
0 0 0 0 0 0 0 0
EDMA modulo wrap finished.
1 2 3 4 1 2 3 4
edma major loop wrap start
0 0 0 0 0 0 0 0
edma major loop wrap finished
1 2 3 4 5 6 7 8