Write Data Command Sequence - 3.2 English

PG153 AXI Quad SPI Product Guide

Document ID
PG153
Release Date
2022-04-26
Version
3.2 English

1.Reset RX and TX FIFOs through SPICR.

2.Issue the write data command(1) (2) into SPIDTR, to write data into any specific sector followed by the flash sector address.

3.Fill SPIDTR with the data to be written to flash; the maximum data size depends upon the configured QSPI FIFO size.

4.Issue chip select by writing 0x00 to SPISSR.

5.Enable master transaction by deasserting the SPICR master inhibit bit.

6.Deassert chip select by writing 0x01 to SPISSR.

7.Disable master transaction by asserting the SPICR master inhibit bit.