MCUXpresso SDK Documentation

xspi_octal_edma_transfer

xspi_octal_edma_transfer#

Overview#

The xspi_octal_edma_transfer example shows how to use xspi driver with dma:

In this example, xspi will send data and operate the external octal flash connected with XSPI. Some simple flash command will be executed, such as Write Enable, Erase sector, Program page. Example will first erase the sector and program a page into the flash, at last check if the data in flash is correct.

Supported Boards#

MIMXRT700-EVK
Hardware requirements
  • Mini/micro USB cable

  • RT700 board

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo
  1. Connect a USB cable between the host PC and the MCU-Link USB port on the target board.

  2. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

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

XSPI example started!
Vendor ID: 0x2c
Erasing Serial NOR over XSPI...
Erase data - successfully.
EDMA Program data - successfully.
IMX952LPD5EVK-19
Hardware requirements
  • Mini/micro USB cable

  • RT700 board

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo
  1. Connect a USB cable between the host PC and the MCU-Link USB port on the target board.

  2. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

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

XSPI example started!
Vendor ID: 0x2c
Erasing Serial NOR over XSPI...
Erase data - successfully.
EDMA Program data - successfully.
IMX943-EVK
Hardware requirements
  • Micro USB cable

  • IMX943-EVK board

  • J-Link Debug Probe

  • 12V~20V power supply

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo
  1. Connect a USB cable between the host PC and the MCU-Link USB port on the target board.

  2. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

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

XSPI example started!
Vendor ID: 0x2c
Erasing Serial NOR over XSPI...
Erase data - successfully.
EDMA Program data - successfully.