3.16 QSPI Serial Flash

The PIC32-BZ6 Curiosity Board has an on-board 64-Mb, 2.3–3.6V Serial Quad I/O (SQI) Flash (SST26VF064B-104I/MF) (U801) memory for data storage. By default, the SST26VF064B-104I/MF at power-up enables the Write Protect (WP) and HOLD pins and disables the SIO2 and SIO3 pins, allowing for SPI protocol operations without register configuration. Register configuration is required to switch to Quad I/O operation with QSPI. For example application, refer to the QSPI Flash Read Write section in the MPLAB® Harmony 3 Peripheral Library Application Examples for PIC32CX-BZ6 and PIC32WM-BZ6204 Family.

Table 3-17. QSPI Flash Pin Description
QSPI FlashPin on PIC32WM-BZ6204UE ModuleDescription
CEPB13, QSPI_CSQSPI chip select
SO/SIO1PB12, QSPI_DATA1QSPI data channel 1
WP/SIO2PB11, QSPI_DATA2QSPI data channel 2
VSSGNDGround
SI/SIO0PA0, QSPI_DATA0QSPI data channel 0
SCKPA1, QSPI_SCKQSPI clock
HOLD/SIO3PA2, QSPI_DATA3QSPI data channel 3
VDDVDDVDD
Note: QSPI function is not enabled by default on the PIC32-BZ6 Curiosity Board and is shared with other functions. To use QSPI Flash, mount 0Ω series resistors R739, R742, R744, R746, R749, and R752.