Yahoo Groups archive

Lpc2000

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

Message

Re: [lpc2000] Re: LPC2294 Port 0.2 problem

2005-12-31 by Peter Jakacki

These pins do not have any source transistors, they are strictly 
open-drain output or an input. Changing P0.2 & P0.3 to GPIO will not 
connect source transistors as they do not exist. As has been said many 
times ... RT*M.

BTW, drive the leds by sinking current rather than trying to source. If 
you do this you also have the option of tying the leds to a +5V supply 
(through resistors of course) if that is more convenient.

*Peter*

mahbub1833 wrote:
> Yes, P0.2 and P0.3 are I2C pins. But my question is when I enable the 
> pins as GPIO (in IAR by PINSEL0_bit.P0_2 = 0x00; and PINSEL0_bit.P0_0 
> = 0x00 ;), then the supply voltage should change to 5v. Isn't it?
>
> Doesn't the voltage change with the change in behavior?

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.