Yahoo Groups archive

Lpc2000

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

Message

Re: Problems with using SPI

2004-10-12 by johnnorgaard2003

Hi Robert

Ohh, I see. The SSEL in only a input to the LPC2106 to act as a slave
or master. Not to select an external slave device.
For selecting external device I have to use another I/O Pin.
Thanks Robert.

Best regards

John

--- In lpc2000@yahoogroups.com, Robert Adsett <subscriptions@a...> wrote:
> At 11:47 AM 10/12/04 +0000, you wrote:
> >Ok I now have pull-up on SSEL pin. But how do I control it. Setting it
> >low when selecting the device ?
> >IOSET and IOCLR have no effect when any pin in configured as secondary
> >function(user manual p.82)
> You can't.  When using the SPI if SSEL goes low the microcontroller
acts as 
> a slave.  To select an external device you must use another pin.
> 
> Robert
> 
> " 'Freedom' has no meaning of itself.  There are always restrictions,
> be they legal, genetic, or physical.  If you don't believe me, try to
> chew a radio signal. "
> 
>                          Kelvin Throop, III

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.