Skip to main content
Visitor II
January 7, 2008
Question

BSPI driver for the str71 to asscess the SD card

  • January 7, 2008
  • 2 replies
  • 731 views
Posted on January 07, 2008 at 08:02

BSPI driver for the str71 to asscess the SD card

    This topic has been closed for replies.

    2 replies

    Visitor II
    November 7, 2007
    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

    Visitor II
    January 7, 2008
    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.