Yahoo Groups archive

Lpc2000

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

Message

Re: TD1(pin 22) on LPC2292/LPC2294 as GPIO

2006-02-02 by Boris Kralik

When I tried set/clr pin P0.26, no changes on TD1.
I works only with LPC2294/2292.
In the manual this pin is not available (page 5 in Preliminary data
Rev01-05 2004).
Regards.
--- In lpc2000@yahoogroups.com, "unity0724" <unity0724@...> wrote:
>
> Hi, Sorry for some delays... Did not have a chance to get near an
> LPC21xx chip for a week...
> Pls test out/verify following code.   It seems toggling Pin 10 which 
> is an NC Pin on the LPC2124. Can you verify at your side??
> 
> PINSEL1 |= 0x00300000;
> IODIR0  |= 0x04000000;
> while (1) {
> 	for (i=0;i<10000;i++);
> 	IOSET0=0x04000000;	// Set P0.26 
> 	for (i=0;i<10000;i++);
> 	IOCLR0=0x04000000;	// Clr P0.26
> }
> 
> - Somehow waveform is not 50%, I did not try to figure out why.
>   That port bit might have some weird delays/bugs.
> - I do not have a LPC2292/4, only LPC2124 here.   Pin 10 is NC pin
>   for LPC2124.
> - I think Philips errata sheet did say this pin must NOT be pulled
>   low during reset
> - I will NOT want to use the pin in this way, unless real
>   "emergency"...    :)
> - Hope philips will put P0.26 back...  It is difficult to find
>   contiguous/consecutive 8-bit data bus bits for external peripheral
>   interface.   I guess some VHDL guys must have screw up something
>   on P0.26...   :)
> - Good luck and have fun, pls tell me of more discoveries...
> Regards
> 
> --- In lpc2000@yahoogroups.com, Boris Králik <kralikbo@> wrote:
> >
> > I try TD1 pin set as GPIO (P0.26) and toogle it
> > (SET/CLR), but without effect.
> > Any sugestion ?
> > 
> > --- unity0724 <unity0724@> wrote:
> > 
> > > Hi,
> > > I was suspecting that pin to be port bit P0.26
> > > previously.
> > > But dare not use it.   May be you can try with
> > > setting PINSEL0
> > > and try toggle it.   Let me know the result,
> > > thanks.... :)
> > > Regards
> > > 
> > > 
> > > --- In lpc2000@yahoogroups.com, "Boris Kralik"
> > > <kralikbo@y...> wrote:
> > > >
> > > > Hi.
> > > > I want to use TD1 pin on LPC2292/LPC2294 as
> > > output, but in manual is
> > > > not ports to GPIO. Is possible to use TD1 as GPIO
> > > ? If yes, how it
> > > > make it ?
> > > > Thx.
> > > >
> > > 
> > > 
> > > 
> > > 
> > > 
> > 
> > 
> > Regards / S pozdravom Boris Kralik
> > 
> > http://www.geocities.com/kralikbo/
> > -------------------------------------------------
> > 
> > 
> > 		
> > ___________________________________________________________ 
> > Yahoo! Photos – NEW, now offering a quality print service from 
> just 8p a photo http://uk.photos.yahoo.com
> >
>

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.