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.

TMS570LS1224: Launchpadxl2 SD card Issue

Part Number: TMS570LS1224
Other Parts Discussed in Thread: HALCOGEN

Hello everyone, 

I am currently attempting to configure communication with an SD card over SPI on my Hercules processor and I came across the following blog post:

https://community.element14.com/members-area/personalblogs/b/blog/posts/ti-hercules-launchpad-using-an-sd-card-part-1

I coulnd't download the link from the blog post, but I downloaded the library from another topic, the version is: "6428.RM48 HDK RevE SDCard Demo.zip"

I attached my project folder.

8054.SD_Card.zip

I build the file with only warnings, but could not figure out why it wount work...

My Board conection is:

SD Adapter -----> TMS570LS1224

CS ----------------> 3CS1 (J5 pin 18)
SDK --------------> 3CLK (J2 pin 7)
MOSI ------------> 3SOMI (J5 pin 14)
MISO ------------> 3SIMO (J5 pin 15)
VCC -------------> 3.3V (J2 pin 1)
GND ------------> GND (J3 pin 22)

Could someone help to make this work?

Thank you

  • Hi Guilherme,

    First, we will make sure to be correct SPI3 configurations on HALCoGen side.

    Actually, you are saying that you are using 3CS1 pin for SPI slave select.

    I will provide one working example for SPI3 communication, please take it as reference and do the necessary corrections.

    And also make sure to put all other pins to GPIO except the pins which are required for communication.

    5327.SPI_MASTER_TEST_LC4357.zip

    --

    Thanks & regards,
    Jagadish.