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.
I have been working on a project on data logging using TMS570LC4357.
I have found this code which I have attached to this blog. The problem I am facing is the code works fine with the in-built SD card but doesn't work with the externally mounted SD Card. I wanted to know what are default spi configurations of the SD card for the inbuilt SD card holder.
all other details about the sd card
Hi,
My understanding is that,
In built SD card holder means, the holder that comes with TI specific board, example below SD card holder on HDK board:
Externally mounted SD card holder means, you just used other SPI pins from the connectors on the board and connected a holder to that pins.
Am i correct about this understanding?
If yes, then can you please tell me more details about your connectivity? exactly which pins you used and if possible, screenshot of your external connectivity.
And also confirm whether you are using above type of HDK board only?
--
Thanks & regards,
Jagadish.
Hey
Yes, you are correct about the understanding of the externally mounted SD Card Holder and also we are using the above type of HDK board.
We have used the SPI2 port for communication between the Micro SD card module(this contains the information about the module we used above) and the Board. Below is the connection diagram between both of them i.e Micro SD card module and the HDK board
We tried implementing using the SPI2 port
Does this HDK board work for an externally mounted Micro SD card?
If yes, Can we use SPI2 for that?
If not which SPI port can we use?
Hi,
The in-built SD card also using SPI2 only, right?
If in-built SD card using SPI2 then why you again trying to connect to SPI2 externally?
Does this HDK board work for an externally mounted Micro SD card?
If yes, Can we use SPI2 for that?
If not which SPI port can we use?
But again, still it should not be any issue, as we are trying to use same SPI should not require to do any additional changes as well.
The only thing should be make sure the connections were proper.
--
Thanks & regards,
Jagadish.
This is not working for us. The connections are proper. How can we resolve this issue?
We tried using a logic analyzer. The waveforms were consistent with what we were hoping to get, but as soon as we connec the SD card in the external SD card slot. The CS pin was seen to be always low. Is this a driving issue from the TMS part?
Should we try using SPI 3?
HI Varikoti,
CS connected to which pin? is it connected to the second pin of the Micro SD slot?
Can you share your schematic?
--
Thanks & regards,
Jagadish.
Hi
I wanted to know if we can make SD card work with SPI 3 and if you have any sample code for it.
Thanks
Hi,
I wanted to know if we can make SD card work with SPI 3 and if you have any sample code for it.
Unfortunately, we don't have any example for SD card on SPI3. We do have only on SPI2.
--
Thanks & regards,
Jagadish.