Yahoo Groups archive

Lpc2000

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

Message

Re: [lpc2000] SPI Slave / SSEL0 using as GPIO ?

2006-04-26 by Don Williams

Herbert,
Hi There,
I do not believe the last advice you received is correct. When SPI is set
for "Master" the table 108 in UM for LPC2138 states  clearly that SSEL0 can
be used as a GPIO pin. Also I read its OK to use the clock edges which start
during a master transfer when set for either polarity to determine start and
end of transfer. I'm using a MAXII pld and simply writing out to a decoder
function in the PLD and generating my own SSEL0 for slave select - which is
what I understand the SSEL0 line to be used for.

However for us pin use concious scavengers the next question is why cant we
use the MISO as GPIO if we are only using MISI ??
Im not game to try that one.
This is design only - havent debugged that bit yet.

So if anyone states the data is incorrect please inform........

Rgds
DonW


----- Original Message ----- 
From: "Herbert Demmel" <dh2@...>
To: <lpc2000@yahoogroups.com>
Sent: Wednesday, April 26, 2006 7:08 PM
Subject: [lpc2000] SPI Slave / SSEL0 using as GPIO ?


> Hi all,
>
> I plan to use the LPC2138 or LPC2148 SPI (SCK0, MISO0, MOSI0) as a SPI
> slave only device. Is it possible to use SSEL0 for any other function
(e.g.
> PWM2) then or must SSEL0 tied to ground in any case when using the LPC as
> slave only device?
>
> Regards
> Herbert
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
>

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.