1.1.8 SFDP Driver

1.1.8 Overview

The Serial Flash Discoverable Parameters (SFDP) driver provides a non-blocking interface to read, write, and erase JEDEC-compliant NOR Flash memory devices using SFDP for runtime discovery of Flash characteristics.

The driver uses the below peripheral library to interface with the SFDP Flash:

  • QSPI Peripheral Library
    • Supports both SPI mode and Quad IO mode
  • SPI Peripheral Library
    • Supports only SPI mode
  • SQI Peripheral Library
    • Supports Quad Lane mode and Single Lane mode

1.1.8 Key Features

  • JEDEC Compliance: Supports multiple variants of JEDEC-compliant Flash devices
  • Runtime Discovery: Discovers Flash parameters automatically using SFDP (JESD216)
  • Single Instance: Supports a single instance of SFDP Flash and a single client to the driver
  • Erase Operations: Supports Sector/Bulk/Chip Erase Operations
  • Random Address Writes: Supports writes to random memory address within page boundaries
  • Quad Mode Support: Automatically enables Quad IO mode if supported by the device
  • Block Media Interface: The library interface is compliant to the block media interface expected by the Memory Driver, allowing running a file system on the Flash using the Memory Driver and File System Service
  • Multi-Environment: Can be used in both Bare-Metal and RTOS environments

1.1.8 Device Support

The SFDP driver works with any JEDEC-compliant NOR Flash device that supports SFDP discovery. Device parameters are discovered at runtime, eliminating the need for device-specific initialization code.

Common supported devices include:

  • Microchip SST26 series (SFDP enabled)
  • Industry-standard JEDEC devices with SFDP support
  • Custom devices with SFDP descriptor tables