Forums

problem SPI interface for sd care

Started by saidaiy March 25, 2007
i have a problem about read and write from sd card by lpc2119 with spi
interface. although there are some sample code about that in the file
section, i can't fully understand those code. can anyone provide me
some website or book for learning about that .

An Engineer's Guide to the LPC2100 Series

--- In l..., "saidaiy" wrote:
>
> i have a problem about read and write from sd card by lpc2119 with spi
> interface. although there are some sample code about that in the file
> section, i can't fully understand those code. can anyone provide me
> some website or book for learning about that .
>

Have a look at this great resource. There is a link right at the very
bottom of the page on how to use SD & MMC cards. There is some good
example code for the AVR, which takes a couple hours to totally port
over to ARM7 (if you don't have an SPI driver already). It's worth
porting over as it gives you handles into every aspect of the file
system. From there, you can verify how things work, and re-write your
own handles.
--- In l..., "saidaiy" wrote:
>
> i have a problem about read and write from sd card by lpc2119 with spi
> interface. although there are some sample code about that in the file
> section, i can't fully understand those code. can anyone provide me
> some website or book for learning about that .
>

Let me try that again :-)
http://elm-chan.org/fsw/ff/00index_e.html
--- In l..., "Darcy Williams" wrote:
>
> --- In l..., "saidaiy" wrote:
> >
> > i have a problem about read and write from sd card by lpc2119 with
spi
> > interface. although there are some sample code about that in the
file
> > section, i can't fully understand those code. can anyone provide me
> > some website or book for learning about that .
> > Let me try that again :-)
> http://elm-chan.org/fsw/ff/00index_e.html
>

It is very helpful for me, thanks alot Darcy Williams ^^