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/RM48L952: uSD with SPI

Part Number: RM48L952
Other Parts Discussed in Thread: HALCOGEN,

Tool/software: Code Composer Studio

Hello,

My current setup:

- HALCoGen 4.07

- CCSv7

- RM48L952ZWT

I am currently trying to store data to a uSD card (FAT32) using SPI. I have managed to get SPI communications to work between SPI1 and SPI2, so now I just need to figure out how to send data from one of the SPI registers to the uSD card. I honestly have no idea how to accomplish this with software. I have read a variety of things. The most recent information I have read states that I should connect MISO and CS, set them both to a logic 1, and toggle the SD clock for 'x' number of cycles; once the cycles have occurred, my software should set the CS line to 0 and send the command CMD0. I am not too sure if this is the correct way to go about it; and if it is, how is this accomplished in software? (I'm not really sure what it meant by 'toggle the SD CLK for 'x' number of cycles)

Thank you for your time and consideration,

Calvin Wallen IV