cancel
Showing results for 
Search instead for 
Did you mean: 

BSPI driver for the str71 to asscess the SD card

virtualashok
Associate II
Posted on January 07, 2008 at 08:02

BSPI driver for the str71 to asscess the SD card

2 REPLIES 2
virtualashok
Associate II
Posted on November 07, 2007 at 11:37

Hi Guys,

I am trying to implement the elfs file system for the str71.I have aproblem with the spi interface with the SD card.I have configured my BSPI1 as follows

MOSI,MISO,SCLK as alternate function pushpull

we use seperate CS pin for the slave select.

SSN pin is alwasy asserted high.

I followed the spec for initializing the sd card.

1) 74 clck

2) command

3) access the response 01 to reset the card to enter the SPI mode.

i could not abel to receive the response. any kind of help on th espi part would be greatfull.

Thanks

avelez
Associate II
Posted on January 07, 2008 at 08:02

First of all. The minimum clock sync is 78 bits, so it's better to issue 10 clock bytes.

After that, I've been experiencing with several SD cards and I notice that some of them simply ''don't want'' to enter in SPI mode. I recommend you the Transcend and Kingston SD cards.