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.

msp430G2553硬件SPI对SD卡读写问题

老师您好,我用G2553和扩展板在运行G2例程11_SD_Hard_or_Soft_SPI的时候,用软件SPI的方式可以对SD卡进行读写,但是如果开启SPI.h中的 #define HARD_SPI ,注释掉//#define SOFT_SPI  ;程序虽然可以编译通过,但是不能对SD卡进行读写。

是因为需要进行grace配置吗?还是例程有些问题?感谢老师指导!

11_SD_Hard_or_Soft_SPI.zip