Yahoo Groups archive

Lpc2000

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

Message

Re: [lpc2000] General SPI Question

2006-01-27 by Sean

Jeff:

In the LPC manual (at least for the 2148) it says that the clock speed 
register is unused when you are operating in slave mode -- the incoming 
clock signal is used to latch the data.

-- Sean

At 07:03 PM 1/26/2006, you wrote:
>Hello,
>This is more of a general question regarding using the SPI peripherals
>with the LPC2000 chips.  I'm somewhat new to this form of serial
>communications, so sorry for boring all you pros out there.  I'm
>developing with the LPC2220 chip, and am actually using the SSP
>peripheral, which, for all intents and purposes works just like an
>SPI, but with a few extra options.
>
>My question is, if you're running the processor's SPI in slave mode,
>do you still have to set up your clock speed in the SPI registers to
>match the SCLK speed that the external master is giving?  Or does the
>external SCLK pretty much just clock in everything into the
>processor's SPI data registers for you and you don't have to worry
>about the SCLK speed (on the processor side)?
>
>Thanks so much in advance for your help.
>Jeff.

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.