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.

为什么一样的SPI代码,传输效果不一样?

问题一:多次验证可以正常SPI通信的代码,备份后,未对代码进行任何改动,到另外的电脑上运行,发现只能打印前10个字节是什么原因?

问题二:多次验证可以正常SPI通信的代码,备份后,未对代码进行任何改动,同一台电脑,第一天运行通信正常,第二天运行只能打印前10个字节,期间未对代码做任何改动,接线也正常没做任何改动,硬件环境也没做改动,为什么会这样?