MSP430F5438 SD card using an SPI interface

僤鯓⒐⒋嵵緔 提交于 2019-12-11 12:05:59

问题


I want to connect an SD card using the SPI interface of MSP430F5438. The hardware part is correct in my design, however I could not send any data to the SD card. The source code I use is from Secure Digital Card Interface for the MSP430.

For debugging, how could I send data to the SD card? The data should be received from the ADC12MEM registers and just need to be written in the SD card. From this source code above, there is no process, when I debug and I could not send any user input to the SD card.


回答1:


The code in the linked PDF works only for SD cards <= 2 GB and not for SDHC cards (4 GB and bigger). If you can not find such a small card as full size SD, just use a microSD with an adapter - they are electrically the same.



来源:https://stackoverflow.com/questions/11984024/msp430f5438-sd-card-using-an-spi-interface

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!