Find help, specifications and source code for the LPC900. The LPC900 challenges Microchip and AVR based on the worlds most popular 8-bit architecture the 80C51. With a 2-clock core the LPC900 series is a high performance, very flexible and low cost 8-bit microcontroller family. Designers using or interested in these devices are encouraged to share their know-how and ask questions.
LPC932-Hangs During Startup - dot2cell - Feb 16 13:32:00 2005
Hi
I had a problem during startup.
LPC932 Hangs during startup whenever there is a Mains power failure or
while switch on the device. This happens 2 out of 10 occations.
I am new to this embedded field.
I hope I will get support from the group.
Thanks for reading my mail.
With Best regards.
Dot Bala

(You need to be a member of LPC900_users -- send a blank email to LPC900_users-subscribe@yahoogroups.com )
Re: LPC932-Hangs During Startup - lpc2100_fan - Feb 16 14:34:00 2005
Hi Dot,
please get a LPC932-A1, which has been the current version for about
6-9 months now. If it still happens , post again.
Background: the original LPC932 had a problem if the voltage goes
below let's saw 1V but stays above 0.2V before it comes back on.
Usually you have some caps on your board and if you turn of the power,
it will remain for quite a while above 0.2V. In this case the LPC932
does not see a Power On reset and can behave rather strangly. Worst
case it can overwrite a part of the internal flash.
We did not have any of these problems since we switched to the
LPC932-A1, so please try that.
hth, Bob
--- In lpc900_users@lpc9..., "dot2cell" <dot2cell@y...> wrote:
>
> Hi
> I had a problem during startup.
> LPC932 Hangs during startup whenever there is a Mains power failure or
> while switch on the device. This happens 2 out of 10 occations.
> I am new to this embedded field.
> I hope I will get support from the group.
> Thanks for reading my mail.
> With Best regards.
> Dot Bala

(You need to be a member of LPC900_users -- send a blank email to LPC900_users-subscribe@yahoogroups.com )
Re: Re: LPC932-Hangs During Startup - Dot m - Feb 17 9:29:00 2005
Hi Bob,
Thanks for the support. I'll try to get LPC932A and
try again. Unfortunately I got 30 nos of TSSOP stuff
with me. Here in Chennai (India), I could not get PLCC
version.
Once again Thanks for the mail.
Dot Bala
--- lpc2100_fan <lpc2100_fan@lpc2...> wrote:
> Hi Dot,
>
> please get a LPC932-A1, which has been the current
> version for about
> 6-9 months now. If it still happens , post again.
>
> Background: the original LPC932 had a problem if the
> voltage goes
> below let's saw 1V but stays above 0.2V before it
> comes back on.
> Usually you have some caps on your board and if you
> turn of the power,
> it will remain for quite a while above 0.2V. In this
> case the LPC932
> does not see a Power On reset and can behave rather
> strangly. Worst
> case it can overwrite a part of the internal flash.
> We did not have any of these problems since we
> switched to the
> LPC932-A1, so please try that.
>
> hth, Bob
>
> --- In lpc900_users@lpc9..., "dot2cell"
> <dot2cell@y...> wrote:
> >
> > Hi
> > I had a problem during startup.
> > LPC932 Hangs during startup whenever there is a
> Mains power failure or
> > while switch on the device. This happens 2 out of
> 10 occations.
> > I am new to this embedded field.
> > I hope I will get support from the group.
> > Thanks for reading my mail.
> > With Best regards.
> > Dot Bala
__________________________________

(You need to be a member of LPC900_users -- send a blank email to LPC900_users-subscribe@yahoogroups.com )
RE: Re: LPC932-Hangs During Startup - Mithun Das - Feb 18 0:23:00 2005
It happened with me too, LPC hangs it
internal reset is used. Use external reset i.e. power on reset and it wont
hang,
-----Original Message-----
From: Dot m
[mailto:d...@yahoo.com]
Sent: Thursday, February 17, 2005
6:59 PM
To: l...@yahoogroups.com
Subject: Re: [lpc900_users] Re:
LPC932-Hangs During Startup
Hi Bob,
Thanks for the support. I'll try to get LPC932A
and
try again. Unfortunately I got 30 nos of TSSOP
stuff
with me. Here in Chennai (India), I could not get
PLCC
version.
Once again Thanks for the mail.
Dot Bala
--- lpc2100_fan <l...@yahoo.com>
wrote:
>
> Hi Dot,
>
> please get a LPC932-A1, which has been the
current
> version for about
> 6-9 months now. If it still happens , post
again.
>
> Background: the original LPC932 had a problem
if the
> voltage goes
> below let's saw 1V but stays above 0.2V
before it
> comes back on.
> Usually you have some caps on your board and
if you
> turn of the power,
> it will remain for quite a while above 0.2V.
In this
> case the LPC932
> does not see a Power On reset and can behave
rather
> strangly. Worst
> case it can overwrite a part of the internal
flash.
> We did not have any of these problems since
we
> switched to the
> LPC932-A1, so please try that.
>
> hth, Bob
>
> --- In l...@yahoogroups.com,
"dot2cell"
> <dot2cell@y...> wrote:
> >
> > Hi
> > I had a problem during startup.
> > LPC932 Hangs during startup whenever
there is a
> Mains power failure or
> > while switch on the device. This happens
2 out of
> 10 occations.
> > I am new to this embedded field.
> > I hope I will get support from the
group.
> > Thanks for reading my mail.
> > With Best regards.
> > Dot Bala
>
>
>
>
__________________________________

(You need to be a member of LPC900_users -- send a blank email to LPC900_users-subscribe@yahoogroups.com )
Header file for LPC903 etc - Peter Jakacki - Mar 6 9:50:00 2005
Has anyone done up an assembler header file for the LPC903's? Sure
would save typing in all those registers etc. If you have a sample init
file then even better.
BTW, what assemblers would you recommend using? It's been a long while
since I did 8051 code and I have a boot full of assemblers, most of them
not worth the time looking at. I will probably use Alfred Arnold's 'as'
macro assembler unless something better comes along.
I have just written a small windows app that programs the 903 through
the parallel port (why didn't Philips do this?), only needs a diode and
maybe some resistors for good measure. Any interest? If so, I'll dress
it up and upload it to lpc900_users files.
*Peter*

(You need to be a member of LPC900_users -- send a blank email to LPC900_users-subscribe@yahoogroups.com )
RE: Header file for LPC903 etc - David Kay - Mar 6 16:11:00 2005
Hi Peter,
I've just uploaded 'my' LPC900 series header file - written for the
P89LPC935 - but will work for all the sub-series parts.
It is in the files section "MOD935".
I use Metalink's assembler - available for free from their website:-
http://www.metaice.com/ASM51/ASM51.htm
Most of Philips 80C51 code examples are written for ASM51.
I've also uploaded my template program for the 935 - 935.ASM - just has
all the ISR entry points, sets all the ports to Q-bi and has a couple of
simple delay loops. Wrote that one for one of our sales reps to get him
started on a MCB900.
Your parallel port programmer sounds just like what I'm looking for -
any chance of putting it on the files section?
Best Regards,
For and On Behalf of Adilam Electronics
David Kay
Field Application Engineer - New Zealand
Tel : +64 3 341 3050
Mob: +64 21 664 351
Fax : 0800 366 247
Email : david.kay@davi...
local focus_global reach - That's adilam !
-----Original Message-----
From: Peter Jakacki [mailto:peterjak@pete...]
Sent: Monday, 7 March 2005 2:51 a.m.
To: lpc900_users@lpc9...
Subject: [lpc900_users] Header file for LPC903 etc
Has anyone done up an assembler header file for the LPC903's? Sure
would save typing in all those registers etc. If you have a sample init
file then even better.
BTW, what assemblers would you recommend using? It's been a long while
since I did 8051 code and I have a boot full of assemblers, most of them
not worth the time looking at. I will probably use Alfred Arnold's 'as'
macro assembler unless something better comes along.
I have just written a small windows app that programs the 903 through
the parallel port (why didn't Philips do this?), only needs a diode and
maybe some resistors for good measure. Any interest? If so, I'll dress
it up and upload it to lpc900_users files.
*Peter*
Yahoo! Groups Links

(You need to be a member of LPC900_users -- send a blank email to LPC900_users-subscribe@yahoogroups.com )
P89LPC938 with 10 bit A/D - David Kay - Mar 6 16:15:00 2005
I've just been sent this link:-
http://www.semiconductors.philips.com/pip/P89LPC938FHN.html
Nice to see the increased ADC resolution now available in the LPC900
series.
Best Regards,
For and On Behalf of Adilam Electronics
David Kay
Field Application Engineer - New Zealand
Tel : +64 3 341 3050
Mob: +64 21 664 351
Fax : 0800 366 247
Email : david.kay@davi...
local focus_global reach - That's adilam !

(You need to be a member of LPC900_users -- send a blank email to LPC900_users-subscribe@yahoogroups.com )
Re: Header file for LPC903 etc - Peter Jakacki - Mar 8 3:04:00 2005
Thanks for those files Dave. I downloaded a newer version of the
metalink, used the header and template you sent and assembled my file.
Now, here's the crunch, I can't seem to get 903 to perform. The
programming software looks like it's working ok, it's spitting out all
the right status bytes etc and I am not getting any errors. I have
forced programming errors to confirm the programmer is working. Since
I haven't spent much time on this at all (been writing my Forth for the
LPC21xx) it may still be an error in the way I am loading up the
program data into the 903. Is there a way to read out the program code,
I guess it's undocumented but there should be no reason why it can't.
I'll upload the programmer software when I get my 903 to run, then I
know it's working. The programmer is written in LMI Forth
(<200Kbytes) which has always proved useful for accessing hardware
etc. At the moment it uses a command line interface in a window but I
may dress it up with GUIs.
Some dumps from the LPC900 LPT Programmer where I program a 903 and
then I
check the EEPROM and play with some changes. ( comments added later )
PROGRAM RS485.BIN
; program my file
3 0 0 0 0 30 10 1
; dump of eeprom indicates
successful response
0 0 0 0 0 0 0 0
15 DD 10 ok
; these last 3 bytes are the 903's ID
ok
CHECK
; let's check the chip again
3 0 0 0 0 30 10 1
0 0 0 0 0 0 0 0
15 DD 10
ok
PMODE
ok
; Enter program mode
10 EE@ . 15 ok
; read out the user config
byte
0 EE@ . 3 ok
; read out the user config
byte
23 0 EE! ok
; store 23h into UCFG1
0 EE@ . 23 ok
; read it back for
confirmation
*Peter*

(You need to be a member of LPC900_users -- send a blank email to LPC900_users-subscribe@yahoogroups.com )