1.1.5.1.3 Configuring The Library

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

SST38 Driver with HEMC peripheral connected

drv_sst38_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

  • SST38 Base Address:

    • Specifies the SST38VF6401 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 SST38 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_SST38_SectorErase