edma3_memory_to_memory#
Overview#
The EDMA memory to memory example is a simple demonstration program that uses the SDK software. It executes one shot transfer from source buffer to destination 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 memory to memory transfer example begin.
Destination Buffer:
0 0 0 0
EDMA memory to memory transfer example finish.
Destination Buffer:
1 2 3 4
IMX952LPD5EVK-19
Hardware requirements
Micro USB cable
IMX952-EVK Board
J-Link Debug Probe
12V~20V power supply
Personal Computer
Board settings
No special is needed.
Prepare the Demo
Connect 12V~20V power supply and J-Link Debug Probe to the board.
Connect a USB cable between the host PC and the Debug port on the board (Refer “Getting Started with MCUXpresso SDK for IMX952-EVK.pdf” for debug port information).
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 (Please refer “Getting Started with MCUXpresso SDK for IMX952-EVK.pdf” for how to run different targets).
Launch the debugger in your IDE to begin running the example.
Running the demo
When the example runs successfully, you can see the similar information from the terminal as below.
EDMA memory to memory transfer example begin.
Destination Buffer:
0 0 0 0
EDMA memory to memory transfer example finish.
Destination Buffer:
1 2 3 4
FRDM-MCXA153
Hardware requirements
Type-C USB cable
FRDM-MCXA153 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 port(J15) 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 memory to memory transfer example begin.
Destination Buffer:
0 0 0 0
EDMA memory to memory transfer example finish.
Destination Buffer:
1 2 3 4
FRDM-MCXA156
Hardware requirements
Type-C USB cable
FRDM-MCXA156 board
Personal Computer
Board settings
No special settings are required.
Prepare the Demo
Connect a USB Type-C 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 memory to memory transfer example begin.
Destination Buffer:
0 0 0 0
EDMA memory to memory transfer example finish.
Destination Buffer:
1 2 3 4
FRDM-MCXA346
Hardware requirements
Type-C USB cable
FRDM-MCXA346 board
Personal Computer
Board settings
No special settings are required.
Prepare the Demo
Connect a USB Type-C 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 memory to memory transfer example begin.
Destination Buffer:
0 0 0 0
EDMA memory to memory transfer example finish.
Destination Buffer:
1 2 3 4
FRDM-MCXN236
Hardware requirements
Type-C USB cable
FRDM-MCXN236 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 memory to memory transfer example begin.
Destination Buffer:
0 0 0 0
EDMA memory to memory transfer example finish.
Destination Buffer:
1 2 3 4
FRDM-MCXN947
Hardware requirements
Type-C USB cable
FRDM-MCXN947 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 memory to memory transfer example begin.
Destination Buffer:
0 0 0 0
EDMA memory to memory transfer example finish.
Destination Buffer:
1 2 3 4
FRDM-MCXN947T
Hardware requirements
Type-C USB cable
FRDM-MCXN947T 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 memory to memory transfer example begin.
Destination Buffer:
0 0 0 0
EDMA memory to memory transfer example finish.
Destination Buffer:
1 2 3 4
IMX95LPD5EVK-19
Hardware requirements
Micro USB cable
IMX95LPD5-EVK Board
J-Link Debug Probe
12V~20V power supply
Personal Computer
Board settings
No special is needed.
Prepare the Demo
Connect 12V~20V power supply and J-Link Debug Probe to the board.
Connect a USB cable between the host PC and the Debug port on the board (Refer “Getting Started with MCUXpresso SDK for IMX95LPD5-EVK.pdf” for debug port information).
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 (Please refer “Getting Started with MCUXpresso SDK for IMX95LPD5-EVK.pdf” for how to run different targets).
Launch the debugger in your IDE to begin running the example.
Running the demo
When the example runs successfully, you can see the similar information from the terminal as below.
EDMA memory to memory transfer example begin.
Destination Buffer:
0 0 0 0
EDMA memory to memory transfer example finish.
Destination Buffer:
1 2 3 4
FRDM-IMX95
Hardware requirements
Micro USB cable
FRDM-IMX95 Board
J-Link Debug Probe
12V~20V power supply
Personal Computer
Board settings
No special is needed.
Prepare the Demo
Connect 12V~20V power supply and J-Link Debug Probe to the board.
Connect a USB cable between the host PC and the Debug port on the board (Refer “Getting Started with MCUXpresso SDK for FRDM-IMX95.pdf” for debug port information).
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 (Please refer “Getting Started with MCUXpresso SDK for FRDM-IMX95.pdf” for how to run different targets).
Launch the debugger in your IDE to begin running the example.
Running the demo
When the example runs successfully, you can see the similar information from the terminal as below.
EDMA memory to memory transfer example begin.
Destination Buffer:
0 0 0 0
EDMA memory to memory transfer example finish.
Destination Buffer:
1 2 3 4
FRDM-IMX952
Hardware requirements
Micro USB cable
IMX952-EVK Board
J-Link Debug Probe
12V~20V power supply
Personal Computer
Board settings
No special is needed.
Prepare the Demo
Connect 12V~20V power supply and J-Link Debug Probe to the board.
Connect a USB cable between the host PC and the Debug port on the board (Refer “Getting Started with MCUXpresso SDK for IMX952-EVK.pdf” for debug port information).
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 (Please refer “Getting Started with MCUXpresso SDK for IMX952-EVK.pdf” for how to run different targets).
Launch the debugger in your IDE to begin running the example.
Running the demo
When the example runs successfully, you can see the similar information from the terminal as below.
EDMA memory to memory transfer example begin.
Destination Buffer:
0 0 0 0
EDMA memory to memory transfer example finish.
Destination Buffer:
1 2 3 4
FRDM-IMX937
Hardware requirements
Micro USB cable
FRDM-IMX937 Board
J-Link Debug Probe
12V~20V power supply
Personal Computer
Board settings
No special is needed.
Prepare the Demo
Connect 12V~20V power supply and J-Link Debug Probe to the board.
Connect a USB cable between the host PC and the Debug port on the board (Refer “Getting Started with MCUXpresso SDK for FRDM-IMX937.pdf” for debug port information).
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 (Please refer “Getting Started with MCUXpresso SDK for FRDM-IMX937.pdf” for how to run different targets).
Launch the debugger in your IDE to begin running the example.
Running the demo
When the example runs successfully, you can see the similar information from the terminal as below.
EDMA memory to memory transfer example begin.
Destination Buffer:
0 0 0 0
EDMA memory to memory transfer example finish.
Destination Buffer:
1 2 3 4
MCIMX93AUTO-EVK
Hardware requirements
USB Type-C cable
MCIMX93AUTO-EVK Board
J-Link Debug Probe
12V~20V power supply
Personal Computer
Board settings
No special is needed.
Prepare the Demo
Connect 12V~20V power supply and J-Link Debug Probe to the board.
Connect a USB cable between the host PC and the Debug port on the board (Refer “Getting Started with MCUXpresso SDK for MCIMX93AUTO-EVK.pdf” for debug port information).
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 (Please refer “Getting Started with MCUXpresso SDK for MCIMX93AUTO-EVK.pdf” for how to run different targets).
Launch the debugger in your IDE to begin running the example.
Running the demo
When the example runs successfully, you can see the similar information from the terminal as below.
EDMA memory to memory transfer example begin.
Destination Buffer:
0 0 0 0
EDMA memory to memory transfer example finish.
Destination Buffer:
1 2 3 4
MCIMX93-EVK
Hardware requirements
USB Type-C cable
MCIMX93-EVK Board
J-Link Debug Probe
12V~20V power supply
Personal Computer
Board settings
No special is needed.
Prepare the Demo
Connect 12V~20V power supply and J-Link Debug Probe to the board.
Connect a USB cable between the host PC and the Debug port on the board (Refer “Getting Started with MCUXpresso SDK for MCIMX93-EVK.pdf” for debug port information).
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 (Please refer “Getting Started with MCUXpresso SDK for MCIMX93-EVK.pdf” for how to run different targets).
Launch the debugger in your IDE to begin running the example.
Running the demo
When the example runs successfully, you can see the similar information from the terminal as below.
EDMA memory to memory transfer example begin.
Destination Buffer:
0 0 0 0
EDMA memory to memory transfer example finish.
Destination Buffer:
1 2 3 4
MCIMX93W-EVK
Hardware requirements
USB Type-C cable
MCIMX93W-EVK Board
J-Link Debug Probe
12V~20V power supply
Personal Computer
Board settings
No special is needed.
Prepare the Demo
Connect 12V~20V power supply and J-Link Debug Probe to the board.
Connect a USB cable between the host PC and the Debug port on the board (Refer “Getting Started with MCUXpresso SDK for MCIMX93W-EVK.pdf” for debug port information).
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 (Please refer “Getting Started with MCUXpresso SDK for MCIMX93W-EVK.pdf” for how to run different targets).
Launch the debugger in your IDE to begin running the example.
Running the demo
When the example runs successfully, you can see the similar information from the terminal as below.
EDMA memory to memory transfer example begin.
Destination Buffer:
0 0 0 0
EDMA memory to memory transfer example finish.
Destination Buffer:
1 2 3 4
MCIMX93-QSB
Hardware requirements
USB Type-C cable
MCIMX93-QSB Board
J-Link Debug Probe
12V~20V power supply
Personal Computer
Board settings
No special is needed.
Prepare the Demo
Connect 12V~20V power supply and J-Link Debug Probe to the board.
Connect a USB cable between the host PC and the Debug port on the board (Refer “Getting Started with MCUXpresso SDK for MCIMX93-QSB.pdf” for debug port information).
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 (Please refer “Getting Started with MCUXpresso SDK for MCIMX93-QSB.pdf” for how to run different targets).
Launch the debugger in your IDE to begin running the example.
Running the demo
When the example runs successfully, you can see the similar information from the terminal as below.
EDMA memory to memory transfer example begin.
Destination Buffer:
0 0 0 0
EDMA memory to memory transfer example finish.
Destination Buffer:
1 2 3 4
IMX943-EVK
Hardware requirements
Micro USB cable
IMX943-EVK Board
J-Link Debug Probe
12V~20V power supply
Personal Computer
Board settings
No special is needed.
Prepare the Demo
Connect 12V~20V power supply and J-Link Debug Probe to the board.
Connect a USB cable between the host PC and the Debug port on the board (Refer “Getting Started with MCUXpresso SDK for IMX943-EVK.pdf” for debug port information).
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 (Please refer “Getting Started with MCUXpresso SDK for IMX943-EVK.pdf” for how to run different targets).
Launch the debugger in your IDE to begin running the example.
Running the demo
When the example runs successfully, you can see the similar information from the terminal as below.
EDMA memory to memory transfer example begin.
Destination Buffer:
0 0 0 0
EDMA memory to memory transfer example finish.
Destination Buffer:
1 2 3 4
MCX-N5XX-EVK
Hardware requirements
Mini/micro USB cable
MCX-N5XX-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 memory to memory transfer example begin.
Destination Buffer:
0 0 0 0
EDMA memory to memory transfer example finish.
Destination Buffer:
1 2 3 4
MCX-N9XX-EVK
Hardware requirements
Mini/micro USB cable
MCX-N9XX-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 memory to memory transfer example begin.
Destination Buffer:
0 0 0 0
EDMA memory to memory transfer example finish.
Destination Buffer:
1 2 3 4
FRDM-MCXL255
Hardware requirements
Type-C USB cable
FRDM-MCXL255 board
Personal Computer
Board settings
Make sure you have solder bridges SJ1 and SJ2 set to
2-1 for the main core (cm33)
Prepare the Demo
Connect a USB Type-C cable between the host PC and the MCU-Link USB port (J16) 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
The following lines are printed to the serial terminal when the demo program is executed.
EDMA memory to memory example begin.
Destination Buffer:
0 0 0 0
EDMA memory to memory example finish.
Destination Buffer:
1 2 3 4
FRDM-MCXA174
Hardware requirements
Type-C USB cable
FRDM-MCXA174 board
Personal Computer
Board settings
No special settings are required.
Prepare the Demo
Connect a USB Type-C 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 memory to memory transfer example begin.
Destination Buffer:
0 0 0 0
EDMA memory to memory transfer example finish.
Destination Buffer:
1 2 3 4
FRDM-MCXA344
Hardware requirements
Type-C USB cable
FRDM-MCXA344 board
Personal Computer
Board settings
No special settings are required.
Prepare the Demo
Connect a USB Type-C 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 memory to memory transfer example begin.
Destination Buffer:
0 0 0 0
EDMA memory to memory transfer example finish.
Destination Buffer:
1 2 3 4
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 memory to memory transfer example begin.
Destination Buffer:
0 0 0 0
EDMA memory to memory transfer example finish.
Destination Buffer:
1 2 3 4
FRDM-MCXA266
Hardware requirements
Type-C USB cable
FRDM-MCXA266 board
Personal Computer
Board settings
No special settings are required.
Prepare the Demo
Connect a USB Type-C 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 memory to memory transfer example begin.
Destination Buffer:
0 0 0 0
EDMA memory to memory transfer example finish.
Destination Buffer:
1 2 3 4
FRDM-MCXA366
Hardware requirements
Type-C USB cable
FRDM-MCXA366 board
Personal Computer
Board settings
No special settings are required.
Prepare the Demo
Connect a USB Type-C 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 memory to memory transfer example begin.
Destination Buffer:
0 0 0 0
EDMA memory to memory transfer example finish.
Destination Buffer:
1 2 3 4
FRDM-MCXA577
Hardware requirements
Type-C USB cable
FRDM-MCXA577 board
Personal Computer
Board settings
No special settings are required.
Prepare the Demo
Connect a USB Type-C 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 memory to memory transfer example begin.
Destination Buffer:
0 0 0 0
EDMA memory to memory transfer example finish.
Destination Buffer:
1 2 3 4
FRDM-MCXC162
Hardware requirements
Type-C USB cable
FRDM-MCXC162 board
Personal Computer
Board settings
No special settings are required.
Prepare the Demo
Connect a USB Type-C 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 memory to memory transfer example begin.
Destination Buffer:
0 0 0 0
EDMA memory to memory transfer example finish.
Destination Buffer:
1 2 3 4
FRDM-MCXA287
Hardware requirements
Type-C USB cable
FRDM-MCXA287 board
Personal Computer
Board settings
No special settings are required.
Prepare the Demo
Connect a USB Type-C 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 memory to memory transfer example begin.
Destination Buffer:
0 0 0 0
EDMA memory to memory transfer example finish.
Destination Buffer:
1 2 3 4