1.1.13.3.3 Configuring The Library
The W25 driver library should be configured through the MCC. The following figures show the MCC configuration window for the W25 driver and brief description.
W25 Driver with QMSPI peripheral in SQI mode connected
W25 Driver with connection to Memory Driver
Configuration Options
PLIB Used:
Specifies the Peripheral library connected
W25 Protocol Used:
Specifies the protocol used to interface with PLIB by the W25 driver
Number Of Clients:
Indicates maximum number of clients
Always set to one as it supports only a single client
W25 Start Address:
Specifies the flash memory start address to be used for Transfer operations
The start address will be populated in the device geometry table DRV_W25_GEOMETRY
W25 Erase Buffer Size:
This option appears only when the W25 driver is connected to the Memory driver for block operations
Specifies the size for erase buffer used by Memory driver
The size of the buffer should be equal to erase sector size as the memory driver will call DRV_W25_SectorErase