1.1.13.1.3 Configuring The Library

The MX25L driver library should be configured through the MHC. The following figures show the MHC configuration window for the MX25L driver and brief description.

MX25L Driver with QSPI peripheral in SQI mode connected

drv_mx25l_mhc_config_with_qspi_sqi

MX25L Driver with connection to Memory Driver

drv_mx25l_mhc_config_with_drv_mem

Configuration Options

  • PLIB Used:

    • Specifies the Peripheral library connected

  • Number Of Clients:

    • Indicates maximum number of clients

    • Always set to one as it supports only a single client

  • MX25L 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_MX25L_GEOMETRY

  • MX25L Erase Buffer Size:

    • This option appears only when the MX25L 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_MX25L_SectorErase