Yahoo Groups archive

Lpc2000

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

Message

Re: [lpc2000] LPC2148 and SD and Write Protect

2005-10-31 by Joel Winarske

Sean wrote:
>Does anyone know (or have any references) for code for connecting an SD 
>card
>to the LPC2148?  I've seen the olimex specs and I know that it's a basic 
>SPI
>interface, but I'm just wondering about any other actual documentation or
>code that uses this.

This is a pretty important document to have:
http://sandisk.com/pdf/oem/ProdManualSDCardv1.9.pdf

>From what I understand it's a simple basic switch, pins 10 and 14 get
>connected together when the switch is closed.  But if this is the case, why
>did olimex hardwire Vcc and Vss (via resistors) on this, why not just leave
>the pins unconnected?  If I wanted to use the WP capability, do I just
>connect one to pull-up'd Vcc, and the other to a GPIO on the LPC?

Yes the Write-Protect and Card Present are just simple switches implemented 
in the socket.  What current is running through the switches on the Olimex 
design? Depending on the current it may be there to help maintain oxidation. 
Just a thought.

Joel

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.