edma4_scatter_gather#
Overview#
The EDMA memory to memory example is a simple demonstration program thatuses the SDK software. It executes one shot transfer from source buffer todestination buffer using the SDK EDMA drivers. The purpose of this example is to show how to use the EDMA and to provide a simple example for debugging and further development.
Supported Boards#
MIMXRT1180-EVK
Hardware requirements
Mini/micro USB cable
MIMXRT1180-EVK board
Personal Computer
Board settings
No special settings are required.
Prepare the Demo
Connect a USB cable between the host PC and the OpenSDA USB port on the target board.
Open a serial terminal with the following 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 scatter_gather example begin.
Destination Buffer:
0 0 0 0 0 0 0 0
EDMA scatter_gather example finish.
Destination Buffer:
1 2 3 4 5 6 7 8
MCIMX93AUTO-EVK
Hardware requirements
USB Type-C cable
MCIMX93AUTO-EVK board
Personal Computer
Board settings
No special settings are required.
Prepare the Demo
Connect a USB cable between the host PC and the OpenSDA USB port on the target board.
Open a serial terminal with the following settings:
115200 baud rate
8 data bits
No parity
One stop bit
No flow control
Download the program to the target board.
Either re-power up 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 scatter_gather example begin.
Destination Buffer:
0 0 0 0 0 0 0 0
EDMA scatter_gather example finish.
Destination Buffer:
1 2 3 4 5 6 7 8
MCIMX93-EVK
Hardware requirements
USB Type-C cable
MCIMX93-EVK board
Personal Computer
Board settings
No special settings are required.
Prepare the Demo
Connect a USB cable between the host PC and the OpenSDA USB port on the target board.
Open a serial terminal with the following settings:
115200 baud rate
8 data bits
No parity
One stop bit
No flow control
Download the program to the target board.
Either re-power up 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 scatter_gather example begin.
Destination Buffer:
0 0 0 0 0 0 0 0
EDMA scatter_gather example finish.
Destination Buffer:
1 2 3 4 5 6 7 8
MCIMX93W-EVK
Hardware requirements
USB Type-C cable
MCIMX93W-EVK board
Personal Computer
Board settings
No special settings are required.
Prepare the Demo
Connect a USB cable between the host PC and the OpenSDA USB port on the target board.
Open a serial terminal with the following settings:
115200 baud rate
8 data bits
No parity
One stop bit
No flow control
Download the program to the target board.
Either re-power up 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 scatter_gather example begin.
Destination Buffer:
0 0 0 0 0 0 0 0
EDMA scatter_gather example finish.
Destination Buffer:
1 2 3 4 5 6 7 8
MCIMX93-QSB
Hardware requirements
USB Type-C cable
MCIMX93-QSB board
Personal Computer
Board settings
No special settings are required.
Prepare the Demo
Connect a USB cable between the host PC and the OpenSDA USB port on the target board.
Open a serial terminal with the following settings:
115200 baud rate
8 data bits
No parity
One stop bit
No flow control
Download the program to the target board.
Either re-power up 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 scatter_gather example begin.
Destination Buffer:
0 0 0 0 0 0 0 0
EDMA scatter_gather example finish.
Destination Buffer:
1 2 3 4 5 6 7 8
IMX943-EVK
Hardware requirements
Mini/micro USB cable
IMX943-EVK board
Personal Computer
Board settings
No special settings are required.
Prepare the Demo
Connect a USB cable between the host PC and the OpenSDA USB port on the target board.
Open a serial terminal with the following settings:
115200 baud rate
8 data bits
No parity
One stop bit
No flow control
Download the program to the target board.
Either re-power up 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 scatter_gather example begin.
Destination Buffer:
0 0 0 0 0 0 0 0
EDMA scatter_gather example finish.
Destination Buffer:
1 2 3 4 5 6 7 8
MIMXRT700-EVK
Hardware requirements
Micro USB cable
MIMXRT700-EVK board
Personal Computer
Board settings
No special settings are required.
Prepare the Demo
Connect a USB cable between the host PC and the MCU-LINK USB port on the target board.
Open a serial terminal with the following 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 scatter_gather example begin.
Destination Buffer:
0 0 0 0 0 0 0 0
EDMA scatter_gather example finish.
Destination Buffer:
1 2 3 4 5 6 7 8
FRDM-MCXE31B
Hardware requirements
Micro USB cable
FRDM-MCXE31B Board
Personal Computer
Board settings
No special settings are required.
Prepare the Demo
Connect a type-c USB cable between the host PC and the MCU-Link USB port (J13) on the target board.
Open a serial terminal with the following 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 scatter_gather example begin.
Destination Buffer:
0 0 0 0 0 0 0 0
EDMA scatter_gather example finish.
Destination Buffer:
1 2 3 4 5 6 7 8
FRDM-MCXE32B
Hardware requirements
Micro USB cable
FRDM-MCXE32B board
Personal Computer
Board settings
No special settings are required.
Prepare the Demo
Connect a type-c USB cable between the host PC and the MCU-Link USB port (J13) on the target board.
Open a serial terminal with the following 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 scatter_gather example begin.
Destination Buffer:
0 0 0 0 0 0 0 0
EDMA scatter_gather example finish.
Destination Buffer:
1 2 3 4 5 6 7 8
FRDM-IMXRT1186
Hardware requirements
Type-C USB cable
FRDM-IMXRT1186 board
Personal Computer
Board settings
No special settings are required.
Prepare the Demo
Connect a USB cable between the host PC and the OpenSDA USB port on the target board.
Open a serial terminal with the following 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 scatter_gather example begin.
Destination Buffer:
0 0 0 0 0 0 0 0
EDMA scatter_gather example finish.
Destination Buffer:
1 2 3 4 5 6 7 8