8.1.8 SPI Read Flash

Reads data from flash memory using SPI programming.

Table 8-16. SPI Read Flash Command Format
FieldSizeDescription
SPI_CMD_READ_FLASH1 byteCommand ID
NumBytes2 byteTotal number of bytes to read, MSB first
cmd11 byte

Read Program Memory command byte #1.

Low/high byte selection bit (bit 3) is handled by firmware.

Response:

Table 8-17. SPI Read Flash Response
FieldSizeDescription
SPI_CMD_READ_FLASH1 byteCommand ID
Status11 byteSPI_STATUS_CMD_OK
Datan bytesData read from flash
Status1 byte

SPI_STATUS_CMD_OK or

SPI_STATUS_RDY_BSY_TOUT