Yahoo Groups archive

Lpc2000

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

Thread

LPC214x as an SD device controller

LPC214x as an SD device controller

2005-11-03 by kukbelz

Dear LPC2000 group and Philips,

Keils's MCB2140 Eval. Board demonstrates the use of the LPC214x as an 
SD host controller. 

On the other hand would it be possible to use the LPC214x as an SD 
device controller implementing SPI, 1-bit and 4-bit SD data transfer 
modes as they are defined in the SD Card specifications ?

In this case what level of performance (clock speed) is achievable ?

Thank you.

Michel Kuenemann

Re: [lpc2000] LPC214x as an SD device controller

2005-11-03 by Joel Winarske

> On the other hand would it be possible to use the LPC214x as an SD
> device controller implementing SPI, 1-bit and 4-bit SD data transfer
> modes as they are defined in the SD Card specifications ?

SD 1-bit SPI mode can be implemented at the max SD speed, of course 
dependent on your peripheral clk speed setting.  You would need to bit bang 
the 4-bit mode.  There are some Fast GPIO registers implemented that make 
bit banging more manageable than the standard GPIO.  Using Fast GPIO you can 
toggle a pin in the neighborhood of 15.38MHz.  SPI0 has no FIFO, SPI1/SSP 
has two seperate 8 byte FIFOs for rx and tx.  Be sure to examine the LPC214x 
user manual.

Joel

Re: [lpc2000] LPC214x as an SD device controller

2005-11-03 by Matthias Hertel

Is there a special reason, why you want to do this? 
Using the SPI does not consume that much CPU time, and is quite fast.
As long as you do not want to use SDIO cards, I see no real reason using the 
SD specific transfer modes.

Matthias
Show quoted textHide quoted text
On Thursday 03 November 2005 00:43, kukbelz wrote:
> Dear LPC2000 group and Philips,
>
>  Keils's MCB2140 Eval. Board demonstrates the use of the LPC214x as an
>  SD host controller.
>
>  On the other hand would it be possible to use the LPC214x as an SD
>  device controller implementing SPI, 1-bit and 4-bit SD data transfer
>  modes as they are defined in the SD Card specifications ?
>
>  In this case what level of performance (clock speed) is achievable ?
>
>  Thank you.
>
>  Michel Kuenemann
>
>
>
>
>
>
> YAHOO! GROUPS LINKS
>
>
>  Visit your group "lpc2000" on the web.
>  
>  To unsubscribe from this group, send an email to:
>  lpc2000-unsubscribe@yahoogroups.com
>  
>  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

Re: LPC214x as an SD device controller

2005-11-04 by kukbelz

Hi Matthias,

My project is to design a new SDIO card dedicated to a professional 
mobility application on PDA's. This card should work on any PDA brand 
under any OS. Of course the SPI data transfer mode seems the simplest 
way to use a "standard" micro instead of a dedicated SD/SDIO 
controller (like C-Guys' CG100 or Arasan's AC21C00)

Unfortunately, it seems as if SPI is not always supported by the 
device driver development kits on the host side. 1-bit and 4-bit 
modes are always supported. It looks as if the SPI mode would getting 
obsolete. Am I right ?

Regard,

Michel Kuenemann

--- In lpc2000@yahoogroups.com, Matthias Hertel 
<matthias.hertel@w...> wrote:
>
> Is there a special reason, why you want to do this? 
> Using the SPI does not consume that much CPU time, and is quite 
fast.
> As long as you do not want to use SDIO cards, I see no real reason 
using the 
> SD specific transfer modes.
> 
> Matthias
> 
> On Thursday 03 November 2005 00:43, kukbelz wrote:
> > Dear LPC2000 group and Philips,
> >
> >  Keils's MCB2140 Eval. Board demonstrates the use of the LPC214x 
as an
> >  SD host controller.
> >
> >  On the other hand would it be possible to use the LPC214x as an 
SD
> >  device controller implementing SPI, 1-bit and 4-bit SD data 
transfer
> >  modes as they are defined in the SD Card specifications ?
> >
> >  In this case what level of performance (clock speed) is 
achievable ?
> >
> >  Thank you.
> >
> >  Michel Kuenemann
> >
> >
> >
> >
> >
> >
> > YAHOO! GROUPS LINKS
> >
> >
> >  Visit your group "lpc2000" on the web.
> >  
> >  To unsubscribe from this group, send an email to:
> >  lpc2000-unsubscribe@yahoogroups.com
> >  
> >  Your use of Yahoo! Groups is subject to the Yahoo! Terms of 
Service.
>

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.