Yahoo Groups archive

Lpc2000

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

Message

Re: [lpc2000] SPI/MMC example - anyone got this to work?

2006-03-16 by Tom Walsh

ah_sandiego wrote:

>This app note (2148) below shows how to use the SPI bus/mode to talk 
>to an SDIO card. I have cut and paste the example and it compiles 
>correctly, but when I run the program, it behaves the same, regardless 
>whether or not there is an SD card in. 
>
>The result is, it gets stuck waiting for a response that never comes, 
>and goes into its infinite while(1). 
>
>Has anyone got this to work? Can anyone post some code that works? 
>
>  
>
I guess they never fixed their code.  They had the same problem 4..5 
months ago with that appnote.

I have a msdos FAT filesystem you can download which uses an SD/MMC 
drive via SPI.  It is at:

http://www.openhardware.net/?title=RDCF2%20DOS%20FAT%20Filesystem%20for%20LPC2138&dir=rdcf2&file=rdcf2lpc2138.html

Enjoy!

TomW


-- 
Tom Walsh - WN3L - Embedded Systems Consultant
http://openhardware.net, http://cyberiansoftware.com
"Windows? No thanks, I have work to do..."
----------------------------------------------------

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.