Yahoo Groups archive

Lpc2000

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

Message

LPC2148 and SD and Write Protect

2005-10-31 by seangra

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.

Additionally how does the write protect circuit function?  I haven't 
been able to find any documentation or specification that tells me how 
the write protect circuit functions.  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?

Thanks for any help.

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.