interfacing of SD card to LPC2148

Can you please tell me how to interface micro SD card to LPC2148…?

What are the necessary pins to be connected to micro SD card ?

My application is to save save the real time pictures or video on micro SD card using LPC2148…Is it possible …???

If yes then tell me the exact way to do it.

Hi,

yes the lpc2148 can handel SD/MMC cards, you have to give a look to the NXP documentation for configuration and pin assignment. we can’t explain to you how to do it you have to give it a start and seek for help if you have problems with your code.

look at the lpc2000 yahoo group there is some examples on how to use SD/MMC cards with the lpc2xxx

http://tech.groups.yahoo.com/group/lpc2 … es/MMC-SD/

you can adapt the code to fit your hardware and needs.

hope it helps

Z. Nakrachi

mayur taware:
My application is to save save the real time pictures or video on micro SD card using LPC2148…Is it possible …???

While the LPC2148 can store data on a uSD, the write speed will be rather low, usually < 150KB/s, so you will be able to store images/video in realtime only at a very low resolution.

can you please provide me some more details to store videos videos on uSD card??

Pins of LPC2148 to be connected to SD card etc. ??

The easiest way to connect an sdcard is through the SPI port. You can have a look at LPC2148 evaluation kits for “inspiration” on how to connect the card to the LPC2148 SPI port. One thing to keep in mind is that that the LPC2148 has two SPI ports (SPI0 and SPI1). The SPI1 port can be clocked much faster (max 1/2 of processor speed IIRC) than SPI0 (max 1/8 of processor speed IIRC) plus it has a FIFO for better throughput.