This command sends instruction(s) (SPI command(s)) to the SPI Flash. See SPI Flash data sheet for detailed command description. See also here.

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

SPI command(s)

Write SPI command(s)

From write length+4 to 64

-

Not used

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

FLASH_WRITE_COMMAND Reply Packet Layout.


  • No labels