Yahoo Groups archive

Lpc2000

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

Thread

MBC2140 SD/MMC example code?

MBC2140 SD/MMC example code?

2005-08-26 by Frits

Hi Guys,

The MBC2140 has an SD/MMC slot which is handled by the SSP controller.

Does any one have some example code for using the SSP controller in 
SPI mode for LPC2148?

There are examples for using the MBC2140 as a HID device or as a mass 
storage device which work great. But it would be nice to use any 
SD/MMC card as a mass storage device.

Thanks,

Frits

Re: MBC2140 SD/MMC example code?

2005-08-26 by szemzoandras

http://www.ulrichradig.de/site/arm_projekts/mmc_sd/index.htm

sa@m

--- In lpc2000@yahoogroups.com, "Frits" <fhi1234@g...> wrote:
Show quoted textHide quoted text
> Hi Guys,
> 
> The MBC2140 has an SD/MMC slot which is handled by the SSP controller.
> 
> Does any one have some example code for using the SSP controller in 
> SPI mode for LPC2148?
> 
> There are examples for using the MBC2140 as a HID device or as a mass 
> storage device which work great. But it would be nice to use any 
> SD/MMC card as a mass storage device.
> 
> Thanks,
> 
> Frits

Re: MBC2140 SD/MMC example code?

2005-08-28 by Frits

Thanks. I've checked it out and this example shows the bit banging 
method and shows how to use the SPI0. But there is no example of how 
to use the SPP controller (SPI1).

--- In lpc2000@yahoogroups.com, "szemzoandras" <a.szemzo@k...> wrote:
> 
> http://www.ulrichradig.de/site/arm_projekts/mmc_sd/index.htm
> 
> sa@m
> 
> --- In lpc2000@yahoogroups.com, "Frits" <fhi1234@g...> wrote:
> > Hi Guys,
> > 
> > The MBC2140 has an SD/MMC slot which is handled by the SSP 
controller.
> > 
> > Does any one have some example code for using the SSP controller 
in 
> > SPI mode for LPC2148?
> > 
> > There are examples for using the MBC2140 as a HID device or as a 
mass 
Show quoted textHide quoted text
> > storage device which work great. But it would be nice to use any 
> > SD/MMC card as a mass storage device.
> > 
> > Thanks,
> > 
> > Frits

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.