8.1.6 SPI Chip Erase

Perform a chip erase.

Table 8-11. SPI Chip Erase Command Format
FieldSizeDescription
SPI_CMD_CHIP_ERASE1 byteCommand ID
eraseDelay1 byteXML: eraseDelay. Delay (in ms) to ensure that the erase is finished
pollMethod1 byteXML: pollMethod. Poll method: 0 = use delay; 1= use RDY/BSY command
cmd11 byteCommand Byte # 1 to be transmitted
cmd21 byteCommand Byte # 2 to be transmitted
cmd31 byteCommand Byte # 3 to be transmitted
cmd41 byteCommand Byte # 4 to be transmitted

Response:

Table 8-12. SPI Chip Erase Response
FieldSizeDescription
SPI_CMD_CHIP_ERASE1 byteCommand ID
Status1 byte

SPI_STATUS_CMD_OK or

SPI_STATUS_CMD_TOUT