This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Mcspi往Flash写数据时,前1024Byte个数据读写不一致,但是后面的都对着呢,什么原因呢?

我使用EVM5517开发板,调试通了Mcspi口后,开始改程序,将一个文件写进flash,但是前1024Byte个数据写的和读的数据不一致,后面的数据读写一致了,写文件时每写256Byte个数据,然后把这256B的数据读出来,比较是否一致。最终结果有800Byte个不一致的数据,但是我在每256Byte数据读写时加个中断,前4个256不一样,第五个及以后就读写一致了。然后我又用例程测试,例程也不对了。什么原因呢?