Yahoo Groups archive

Lpc2000

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

Message

Re: SPI Slave / SSEL0 using as GPIO ?

2006-04-26 by ian.scanlon

--- In lpc2000@yahoogroups.com, Herbert Demmel <dh2@...> wrote:
>
> 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
>

Herbert,
You need the SSELx pin in slave mode to start and stop each transfer, 
otherwise the SPI port wouldn't know where the data starts and stops. 
It needs to be operational, just holding it low (don't directly ground 
gpio pins anyway) won't work. See UM section 12.

Regards,
Ian

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.