Yahoo Groups archive

Lpc2000

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

Message

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

Attachments

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.