Yahoo Groups archive

Lpc2000

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

Message

Re: GPIO read bug fixed in 2114/2124?

2004-04-14 by philips_apps

Bob,

the wording (though correct) is nor explicitely clear. We will update 
and clarify the documentation.
In regards to the implementation, I would like to apologize because 
it does not help a lot for applications that want to read the status 
of ALL port pins (no matter how configured).
Unfortunately for now and the near future we will have to live with 
it and we will make the best attempt to describe the (non)
functionality more clear.

Best regards, Robert

p.s. postings from philips_apps are from different people in our 
applications team as mentioned in one of my first postings. We try 
our best to keep this group informed even before we can update 
documentation which is a (too) lengthy process

--- In lpc2000@yahoogroups.com, "bobbruce000" <bobbruce000@y...> 
wrote:
> --- In lpc2000@yahoogroups.com, "philips_apps" <philips_apps@y...> 
wrote: 
> > In case of the LPC2114/2124 part, the one you are working with, 
the 
> > IOPIN register described in the "Table 68: GPIO Register Map" 
> > ("LPC2114/2124/2212/2214 User Manual", page 110, February 03, 
2004 
> > edition) refers to IOPIN as "GPIO Port Pin value register", and 
not 
> > to the "Port Pin value…" in general. More detailed description of
> > the same register (page 111), starts with: 
> > 
> > "This register provides the value of the GPIO pins…"
> > 
> > Therefore, IOPIN reflects any outside world influence on the GPIO 
> > configured pins only!
> 
> This may very well be the way the hardware works (and I will take
> your word for it).  But claiming that this is what the documentation
> says is baloney.  Try reading page 110.  I quote (capitalized 
emphasis
> is mine):
> 
> IOPIN:  .... The current state of the port pins can always be read
>          from this register, REGARDLESS OF PIN DIRECTION OR MODE.
> 
> > This is the way all ports in Philips LPC2000 family of
> > microcontrollers are designed to operate. 
> > 
> > Hope this clarifies the subject of GPIO pins. 
> 
> It clarifies it for me.  But that won't help the next person who
> downloads the documentation, and believes it is accurate.
> 
>     -bob

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.