EmbeddedRelated.com
Forums

Interfacing LPC2148 with SD Card - EFSL (is an LPC2138 == LPC2148+USB?)

Started by Gaspar Pollano March 8, 2008
Hi forum!

Im dealing with the implementation of "efsl Demo-Application for
Philips LPC2138 ARM7TDMI-S" from Martin Thomas in a LPC2148 Olimex
DevKit. (For those who dont know, is an example for using SPI/SSP
port on the LPC for interfacing an SD/MMC with a FAT file system)
found it here: http://www.siwawi.arubi.uni-kl.de/avr_projects.

There is anybody outhere that have success with an LPC2148?. Reading
the NXP's Selection Guide Card, i found that LPC2148 is a LPC2138
plus USB, so, there are any BIG changes to do? I already re-map the
pins for leds and other stuff.

Im using Yagarto (Eclipse+OpenOCD+gcc), instead of WinARM. The DevKit
is an Olimex LPC-P2148. I choose to use the SSP (SPI1) and will
interface with 1Gb SD cards.

I will apreciate any suggestion and previous experiences.
Thanks in advance,

Gaspar

An Engineer's Guide to the LPC2100 Series

> -----Original Message-----
> From: l...
> [mailto:l...]On Behalf
> Of Gaspar Pollano
> Sent: Saturday, March 08, 2008 2:10 PM
> To: l...
> Subject: [lpc2000] Interfacing LPC2148 with SD Card - EFSL (is an
> LPC2138 == LPC2148+USB?)
> Hi forum!
>
> Im dealing with the implementation of "efsl Demo-Application for
> Philips LPC2138 ARM7TDMI-S" from Martin Thomas in a LPC2148 Olimex
> DevKit. (For those who dont know, is an example for using SPI/SSP
> port on the LPC for interfacing an SD/MMC with a FAT file system)
> found it here: http://www.siwawi.arubi.uni-kl.de/avr_projects.
>
> There is anybody outhere that have success with an LPC2148?. Reading
> the NXP's Selection Guide Card, i found that LPC2148 is a LPC2138
> plus USB, so, there are any BIG changes to do? I already re-map the
> pins for leds and other stuff.
>
> Im using Yagarto (Eclipse+OpenOCD+gcc), instead of WinARM. The DevKit
> is an Olimex LPC-P2148. I choose to use the SSP (SPI1) and will
> interface with 1Gb SD cards.
>
> I will apreciate any suggestion and previous experiences.
> Thanks in advance,
>
> Gaspar
>

I can confirm that EFSL works fine on an LPC2148. You can enable the
FIFO on the SSP if you are using one of the more recent builds of EFSL,
and it will speed up the transfer rates by a significant amount (I
contributed the FIFO code). Martin's site has the most recent EFSL
build.

You can also use LPCUSB if you want to access the SD card via the USB
port.

Good luck,
Mike Anton
>> There is anybody outhere that have success with an LPC2148?. Reading
>> the NXP's Selection Guide Card, i found that LPC2148 is a LPC2138

Yes, it rocks with LPC2136 also in my case.

Warm Regards,

Mukund Deshmukh,
Beta Computronics Pvt Ltd.
10/1 IT Park, Parsodi,
Nagpur -440022 India.
Web site - http://betacomp.com

MEET US AT,

Chinaplas 2008, Shanghai, China.
Hall E3, Booth P49