Hello,
I want to connect a SD card to the SSI0 port of the TM4C1294, but I don't know how to connect the CMD-pin to the SSI module. Is there a solution for that already, means a library that uses all 4 data pins in the SD-mode?
Best regards,
Thomas
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.
Hello,
I want to connect a SD card to the SSI0 port of the TM4C1294, but I don't know how to connect the CMD-pin to the SSI module. Is there a solution for that already, means a library that uses all 4 data pins in the SD-mode?
Best regards,
Thomas
Hi,
Please see the file (add it to your project) Tiva/third_party/fatfs/port/mmc-dk-tm4c129x.c - this contains all initialisations needed - started in function void power_on (void) where the SSIFSS is configured as GPIO as suggested by Amit and the frequency is set to 400KHz, standard for SD. The next function void set_max_speed(void) sets the speed at 12.5MHz. These are local functions.
Note you don't need to call these functions directly, they are called from mount()....dig a little bit into, not big pain.
Petrei