1.27 SFDP Flash Driver - Flash Read Write in Quad IO Mode

This example application shows how to use the SFDP Flash driver to perform block operations on JEDEC-compliant NOR Flash memory in Quad IO mode.

Description

This application uses the SFDP driver to Erase/Write/Read on JEDEC-compliant NOR Flash memory using the QSPI or SQI peripheral library in Quad IO mode.

The application consists of APP_SFDP_Tasks() which is called through SYS_Tasks() routine.

Downloading and Building the Application

To clone or download this application from GitHub, go to the main page of this repository and then click Clone button to clone this repository or download as zip file.

Path of the application within the repository is apps/driver/sfdp/sfdp_sqi_read_write.

To build the application, refer to the following table and open the project using its IDE.

Project NameDescription
sam_e54_xpro.XMPLAB X project for SAM E54 Xplained Pro Evaluation Kit

Setting Up the Hardware

The following table shows the target hardware for the application projects.

Project NameDescription
sam_e54_xpro.XSAM E54 Xplained Pro Evaluation Kit

Setting Up SAM E54 Xplained Pro Evaluation Kit

  • Connect the Debug USB port on the board to the computer using a micro USB cable

Running the Application

  1. Build and program the application using its IDE.
  2. Reset the device by power cycle.
  3. LED is turned ON when the data read from JEDEC-compliant NOR Flash matches with the data written in it.
Refer to the following table for LED name: