12. spi_flash_ddr_wr
12.1. Function description:
This demo is used to test QSPI erase/write/read flash model in flash ddr mode.
12.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.
12.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.