MCUXpresso SDK Documentation

edma5_memory_to_memory

edma5_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#

IMX952LPD5EVK-19
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.

SDK version
  • Version: 2.14.0

Toolchain supported
  • IAR embedded Workbench 9.4

  • GCC ARM Embedded 12.2

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
  1. Connect 12V~20V power supply and J-Link Debug Probe to the board.

  2. 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).

  3. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  4. Download the program to the target board (Please refer “Getting Started with MCUXpresso SDK for IMX952-EVK.pdf” for how to run different targets).

  5. 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
IMX95LPD5EVK-19
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.

SDK version
  • Version: 2.14.0

Toolchain supported
  • IAR embedded Workbench 9.4

  • GCC ARM Embedded 12.2

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
  1. Connect 12V~20V power supply and J-Link Debug Probe to the board.

  2. 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).

  3. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  4. Download the program to the target board (Please refer “Getting Started with MCUXpresso SDK for IMX95LPD5-EVK.pdf” for how to run different targets).

  5. 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
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.

SDK version
  • Version: 2.14.0

Toolchain supported
  • IAR embedded Workbench 9.4

  • GCC ARM Embedded 12.2

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
  1. Connect 12V~20V power supply and J-Link Debug Probe to the board.

  2. 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).

  3. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  4. Download the program to the target board (Please refer “Getting Started with MCUXpresso SDK for FRDM-IMX95.pdf” for how to run different targets).

  5. 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
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.

SDK version
  • Version: 2.14.0

Toolchain supported
  • IAR embedded Workbench 9.4

  • GCC ARM Embedded 12.2

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
  1. Connect 12V~20V power supply and J-Link Debug Probe to the board.

  2. 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).

  3. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  4. Download the program to the target board (Please refer “Getting Started with MCUXpresso SDK for IMX952-EVK.pdf” for how to run different targets).

  5. 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
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.

SDK version
  • Version: 2.14.0

Toolchain supported
  • IAR embedded Workbench 9.4

  • GCC ARM Embedded 12.2

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
  1. Connect 12V~20V power supply and J-Link Debug Probe to the board.

  2. 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).

  3. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  4. Download the program to the target board (Please refer “Getting Started with MCUXpresso SDK for FRDM-IMX937.pdf” for how to run different targets).

  5. 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