Yahoo Groups archive

Lpc2000

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

Thread

LPC210x SPI

LPC210x SPI

2004-05-15 by Milos Prokic

Hi everyone,

I'm trying to get the SPI module to work. The description seems very
straight forward, but for some reason I'm not getting any activity on the
SCK pin nor on the MOSI. 

Do I have to have SSEL also "selected" through the PINSEL block? The chip
will always be a master, hence I never need to change modes. But I have to
say that the doc is a bit fishy about that.

I was wondering if anyone has simple example of the SPI code just to compare
it with whatever I have.

Thanks in advance,

m.

RE: [lpc2000] LPC210x SPI

2004-05-15 by Milos Prokic

Hi,

I was able to get it to work once I put the SSEL to High. is there a
possibility to get the SPI to work without having the SSEL signal. The
amount of pins is limited and wasting one of the pins like that is just not
an option.

Thanks a million,

m.

 

  _____  
Show quoted textHide quoted text
From: Milos Prokic [mailto:milos.prokic@...] 
Sent: Saturday, May 15, 2004 7:25 PM
To: lpc2000@yahoogroups.com
Subject: [lpc2000] LPC210x SPI

 

Hi everyone,

I'm trying to get the SPI module to work. The description seems very
straight forward, but for some reason I'm not getting any activity on the
SCK pin nor on the MOSI. 

Do I have to have SSEL also "selected" through the PINSEL block? The chip
will always be a master, hence I never need to change modes. But I have to
say that the doc is a bit fishy about that.

I was wondering if anyone has simple example of the SPI code just to compare
it with whatever I have.

Thanks in advance,

m.

 

 






Yahoo! Groups Sponsor



ADVERTISEMENT
 
<http://rd.yahoo.com/SIG=129rs45t8/M=295196.4901138.6071305.3001176/D=groups
/S=1706554205:HM/EXP=1084749911/A=2128215/R=0/SIG=10se96mf6/*http:/companion
.yahoo.com> click here


 
<http://us.adserver.yahoo.com/l?M=295196.4901138.6071305.3001176/D=groups/S=
:HM/A=2128215/rand=935752433> 

 

  _____  

Yahoo! Groups Links

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

RE: [lpc2000] LPC210x SPI

2004-05-16 by Milos Prokic

Thanks!

It definitely is a bad design. I mean, MSP430 has an option 3 or 4 wire
mode. Hence saving the pin if the MCU is always a master. I guess Philips
ppl don't really care about SPI, since they are all about I2C. 

We'll see how it goes.. hopefully I'll find a neat workaround.

Cheers,

m.

 

  _____  
Show quoted textHide quoted text
From: Michael Mathews [mailto:mmathews@...] 
Sent: Saturday, May 15, 2004 8:18 PM
To: lpc2000@yahoogroups.com
Subject: RE: [lpc2000] LPC210x SPI

 

Milos,

The SSEL pin must be pulled high from what I make of docs/posts. I put
external pullup on it to get working and am using GPIO lines for my CSs. I
was hoping to know like you if could use SSEL to CS (instead of GPIO) my
first SPI device to save a pin but work on higher-pri projects came up ... 

Mike

At 04:48 PM 5/15/2004, you wrote:



Hi,
I was able to get it to work once I put the SSEL to High. is there a
possibility to get the SPI to work without having the SSEL signal. The
amount of pins is limited and wasting one of the pins like that is just not
an option.
Thanks a million,
m.
 

  _____  

From: Milos Prokic [mailto:milos.prokic@...] 
Sent: Saturday, May 15, 2004 7:25 PM
To: lpc2000@yahoogroups.com
Subject: [lpc2000] LPC210x SPI
 
Hi everyone,
I'm trying to get the SPI module to work. The description seems very
straight forward, but for some reason I'm not getting any activity on the
SCK pin nor on the MOSI. 
Do I have to have SSEL also "selected" through the PINSEL block? The chip
will always be a master, hence I never need to change modes. But I have to
say that the doc is a bit fishy about that.
I was wondering if anyone has simple example of the SPI code just to compare
it with whatever I have.
Thanks in advance,
m.
 
 



Yahoo! Groups Sponsor 
ADVERTISEMENT
 
<http://rd.yahoo.com/SIG=129t8uiie/M=295196.4901138.6071305.3001176/D=groups
/S=1706554205:HM/EXP=1084751333/A=2128215/R=0/SIG=10se96mf6/*http:/companion
.yahoo.com> 49358ed.jpg
 []
<http://us.adserver.yahoo.com/l?M=295196.4901138.6071305.3001176/D=groups/S=
:HM/A=2128215/rand=884382828> 

  _____  

Yahoo! Groups Links 

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

RE: [lpc2000] LPC210x SPI

2004-05-16 by Michael Mathews

Milos,

The SSEL pin must be pulled high from what I make of docs/posts. I put external pullup on it to get working and am using GPIO lines for my CSs. I was hoping to know like you if could use SSEL to CS (instead of GPIO) my first SPI device to save a pin but work on higher-pri projects came up ...

Mike

At 04:48 PM 5/15/2004, you wrote:
Show quoted textHide quoted text
Hi,
I was able to get it to work once I put the SSEL to High… is there a possibility to get the SPI to work without having the SSEL signal. The amount of pins is limited and wasting one of the pins like that is just not an option.
Thanks a million,
m.

From: Milos Prokic [mailto:milos.prokic@...]
Sent: Saturday, May 15, 2004 7:25 PM
To: lpc2000@yahoogroups.com
Subject: [lpc2000] LPC210x SPI

Hi everyone,
I’m trying to get the SPI module to work. The description seems very straight forward, but for some reason I’m not getting any activity on the SCK pin nor on the MOSI…
Do I have to have SSEL also “selected” through the PINSEL block? The chip will always be a master, hence I never need to change modes. But I have to say that the doc is a bit fishy about that.
I was wondering if anyone has simple example of the SPI code just to compare it with whatever I have…
Thanks in advance,
m.





Yahoo! Groups Sponsor
ADVERTISEMENT



Yahoo! Groups Links

RE: [lpc2000] LPC210x SPI

2004-05-16 by James Dabbs

> I was able to get it to work once I put the SSEL to High. is there a
possibility
> to get the SPI to work without having the SSEL signal. The amount of
pins is
> limited and wasting one of the pins like that is just not an option.

Unfortunately, there is no other option.  If you use the LPC201X SPI in
master mode, you must pull SSEL high.  It cannot be used as GPIO while
SPI is operating.

James Dabbs, TGA.

Re: LPC210x SPI

2004-05-16 by cpexed

If you only had one device besides the master on the spi bus would it
be reasonable to use the SSEL line to control enabling the slave
device or should another GPIO be used?

Josiah
--- In lpc2000@yahoogroups.com, "James Dabbs" <jdabbs@t...> wrote:
Show quoted textHide quoted text
> > I was able to get it to work once I put the SSEL to High. is there a
> possibility
> > to get the SPI to work without having the SSEL signal. The amount of
> pins is
> > limited and wasting one of the pins like that is just not an option.
> 
> Unfortunately, there is no other option.  If you use the LPC201X SPI in
> master mode, you must pull SSEL high.  It cannot be used as GPIO while
> SPI is operating.
> 
> James Dabbs, TGA.

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.