AN 981: Using Generic QSPI Flash on SDM Devices

ID 778053
Date 7/02/2024
Public

3.6. SFDP Parameters

The SDM firmware reads the SFDP table from QSPI flash device to setup the QSPI controller and the flash registers to correctly access the flash device. The information in this section lists out the parameters read by the SDM firmware. You need to make sure the SFDP table of the QSPI flash device has these parameters available and matches to at least one of the supported bitmasks listed in the following table.

The DWORD in the following table refers to the JEDEC Basic Flash Parameter Table. Refer to the Serial Flash Discoverable Parameters (SFDP) on jedec.org website for further details.

Table 2.  DWORD in Flash Parameter Table Read by SDM Firmware
Field Description DWORD [bits] Supported Bitmask
Write enable instruction select Write enable instruction select for writing to volatile status register 1st[4] N/A
Volatile status register Volatile status register block protect bits 1st[3] N/A
Address bytes Support 3-byte or 4-byte addressing, or both 1st[18:17] N/A
Flash size Flash memory density 2nd[31:0] N/A
4-4-4 fast read supported Support (4-4-4) fast read 5th[4] N/A
4-4-4 fast read instruction (4-4-4) fast read instruction 7th[31:24] N/A
4-4-4 fast read mode clock (4-4-4) fast read number of mode clocks 7th[23:21] N/A
4-4-4 fast read dummy clocks (4-4-4) fast read number of wait states (dummy clocks) needed before valid output 7th[20:16] N/A
Erase type Erase type 8th and 9th N/A
Erase time, typical Erase typical time associated to each erase type 10th N/A
Page size Page size 11th[7:4] N/A
Status register polling device busy Status register polling device busy 14th[7:2]

xx_xxx1’b

xx_xx1x’b

4-4-4 mode enable sequence 4-4-4 mode enable sequence 15th[8:4]

x_xx1x’b

x_x1xx’b

x_1xxx’b

1_xxxx’b

Enter 4-byte addressing Enter 4-byte addressing 16th[31:24]

xxxx_xxx1'b

xxxx_xx1x'b

xxx1_xxxx'b

x1xx_xxxx'b

Soft reset and rescue support Soft reset and rescue sequence support 16th[13:8]

xx_1xxx'b

x1_xxxx'b