AT32F435 QSPI qpi例程,运行在w25q系列芯片上数据偏移2个字节,
qspi_erase正常运行,但是写入,读出后就出现了偏差。
/* program */
qspi_data_write(0, TEST_SIZE, wbuf);
/* read */
qspi_data_read(0, TEST_SIZE, rbuf);
printf("%02X\n",rbuf[0]);
printf("%02X\n",rbuf[1]);
printf("%02X\n",rbuf[2]);
printf("%02X\n",rbuf[3]);
printf("%02X\n",rbuf[4]);
printf("%02X\n",rbuf[5]);
[20:41:37.706] FF
[20:41:37.706] 02
[20:41:37.706] 03
[20:41:37.706] 04
[20:41:37.706] 05
[20:41:37.706] 06
[20:41:37.706] 07
|