1.21 Memory Driver Synchronous - NVM SST26 Read Write
This example application shows how to use the Memory driver in synchronous mode to perform block operations on the NVM and the SST26 media’s.
Description
- Uses multi instances of the Memory driver to communicate with the NVM and the SST26 Flash memories in synchronous mode of operation in RTOS Environment.
- Performs block Erase/Write/Read operations on both the media’s
- Consists of three tasks which are called in the RTOS thread context:
- APP_SST26_Tasks():
- Performs operations on the SST26 QSPI/SQI Flash Memory
- APP_NVM_Tasks():
- Performs operations on the NVM
- APP_MONITOR_Tasks():
- Monitors the state of above two Tasks
- APP_SST26_Tasks():
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. This content can also be downloaded using content manager by following these instructions.
Path of the application within the repository is apps/driver/memory/sync/nvm_sst26_read_write/firmware.
To build the application, refer to the following table and open the project using its IDE.
Project Name | Description |
---|---|
pic32cz_ca70_curiosity_ultra_freertos.X | MPLABX project for PIC32CZ CA70 Curiosity Ultra Development Kit |
Setting Up the Hardware
The following table shows the target hardware for the application projects.
Project Name | Description |
---|---|
pic32cz_ca70_curiosity_ultra_freertos.X | MPLABX project for PIC32CZ CA70 Curiosity Ultra Development Kit |
Setting Up PIC32CZ CA70 Curiosity Ultra Development Kit
- Connect the Debug USB port on the board to the computer using a micro USB cable
Running the Application
- Build and program the application using its IDE
- The LED blinks when the data read from each media matches with the data written in them
Board | LED Name |
---|---|
PIC32CZ CA70 Curiosity Ultra Development Kit | LED1 |