Yahoo Groups archive

Lpc2000

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

Thread

Broken IO Pins?

Broken IO Pins?

2006-05-20 by jstamos111

Hey guys,

This problem has me completely baffled.  Hopefully you can help.

I have an LPC2106 running on a board of my own design and am using 
Keil tools to compile the code.  Here's my very short code:

void main() {
PINSEL0 &= 0x00000000;
IODIR0 = 0xFFFFFFFF;
IOSET0 = 0xFFFFFFFF;
while(1);
}

The problems when I run this code all IO ports turn on except P0.2, 
P0.3 and P0.26.  Any idea why?  I tried looking in the documentation 
but couldn't find anything specific about these ports not working for 
IO.  I thought maybe the problem was what I had the pins connected to 
(a CPLD) so I made sure to put the connected CPLD pins as inputs and 
even disconnected one pin completely and still the same problem.  I 
have multiple boards and it does it for at least two of them.  

Thoughts?  I'd appreciate anything since I don't know where to go w/ 
this anymore.

Thanks.

Re: [lpc2000] Broken IO Pins?

2006-05-20 by Martin Maurer

Hello,

> I have an LPC2106 running on a board of my own design and am using
> Keil tools to compile the code.  Here's my very short code:
>
> void main() {
> PINSEL0 &= 0x00000000;
> IODIR0 = 0xFFFFFFFF;
> IOSET0 = 0xFFFFFFFF;
> while(1);
> }
>
> The problems when I run this code all IO ports turn on except P0.2,
> P0.3 and P0.26.  Any idea why?

P0.2 and P0.3 are I2C pins. You must add pullups. Search for older posts 
here in this mailing list !
I don't know anything P0.26 related, sorry.

Regards,

       Martin

Re: [lpc2000] Broken IO Pins?

2006-05-20 by Robert Adsett

At 06:36 PM 5/20/06 +0000, jstamos111 wrote:
>Hey guys,
>
>This problem has me completely baffled.  Hopefully you can help.
>
>I have an LPC2106 running on a board of my own design and am using
>Keil tools to compile the code.  Here's my very short code:
>
>void main() {
>PINSEL0 &= 0x00000000;
>IODIR0 = 0xFFFFFFFF;
>IOSET0 = 0xFFFFFFFF;
>while(1);
>}
>
>The problems when I run this code all IO ports turn on except P0.2,
>P0.3 and P0.26.  Any idea why?  I tried looking in the documentation
>but couldn't find anything specific about these ports not working for
>IO.  I thought maybe the problem was what I had the pins connected to
>(a CPLD) so I made sure to put the connected CPLD pins as inputs and
>even disconnected one pin completely and still the same problem.  I
>have multiple boards and it does it for at least two of them.

Well P0.2 & P0.3 are open collector so they'll need pull-ups.  See 
http://www.open-research.org.uk/ARMuC/LPC2100Tips.html

P0.26 I don't see anything off hand unless you have JTAG enabled.

Robert

" 'Freedom' has no meaning of itself.  There are always restrictions,   be 
they legal, genetic, or physical.  If you don't believe me, try to chew a 
radio signal. "  -- Kelvin Throop, III
http://www.aeolusdevelopment.com/

RE: [lpc2000] Broken IO Pins?

2006-05-20 by Andy

Not sure but I think P0.2 and P0.3 have no internal pull-up resistors
because they are for the I2C interface.  You need to have external pull-ups.
Andy
Show quoted textHide quoted text
-----Original Message-----
From: lpc2000@yahoogroups.com [mailto:lpc2000@yahoogroups.com] On Behalf Of
jstamos111
Sent: 20 May 2006 19:36
To: lpc2000@yahoogroups.com
Subject: [lpc2000] Broken IO Pins?

Hey guys,

This problem has me completely baffled.  Hopefully you can help.

I have an LPC2106 running on a board of my own design and am using 
Keil tools to compile the code.  Here's my very short code:

void main() {
PINSEL0 &= 0x00000000;
IODIR0 = 0xFFFFFFFF;
IOSET0 = 0xFFFFFFFF;
while(1);
}

The problems when I run this code all IO ports turn on except P0.2, 
P0.3 and P0.26.  Any idea why?  I tried looking in the documentation 
but couldn't find anything specific about these ports not working for 
IO.  I thought maybe the problem was what I had the pins connected to 
(a CPLD) so I made sure to put the connected CPLD pins as inputs and 
even disconnected one pin completely and still the same problem.  I 
have multiple boards and it does it for at least two of them.  

Thoughts?  I'd appreciate anything since I don't know where to go w/ 
this anymore.

Thanks.







 
Yahoo! Groups Links

Re: Broken IO Pins?

2006-05-20 by bobtransformer

--- In lpc2000@yahoogroups.com, "jstamos111" <jstamos111@...> wrote:
>
> Hey guys,
> 
> This problem has me completely baffled.  Hopefully you can help.
> 
> I have an LPC2106 running on a board of my own design and am using 
> Keil tools to compile the code.  Here's my very short code:
> 
> void main() {
> PINSEL0 &= 0x00000000;
> IODIR0 = 0xFFFFFFFF;
> IOSET0 = 0xFFFFFFFF;
> while(1);
> }
> 
> The problems when I run this code all IO ports turn on except P0.2, 
> P0.3 and P0.26.  Any idea why?  I tried looking in the 
documentation 
> but couldn't find anything specific about these ports not working 
for 
> IO.  I thought maybe the problem was what I had the pins connected 
to 
> (a CPLD) so I made sure to put the connected CPLD pins as inputs 
and 
> even disconnected one pin completely and still the same problem.  I 
> have multiple boards and it does it for at least two of them.  
> 
> Thoughts?  I'd appreciate anything since I don't know where to go 
w/ 
> this anymore.
> 
> Thanks.
>

This may not have any relevance to your problem, but case in point...
I had an IO pin on a LPC2102 not working.  I think what happened was 
that because my soldering iron was not grounded and I measure 60 VAC 
RMS between soldering iron and scope ground (which I think was 
connected while soldering to that IO pin connection) and I think I 
burned it out.  I just switched the software to another IO pin and it 
works now until I can replace the part.

Just be careful of differential voltages of soldering iron and 
grounds.  This is not the first time in my life I've had this kind
of problem.

boB

Re: [lpc2000] Re: Broken IO Pins?

2006-05-20 by Tom Walsh

bobtransformer wrote:

>--- In lpc2000@yahoogroups.com, "jstamos111" <jstamos111@...> wrote:
>  
>
>>Hey guys,
>>
>>This problem has me completely baffled.  Hopefully you can help.
>>
>>I have an LPC2106 running on a board of my own design and am using 
>>Keil tools to compile the code.  Here's my very short code:
>>
>>void main() {
>>PINSEL0 &= 0x00000000;
>>IODIR0 = 0xFFFFFFFF;
>>IOSET0 = 0xFFFFFFFF;
>>while(1);
>>}
>>
>>The problems when I run this code all IO ports turn on except P0.2, 
>>P0.3 and P0.26.  Any idea why?  I tried looking in the 
>>    
>>
>documentation 
>  
>
>>but couldn't find anything specific about these ports not working 
>>    
>>
>for 
>  
>
>>IO.  I thought maybe the problem was what I had the pins connected 
>>    
>>
>to 
>  
>
>>(a CPLD) so I made sure to put the connected CPLD pins as inputs 
>>    
>>
>and 
>  
>
>>even disconnected one pin completely and still the same problem.  I 
>>have multiple boards and it does it for at least two of them.  
>>
>>Thoughts?  I'd appreciate anything since I don't know where to go 
>>    
>>
>w/ 
>  
>
>>this anymore.
>>
>>Thanks.
>>
>>    
>>
>
>This may not have any relevance to your problem, but case in point...
>I had an IO pin on a LPC2102 not working.  I think what happened was 
>that because my soldering iron was not grounded and I measure 60 VAC 
>RMS between soldering iron and scope ground (which I think was 
>connected while soldering to that IO pin connection) and I think I 
>burned it out.  I just switched the software to another IO pin and it 
>works now until I can replace the part.
>
>Just be careful of differential voltages of soldering iron and 
>grounds.  This is not the first time in my life I've had this kind
>of problem.
>
>  
>
Maybe it is time to stop purchasing $10 irons from Radio Shack, and get 
a used Weller setup from ebay?  heh hee.  I've used a cheap Weller 
tranformer iron for years and haven't damaged any chips, nor worried 
about the iron being grounded or not.

Regards,

TomW


-- 
Tom Walsh - WN3L - Embedded Systems Consultant
http://openhardware.net, http://cyberiansoftware.com
"Windows? No thanks, I have work to do..."
----------------------------------------------------

Re: Broken IO Pins?

2006-05-21 by bobtransformer

--- In lpc2000@yahoogroups.com, Tom Walsh <tom@...> wrote:


> Maybe it is time to stop purchasing $10 irons from Radio Shack, and 
>get  a used Weller setup from ebay?  heh hee.  I've used a cheap 
Weller 
> tranformer iron for years and haven't damaged any chips, nor 
>worried about the iron being grounded or not.
> 
> Regards,
> 
> TomW

Almost forgot about the Metcal soldering irons.   The ones that heat 
up quickly using RF.  We had a problem with one of these at work
a few years ago when the shield at the connector came slightly loose.

What happened was that there was a lot of RF leaking from the iron 
tip to the circuit being soldered and it broke LOTS of 74HC14 parts.
It was not always immediataley apparent that they were bad until 
later.

So I guess you gotta make sure the connections are tight on those 
types of irons.

boB
Show quoted textHide quoted text
> 
> -- 
> Tom Walsh - WN3L - Embedded Systems Consultant
> http://openhardware.net, http://cyberiansoftware.com
> "Windows? No thanks, I have work to do..."
> ----------------------------------------------------
>

Re: [lpc2000] Broken IO Pins?

2006-05-21 by John Stamos

Thanks to everyone who replied.  I feel much better now knowing  what the problem was.  I had no idea that pins P0.2 and P0.3 had  no pull up resistors.  Also thanks for the link, Robert.

jstamos111 <jstamos111@...> wrote:        Hey guys,
  
  This problem has me completely baffled.  Hopefully you can help.
  
  I have an LPC2106 running on a board of my own design and am using 
  Keil tools to compile the code.  Here's my very short code:
  
  void main() {
  PINSEL0 &= 0x00000000;
  IODIR0 = 0xFFFFFFFF;
  IOSET0 = 0xFFFFFFFF;
  while(1);
  }
  
  The problems when I run this code all IO ports turn on except P0.2, 
  P0.3 and P0.26.  Any idea why?  I tried looking in the documentation 
  but couldn't find anything specific about these ports not working for 
  IO.  I thought maybe the problem was what I had the pins connected to 
  (a CPLD) so I made sure to put the connected CPLD pins as inputs and 
  even disconnected one pin completely and still the same problem.  I 
  have multiple boards and it does it for at least two of them.  
  
  Thoughts?  I'd appreciate anything since I don't know where to go w/ 
  this anymore.
  
  Thanks.
  
  
  
  
                  

          SPONSORED LINKS    
                                                        Microcontrollers                                          Microprocessor                                          Intel microprocessors                                                                             
        
---------------------------------
    YAHOO! GROUPS LINKS  
  
      
    Visit your group "lpc2000" on the web.
     
    To unsubscribe from this group, send an email to:
 lpc2000-unsubscribe@yahoogroups.com
     
    Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.  
  
      
---------------------------------
  
  
          

		
---------------------------------
New Yahoo! Messenger with Voice. Call regular phones from your PC and save big.

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

Re: [lpc2000] Re: Broken IO Pins?

2006-05-21 by Leon Heller

----- Original Message ----- 
Show quoted textHide quoted text
From: "bobtransformer" <bgudgel@...>
To: <lpc2000@yahoogroups.com>
Sent: Sunday, May 21, 2006 3:48 AM
Subject: [lpc2000] Re: Broken IO Pins?


--- In lpc2000@yahoogroups.com, Tom Walsh <tom@...> wrote:


Almost forgot about the Metcal soldering irons.   The ones that heat
up quickly using RF.  We had a problem with one of these at work
a few years ago when the shield at the connector came slightly loose.

What happened was that there was a lot of RF leaking from the iron
tip to the circuit being soldered and it broke LOTS of 74HC14 parts.
It was not always immediataley apparent that they were bad until
later.

So I guess you gotta make sure the connections are tight on those
types of irons.

Thanks for that. I use Metcal equipment, it's quite cheap bought second-hand 
on eBay. I just checked the connector on mine and it was slightly loose - 
only needed part of a turn. I don't think I've checked it since I first 
assembled it a couple of years ago.

Leon 

---
[This E-mail has been scanned for viruses but it is your responsibility 
to maintain up to date anti virus software on the device that you are
currently using to read this email. ]

Re: [lpc2000] Broken IO Pins?

2006-05-22 by John Stamos

Can someone recommend a good resistor value to use for the pullup resistor?
  
  Much Thanks.

Robert Adsett <subscriptions@...> wrote:        At 06:36 PM 5/20/06 +0000, jstamos111 wrote:
  >Hey guys,
  >
  >This problem has me completely baffled.  Hopefully you can help.
  >
  >I have an LPC2106 running on a board of my own design and am using
  >Keil tools to compile the code.  Here's my very short code:
  >
  >void main() {
  >PINSEL0 &= 0x00000000;
  >IODIR0 = 0xFFFFFFFF;
  >IOSET0 = 0xFFFFFFFF;
  >while(1);
  >}
  >
  >The problems when I run this code all IO ports turn on except P0.2,
  >P0.3 and P0.26.  Any idea why?  I tried looking in the documentation
  >but couldn't find anything specific about these ports not working for
  >IO.  I thought maybe the problem was what I had the pins connected to
  >(a CPLD) so I made sure to put the connected CPLD pins as inputs and
  >even disconnected one pin completely and still the same problem.  I
  >have multiple boards and it does it for at least two of them.
  
  Well P0.2 & P0.3 are open collector so they'll need pull-ups.  See 
  http://www.open-research.org.uk/ARMuC/LPC2100Tips.html
  
  P0.26 I don't see anything off hand unless you have JTAG enabled.
  
  Robert
  
  " 'Freedom' has no meaning of itself.  There are always restrictions,   be 
  they legal, genetic, or physical.  If you don't believe me, try to chew a 
  radio signal. "  -- Kelvin Throop, III
  http://www.aeolusdevelopment.com/
  
                  

          SPONSORED LINKS    
                                                        Microcontrollers                                          Microprocessor                                          Intel microprocessors                                                                             
        
---------------------------------
    YAHOO! GROUPS LINKS  
  
      
    Visit your group "lpc2000" on the web.
     
    To unsubscribe from this group, send an email to:
 lpc2000-unsubscribe@yahoogroups.com
     
    Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.  
  
      
---------------------------------
  
  
          

		
---------------------------------
Love cheap thrills? Enjoy PC-to-Phone  calls to 30+ countries for just 2¢/min with Yahoo! Messenger with Voice.

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

RE: [lpc2000] Broken IO Pins?

2006-05-22 by Andrew Berney

Aye... just to add P0.26 is listed as a reserved pin in the manual. The
other two are open collector from I2C as already explained by Robert. So
your code appears to be working just fine :)

Andy
Show quoted textHide quoted text
-----Original Message-----
From: lpc2000@yahoogroups.com [mailto:lpc2000@yahoogroups.com]On Behalf
Of John Stamos
Sent: 22 May 2006 13:52
To: lpc2000@yahoogroups.com
Subject: Re: [lpc2000] Broken IO Pins?


Can someone recommend a good resistor value to use for the pullup resistor?

  Much Thanks.

Robert Adsett <subscriptions@...> wrote:        At 06:36
PM 5/20/06 +0000, jstamos111 wrote:
  >Hey guys,
  >
  >This problem has me completely baffled.  Hopefully you can help.
  >
  >I have an LPC2106 running on a board of my own design and am using
  >Keil tools to compile the code.  Here's my very short code:
  >
  >void main() {
  >PINSEL0 &= 0x00000000;
  >IODIR0 = 0xFFFFFFFF;
  >IOSET0 = 0xFFFFFFFF;
  >while(1);
  >}
  >
  >The problems when I run this code all IO ports turn on except P0.2,
  >P0.3 and P0.26.  Any idea why?  I tried looking in the documentation
  >but couldn't find anything specific about these ports not working for
  >IO.  I thought maybe the problem was what I had the pins connected to
  >(a CPLD) so I made sure to put the connected CPLD pins as inputs and
  >even disconnected one pin completely and still the same problem.  I
  >have multiple boards and it does it for at least two of them.

  Well P0.2 & P0.3 are open collector so they'll need pull-ups.  See
  http://www.open-research.org.uk/ARMuC/LPC2100Tips.html

  P0.26 I don't see anything off hand unless you have JTAG enabled.

  Robert

  " 'Freedom' has no meaning of itself.  There are always restrictions,   be
  they legal, genetic, or physical.  If you don't believe me, try to chew a
  radio signal. "  -- Kelvin Throop, III
  http://www.aeolusdevelopment.com/



          SPONSORED LINKS
                                                        Microcontrollers
Microprocessor                                          Intel
microprocessors

---------------------------------
    YAHOO! GROUPS LINKS


    Visit your group "lpc2000" on the web.

    To unsubscribe from this group, send an email to:
 lpc2000-unsubscribe@yahoogroups.com

    Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.


---------------------------------





---------------------------------
Love cheap thrills? Enjoy PC-to-Phone  calls to 30+ countries for just
2\ufffd/min with Yahoo! Messenger with Voice.

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





Yahoo! Groups Links

RE: [lpc2000] Broken IO Pins?

2006-05-22 by Andrew Berney

Ofcourse it'd help if I was reading the 2106 manual... was looking in the
2119 version, however I imagine the same applies if you're seeing problems
with that particular pin... p0.26 is evidently used by Philips for some
nefarious purpose (shows as reserved in the 2119 manual for the pinsel
register in the pin connect block section).

Andy
Show quoted textHide quoted text
-----Original Message-----
From: lpc2000@yahoogroups.com [mailto:lpc2000@yahoogroups.com]On Behalf
Of John Stamos
Sent: 22 May 2006 13:52
To: lpc2000@yahoogroups.com
Subject: Re: [lpc2000] Broken IO Pins?


Can someone recommend a good resistor value to use for the pullup resistor?

  Much Thanks.

Robert Adsett <subscriptions@...> wrote:        At 06:36
PM 5/20/06 +0000, jstamos111 wrote:
  >Hey guys,
  >
  >This problem has me completely baffled.  Hopefully you can help.
  >
  >I have an LPC2106 running on a board of my own design and am using
  >Keil tools to compile the code.  Here's my very short code:
  >
  >void main() {
  >PINSEL0 &= 0x00000000;
  >IODIR0 = 0xFFFFFFFF;
  >IOSET0 = 0xFFFFFFFF;
  >while(1);
  >}
  >
  >The problems when I run this code all IO ports turn on except P0.2,
  >P0.3 and P0.26.  Any idea why?  I tried looking in the documentation
  >but couldn't find anything specific about these ports not working for
  >IO.  I thought maybe the problem was what I had the pins connected to
  >(a CPLD) so I made sure to put the connected CPLD pins as inputs and
  >even disconnected one pin completely and still the same problem.  I
  >have multiple boards and it does it for at least two of them.

  Well P0.2 & P0.3 are open collector so they'll need pull-ups.  See
  http://www.open-research.org.uk/ARMuC/LPC2100Tips.html

  P0.26 I don't see anything off hand unless you have JTAG enabled.

  Robert

  " 'Freedom' has no meaning of itself.  There are always restrictions,   be
  they legal, genetic, or physical.  If you don't believe me, try to chew a
  radio signal. "  -- Kelvin Throop, III
  http://www.aeolusdevelopment.com/



          SPONSORED LINKS
                                                        Microcontrollers
Microprocessor                                          Intel
microprocessors

---------------------------------
    YAHOO! GROUPS LINKS


    Visit your group "lpc2000" on the web.

    To unsubscribe from this group, send an email to:
 lpc2000-unsubscribe@yahoogroups.com

    Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.


---------------------------------





---------------------------------
Love cheap thrills? Enjoy PC-to-Phone  calls to 30+ countries for just
2\ufffd/min with Yahoo! Messenger with Voice.

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





Yahoo! Groups Links

Re: Broken IO Pins?

2006-05-22 by rtstofer

--- In lpc2000@yahoogroups.com, John Stamos <jstamos111@...> wrote:
>
> Can someone recommend a good resistor value to use for the pullup
resistor?
>   
>   Much Thanks.

It depends on what you want to do with the pins.

If you want to use them as normal outputs to other logic gates, the
value is probably on the order of 4.7k.  The resistor is responsible
for holding a logic '1' on the signal line while driving downstream
components.  So, it depends on how many gates you are driving, the
required logic voltage levels, logic input current requirements, etc.

If you want to use I2C then a value around 2.2k would be better - but
that is a value for LSTTL.  The proper way to size these is with
reference to the I2C Specification available from Philips.

If you just want to stuff resistors in and not get carried away with
details, use 2.2k and see how it goes.

Richard


> 
> Robert Adsett <subscriptions@...> wrote:        At 06:36 PM 5/20/06
+0000, jstamos111 wrote:
>   >Hey guys,
>   >
>   >This problem has me completely baffled.  Hopefully you can help.
>   >
>   >I have an LPC2106 running on a board of my own design and am using
>   >Keil tools to compile the code.  Here's my very short code:
>   >
>   >void main() {
>   >PINSEL0 &= 0x00000000;
>   >IODIR0 = 0xFFFFFFFF;
>   >IOSET0 = 0xFFFFFFFF;
>   >while(1);
>   >}
>   >
>   >The problems when I run this code all IO ports turn on except P0.2,
>   >P0.3 and P0.26.  Any idea why?  I tried looking in the documentation
>   >but couldn't find anything specific about these ports not working for
>   >IO.  I thought maybe the problem was what I had the pins connected to
>   >(a CPLD) so I made sure to put the connected CPLD pins as inputs and
>   >even disconnected one pin completely and still the same problem.  I
>   >have multiple boards and it does it for at least two of them.
>   
>   Well P0.2 & P0.3 are open collector so they'll need pull-ups.  See 
>   http://www.open-research.org.uk/ARMuC/LPC2100Tips.html
>   
>   P0.26 I don't see anything off hand unless you have JTAG enabled.
>   
>   Robert
>   
>   " 'Freedom' has no meaning of itself.  There are always
restrictions,   be 
>   they legal, genetic, or physical.  If you don't believe me, try to
chew a 
>   radio signal. "  -- Kelvin Throop, III
>   http://www.aeolusdevelopment.com/
>   
>                   
> 
>           SPONSORED LINKS    
>                                                        
Microcontrollers                                         
Microprocessor                                          Intel
microprocessors                                                      
                      
>         
> ---------------------------------
>     YAHOO! GROUPS LINKS  
>   
>       
>     Visit your group "lpc2000" on the web.
>      
>     To unsubscribe from this group, send an email to:
>  lpc2000-unsubscribe@yahoogroups.com
>      
>     Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service.  
>   
>       
> ---------------------------------
>   
>   
>           
> 
> 		
> ---------------------------------
> Love cheap thrills? Enjoy PC-to-Phone  calls to 30+ countries for
just 2¢/min with Yahoo! Messenger with Voice.
Show quoted textHide quoted text
> 
> [Non-text portions of this message have been removed]
>

Re: [lpc2000] Broken IO Pins?

2006-05-22 by Dave Such

I found that 1K works well running clock rates of 400K.  Anything larger 
caused slow rise times.


John Stamos wrote:

> Can someone recommend a good resistor value to use for the pullup 
> resistor?
>  
>   Much Thanks.
>
> Robert Adsett <subscriptions@...> wrote:        At 
> 06:36 PM 5/20/06 +0000, jstamos111 wrote:
>   >Hey guys,
>   >
>   >This problem has me completely baffled.  Hopefully you can help.
>   >
>   >I have an LPC2106 running on a board of my own design and am using
>   >Keil tools to compile the code.  Here's my very short code:
>   >
>   >void main() {
>   >PINSEL0 &= 0x00000000;
>   >IODIR0 = 0xFFFFFFFF;
>   >IOSET0 = 0xFFFFFFFF;
>   >while(1);
>   >}
>   >
>   >The problems when I run this code all IO ports turn on except P0.2,
>   >P0.3 and P0.26.  Any idea why?  I tried looking in the documentation
>   >but couldn't find anything specific about these ports not working for
>   >IO.  I thought maybe the problem was what I had the pins connected to
>   >(a CPLD) so I made sure to put the connected CPLD pins as inputs and
>   >even disconnected one pin completely and still the same problem.  I
>   >have multiple boards and it does it for at least two of them.
>  
>   Well P0.2 & P0.3 are open collector so they'll need pull-ups.  See
>   http://www.open-research.org.uk/ARMuC/LPC2100Tips.html
>  
>   P0.26 I don't see anything off hand unless you have JTAG enabled.
>  
>   Robert
>  
>   " 'Freedom' has no meaning of itself.  There are always 
> restrictions,   be
>   they legal, genetic, or physical.  If you don't believe me, try to 
> chew a
>   radio signal. "  -- Kelvin Throop, III
>   http://www.aeolusdevelopment.com/
>  
>                  
>
>           SPONSORED LINKS   
>                                                         
> Microcontrollers                                          
> Microprocessor                                          Intel 
> microprocessors                                                                             
>
>        
> ---------------------------------
>     YAHOO! GROUPS LINKS 
>  
>      
>     Visit your group "lpc2000" on the web.
>     
>     To unsubscribe from this group, send an email to:
> lpc2000-unsubscribe@yahoogroups.com
>     
>     Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 
>  
>      
> ---------------------------------
>  
>  
>          
>
>            
> ---------------------------------
> Love cheap thrills? Enjoy PC-to-Phone  calls to 30+ countries for just 
> 2¢/min with Yahoo! Messenger with Voice.
>
> [Non-text portions of this message have been removed]
>
>
>
> SPONSORED LINKS
> Microcontrollers 
> <http://groups.yahoo.com/gads?t=ms&k=Microcontrollers&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&c=3&s=69&.sig=c-HXthtbZy4TZbI3ib0PMg> 
> 	Microprocessor 
> <http://groups.yahoo.com/gads?t=ms&k=Microprocessor&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&c=3&s=69&.sig=ijt0SspWtjogcHCuFD0lUQ> 
> 	Intel microprocessors 
> <http://groups.yahoo.com/gads?t=ms&k=Intel+microprocessors&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&c=3&s=69&.sig=WOZdpklkgHbXR5quAgrl5w> 
>
>
>
> ------------------------------------------------------------------------
> YAHOO! GROUPS LINKS
>
>     *  Visit your group "lpc2000
>       <http://groups.yahoo.com/group/lpc2000>" on the web.
>        
>     *  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! Terms of
>       Service <http://docs.yahoo.com/info/terms/>.
>
>
> ------------------------------------------------------------------------
>


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

Re: [lpc2000] Broken IO Pins?

2006-05-22 by Xtian Xultz

For I2C, the typicall value is 4k7.

Em Seg 22 Mai 2006 09:52, John Stamos escreveu:
> Can someone recommend a good resistor value to use for the pullup resistor?
>
>   Much Thanks.
>
> Robert Adsett <subscriptions@aeolusdevelopment.com> wrote:        At 06:36 
PM 5/20/06 +0000, jstamos111 wrote:
Show quoted textHide quoted text
>   >Hey guys,
>   >
>   >This problem has me completely baffled.  Hopefully you can help.
>   >
>   >I have an LPC2106 running on a board of my own design and am using
>   >Keil tools to compile the code.  Here's my very short code:
>   >
>   >void main() {
>   >PINSEL0 &= 0x00000000;
>   >IODIR0 = 0xFFFFFFFF;
>   >IOSET0 = 0xFFFFFFFF;
>   >while(1);
>   >}
>   >
>   >The problems when I run this code all IO ports turn on except P0.2,
>   >P0.3 and P0.26.  Any idea why?  I tried looking in the documentation
>   >but couldn't find anything specific about these ports not working for
>   >IO.  I thought maybe the problem was what I had the pins connected to
>   >(a CPLD) so I made sure to put the connected CPLD pins as inputs and
>   >even disconnected one pin completely and still the same problem.  I
>   >have multiple boards and it does it for at least two of them.
>
>   Well P0.2 & P0.3 are open collector so they'll need pull-ups.  See
>   http://www.open-research.org.uk/ARMuC/LPC2100Tips.html
>
>   P0.26 I don't see anything off hand unless you have JTAG enabled.
>
>   Robert
>
>   " 'Freedom' has no meaning of itself.  There are always restrictions,  
> be they legal, genetic, or physical.  If you don't believe me, try to chew
> a radio signal. "  -- Kelvin Throop, III
>   http://www.aeolusdevelopment.com/
>
>
>
>           SPONSORED LINKS
>                                                         Microcontrollers   
>                                       Microprocessor                       
>                   Intel microprocessors
>
> ---------------------------------
>     YAHOO! GROUPS LINKS
>
>
>     Visit your group "lpc2000" on the web.
>
>     To unsubscribe from this group, send an email to:
>  lpc2000-unsubscribe@yahoogroups.com
>
>     Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
>
>
> ---------------------------------
>
>
>
>
>
> ---------------------------------
> Love cheap thrills? Enjoy PC-to-Phone  calls to 30+ countries for just
> 2¢/min with Yahoo! Messenger with Voice.
>
> [Non-text portions of this message have been removed]
>
>
>
>
>
> Yahoo! Groups Links
>
>
>

Re: [lpc2000] Re: Broken IO Pins?

2006-05-23 by John Stamos

I want to use one of them as input to a CPLD and the others I want to take input from the CPLD so sounds like I should use 4.7K (thanks).  If I am going to use the pin as input do you think I still need the resistor or will I need it for both input and output of the pins?
   
  Thanks again.

rtstofer <rstofer@...> wrote:
  --- In lpc2000@yahoogroups.com, John Stamos <jstamos111@...> wrote:
>
> Can someone recommend a good resistor value to use for the pullup
resistor?
>   
>   Much Thanks.

It depends on what you want to do with the pins.

If you want to use them as normal outputs to other logic gates, the
value is probably on the order of 4.7k.  The resistor is responsible
for holding a logic '1' on the signal line while driving downstream
components.  So, it depends on how many gates you are driving, the
required logic voltage levels, logic input current requirements, etc.

If you want to use I2C then a value around 2.2k would be better - but
that is a value for LSTTL.  The proper way to size these is with
reference to the I2C Specification available from Philips.

If you just want to stuff resistors in and not get carried away with
details, use 2.2k and see how it goes.

Richard


> 
> Robert Adsett <subscriptions@...> wrote:        At 06:36 PM 5/20/06
+0000, jstamos111 wrote:
>   >Hey guys,
>   >
>   >This problem has me completely baffled.  Hopefully you can help.
>   >
>   >I have an LPC2106 running on a board of my own design and am using
>   >Keil tools to compile the code.  Here's my very short code:
>   >
>   >void main() {
>   >PINSEL0 &= 0x00000000;
>   >IODIR0 = 0xFFFFFFFF;
>   >IOSET0 = 0xFFFFFFFF;
>   >while(1);
>   >}
>   >
>   >The problems when I run this code all IO ports turn on except P0.2,
>   >P0.3 and P0.26.  Any idea why?  I tried looking in the documentation
>   >but couldn't find anything specific about these ports not working for
>   >IO.  I thought maybe the problem was what I had the pins connected to
>   >(a CPLD) so I made sure to put the connected CPLD pins as inputs and
>   >even disconnected one pin completely and still the same problem.  I
>   >have multiple boards and it does it for at least two of them.
>   
>   Well P0.2 & P0.3 are open collector so they'll need pull-ups.  See 
>   http://www.open-research.org.uk/ARMuC/LPC2100Tips.html
>   
>   P0.26 I don't see anything off hand unless you have JTAG enabled.
>   
>   Robert
>   
>   " 'Freedom' has no meaning of itself.  There are always
restrictions,   be 
>   they legal, genetic, or physical.  If you don't believe me, try to
chew a 
>   radio signal. "  -- Kelvin Throop, III
>   http://www.aeolusdevelopment.com/
>   
>                   
> 
>           SPONSORED LINKS    
>                                                        
Microcontrollers                                         
Microprocessor                                          Intel
microprocessors                                                      
                      
>         
> ---------------------------------
>     YAHOO! GROUPS LINKS  
>   
>       
>     Visit your group "lpc2000" on the web.
>      
>     To unsubscribe from this group, send an email to:
>  lpc2000-unsubscribe@yahoogroups.com
>      
>     Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service.  
>   
>       
> ---------------------------------
>   
>   
>           
> 
>             
> ---------------------------------
> Love cheap thrills? Enjoy PC-to-Phone  calls to 30+ countries for
just 2¢/min with Yahoo! Messenger with Voice.
> 
> [Non-text portions of this message have been removed]
>






  SPONSORED LINKS 
        Microcontrollers   Microprocessor   Intel microprocessors 
    
---------------------------------
  YAHOO! GROUPS LINKS 

    
    Visit your group "lpc2000" on the web.
    
    To unsubscribe from this group, send an email to:
 lpc2000-unsubscribe@yahoogroups.com
    
    Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 

    
---------------------------------
  



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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

Re: Broken IO Pins?

2006-05-23 by rtstofer

--- In lpc2000@yahoogroups.com, John Stamos <jstamos111@...> wrote:
>
> I want to use one of them as input to a CPLD and the others I want
to take input from the CPLD so sounds like I should use 4.7K (thanks).
 If I am going to use the pin as input do you think I still need the
resistor or will I need it for both input and output of the pins?
>    
>   Thanks again.

"input to" and "input from" are somewhat ambiguous.  So, you want to
use one pin as an output to drive the input of a CPLD.  If this is an
open collector pin on the LPC then you need a pull-up resistor - 4.7k
should do fine.

For the others, you want to define them as inputs and drive them from
the outputs of a CPLD.  No problem.  As long as the CPLD is not
configured for open collector outputs, you won't need pull-up resistors.

I'm assuming the CPLD is also running at 3.3V.

Richard

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.