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.

CCS/TM4C129ENCPDT: Having trouble with interfacing SD card to Tiva C launch pad

Part Number: TM4C129ENCPDT

Tool/software: Code Composer Studio

In my project i am using tm4c129encpdt tiva launch pad, my aim is to interface an SD card and log my sensor data to a text file in SD card.

I have doubts with hoe can i create a text file in SD card and how can i write data to the text file with my launch pad. 

Please help, if any one can provide a sample code of related project i can use that code as my reference.

Thank you.

  • Hello Diljith,

    We have an SD Card example for the DK-TM4C129X and the board has an SD card port. This would be the best way to interface an SD card. For the LaunchPad you would need to interface the SD card with an adapter board. This would require additional software that we do not have available, so strongly recommend using the DK if you are looking for a simple solution.

    If you do try and interface with an adapter board, you would still want to reference the sd_card example from the DK board and port it to your LaunchPad. You would just need to modify the example to remove the graphic LCD and possibly adjust a couple GPIO configurations.