Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: SD card problem!

2005-05-10 by Sunil Jha

Thanks Clyde for your valuable feedback. It would be further great 
help to me if you can please let me know.. After Initializing in SPI 
Mode through CMD0 what would be the response value and what would be 
the command sequence for reading CID register or performing any 
Read/Write operation? Also is it required to pull-up MOSI and
MISO lines?

regards,
Sunil Jha

--- In lpc2000@yahoogroups.com, Clyde Stubbs <clyde@h...> wrote:
> On Sun, May 08, 2005 at 10:50:38AM -0000, Sunil Jha wrote:
> >    What should be the polarity and phase for SD memory card?
> 
> The clock line idle state is high, data is latched on the second
> (rising) edge.
> 
> Note that when the card is first accessed, the data output is open
> drain and requires a pullup - you must use a slow clock speed - the
> spec says 400kHz but I have found that even that is too fast for 
some
> cards - I use 200kHz. After initialization the output is push-pull 
and
> it will run at full speed (25MHz).
> 
> Clyde
> 
> -- 
> Clyde Stubbs                     |            HI-TECH Software
> Email: clyde@h...          |          Phone            Fax
> WWW:   http://www.htsoft.com/    | USA: (408) 490 2885  (408) 490 
2885
> PGP:   finger clyde@h...   | AUS: +61 7 3552 7777 +61 7 3552 7778
> -------------------------------------------------------------------
--------
> HI-TECH C: compiling the real world.

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.