10. Spi_flash_3byte_addr

10.1. Function description:

This demo is used to test QSPI erase/write/read flash model in flash 3byte addr mode.

10.2. Test result:

If the data of QSPIn write to FLASH is equal to the data QSPIn read back from FLASH, print pass, if not print fail.

10.3. IO connection:

PAD

PAD

pad_qspin_sck

pad_flsah_sck

pad_qspin_cs

pad_flsah_cs

pad_qspin_dq0

pad_flsah_dq0

pad_qspin_dq1

pad_flsah_dq1

pad_qspin_dq2

pad_flsah_dq2

pad_qspin_dq3

pad_flsah_dq3

Note

The ‘n’ in “qspin” indicate the peripheral number.