This command sends instruction to the SPI Flash. See SPI Flash data sheet for detailed command description.

Byte

Value

Description

1

0xAA

FLASH_WRITE_COMMAND command ID

2

Write length

Write command length

3

Read length

Read command length

From 4 to write length +3

command

Write command

From write length+4 to 64

-

Not used

Table 23: FLASH_WRITE_COMMAND Command Packet Layout.

Byte

Description

From 1 to read length

SPI Data Out sequence

From read length +1 to 64

Not used

Table 24: FLASH_WRITE_COMMAND Reply Packet Layout.