1.1.5.2.3 Configuring The Library

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

SST39 Driver with HEMC peripheral connected

drv_sst39_mhc_config_with_hemc

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

  • SST39 Base Address:

    • Specifies the SST39VF040 base address that is configured in the HEMC componnent for the connected chip select HEMC_CSx.

  • SST26 Erase Buffer Size:

    • This option appears only when the SST39 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_SST39_SectorErase