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.

MSP430F5242: I am currently using the MSP430F5242 to read/write SD cards via SPI.

Part Number: MSP430F5242

Hi,

Good Day. I have a customer who is working with MSP430F5242. Please see below his query for your reference. Thank you very much.

I am currently using the MSP430F5242 to read/write SD cards via SPI. I am also using FatFs - FAT file system software. Currently I can only work with 2GB or less sized SD cards. 1GB is the largest most reliable SD card for read/write. I would like to be able to access larger SD or SDHC cards as it is getting harder to find 1GB MicroSD cards. I also want to keep the micro in the price range of the MSP430F5242 if possible. I have done a lot of searching on your website to try and find information pertaining to my needs but am not having much luck. Would you be able to point me in the correct direction or reference specific  technical documents that would help me solve this problem?

Best Regards,

Ray Vincent

  • The newer SD cards made a slight change to the addressing (block number rather than byte address) which extended their capacity. You have to make slight changes to how addresses are handled and fix up the initialization so you can recognize these cards. All of the information required is in the SD specification. (Or at least the simplified version that you can get for free.) My latest code for that is in Forth (worse is that it is Forth in the form of assembly source) so may be harder to follow.