Yahoo Groups archive

Lpc2000

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

Message

Re: [lpc2000] LPC2xxx GPIO Outputs Born LOW

2004-10-26 by Robert Adsett

At 08:39 PM 10/26/04 +0000, you wrote:
>I was surprised to discover that GPIO pins, just after they're
>configured as outputs, default LOW (the opposite state of its startup
>high-impedance input mode).  For my design, LOW is an ACTIVE state.
>I can immediately set the output HIGH but I'm stuck with a
>LOW 'glitch' to deal with.  Every other micro GPIO I've worked with
>would maintain the HIGH when switching from input to output mode.

Just a stab in the dark, I would have thought they would default to the 
state of the output register.  Did you set the output before changing to 
output?



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

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.