1.7 SST26 Flash Driver - Flash Read Write in SPI Mode
This example application shows how to use the SST26 driver to perform block operations on the On-Board SST26 Flash memory in SPI mode.
Description
This application uses the SST26 driver to Erase/Write/Read on the On-Board SST26 Flash memory using the SPI peripheral library.
The application consists of APP_SST26_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/sqi_flash/sst26/sst26_spi_read_write.
To build the application, refer to the following table and open the project using its IDE.
Project Name | Description |
---|---|
pic32ak_gc_curiosity.X | MPLABX project for Curiosity Platform Development Board and PIC32AK1216GC41064 General Purpose Dual In-Line Module (DIM) |
Setting Up the Hardware
The following table shows the target hardware for the application projects.
Project Name | Description |
---|---|
pic32ak_gc_curiosity.X | Curiosity Platform Development Board and PIC32AK1216GC41064 General Purpose Dual In-Line Module (DIM) |
Setting Up Curiosity Development Board
- Insert the GP DIM on to DIM slot of Curiosity Board
- Connect the PKoB (J24) on the board to the computer using a USB type-C cable
Running the Application
- Build and program the application using its IDE
- Reset the device by power cycle
- LED is turned ON when the data read from SST26 flash matches with the data written in it