QSPI (Queued SPI) is an extension of the SPI interface, which is more extensive than SPI
applications. The RTOS implements a QSPI driver that supports read, write, and erase
operations on the QSPI flash. The system also includes a test program that can perform
read and write operations on the QSPI flash device on the VF2 board. The source code for
this program is located at
rtthread/bsp/starfive/jh7110/applications/qspi_test.c.
The test program below demonstrates how to use the driver interface to access the flash
device.Figure 1. QSPI Test Case
Test result: Read the SPI Flash ID and perform erase, write, and read operations. Compare
the written data and read data to ensure consistency.