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, "Don Williams" <donw@...> wrote:
>
> 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
> 

I think the original question concerned ssel pin when the LPC part is 
used as a slave. I don't think it is an issue of using pins that are 
not required by the application but which pins are needed.  I guess 
it would be possible to send data without any framing but I wouldn't 
want to rely on it.  How do you recover from a lost or extra clock 
pulse? 

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.