- Wed Sep 25, 2013 3:18 pm
#163866
Okay, the next feature I need to implement on our card is support for an SD card. I've looked at ST's SSP examples, but they all just do loopback operations, and none of them say anything about dealing with an SD card. I'm assuming that if I call SSP_SendData() and SSP_ReceiveData(), that is going to simple read/write data... how do I interact with the command interface on the chip? On USB, this was a SCSI controller, or at least had a SCSI interface behind the USB interface, but SD is not USB... is it??
The reason I ask like that, is I found a STR9 SD card example in the IAR example code, but that code ultimately reduces the commands to USB code, and interacts with the 91x_usb.c module... that doesn't make any sense??
I also found lots of STM32 code which interacts with a SDIO module, but I suspect that this is an STM32 interface that the STR91x does not have.
Can anyone give me any hints on this??
The reason I ask like that, is I found a STR9 SD card example in the IAR example code, but that code ultimately reduces the commands to USB code, and interacts with the 91x_usb.c module... that doesn't make any sense??
I also found lots of STM32 code which interacts with a SDIO module, but I suspect that this is an STM32 interface that the STR91x does not have.
Can anyone give me any hints on this??