Yahoo Groups archive

Lpc2000

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

Message

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

2006-04-26 by Herbert Demmel

At 15:02 26.04.2006 +0000, you wrote:
>--- 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?

Thank you all for your input.

Yes, Ian, you are right, I really forgot the framing issue, I just thought 
when being a slave, SSEL0 is held low all the time (one should think before 
writing ...)

Regards
Herbert

>Regards,
>Ian
>
>
>
>
>
>
>----------
>YAHOO! GROUPS LINKS
>
>    *  Visit your group "<http://groups.yahoo.com/group/lpc2000>lpc2000" 
> on the web.
>    *
>    *  To unsubscribe from this group, send an email to:
>    * 
> <mailto:lpc2000-unsubscribe@yahoogroups.com?subject=Unsubscribe>lpc2000-unsubscribe@yahoogroups.com 
>
>    *
>    *  Your use of Yahoo! Groups is subject to the 
> <http://docs.yahoo.com/info/terms/>Yahoo! Terms of Service.
>
>
>----------

----------------------------------------------------------
demmel products
Radnitzkygasse 43
A-1100 Vienna / Austria / Europe
Voice: +43-1-6894700-0
Fax: +43-1-6894700-40
Email: dh@...
WWW: http://www.demmel.com


[Non-text portions of this message have been removed]

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.