Search the web
Sign In
New User? Sign Up
lpc900_users
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
LPC952 Serial port 1 interrupt enable bug   Message List  
Reply | Forward Message #421 of 637 |
I found out another problem with using LPC952 serial port 1: the interrupt
enable bit is IEN2.2 and the IEN2 SFR address is D5H. (This is correct, as in
the datasheet).

But the ANL instruction seems not to work on this SFR.

I mean:

This code
IEN2 &= 0x04;
(ANL IEN2,#04H)
does NOT activate the interrupt enable bit, and the interrupt does not wotk

while this code below
IEN2 = 0x04;
(MOV IEN2,#04H)
seems to work correctly.

I think this is a bug in the chip, isn't it?

Is there any NXP (Philips) engineer here that can check this?

I am using a PLCC44 chip with the following mark:
P89LPC952FA
CF9568
TIG0627A


Regards,

Fausto

--
Fausto Marzoli - 8052.it - http://www.8052.it/



Fri Apr 20, 2007 7:13 am

faumarz
Offline Offline
Send Email Send Email

Forward
Message #421 of 637 |
Expand Messages Author Sort by Date

I found out another problem with using LPC952 serial port 1: the interrupt enable bit is IEN2.2 and the IEN2 SFR address is D5H. (This is correct, as in the...
Fausto Marzoli
faumarz
Offline Send Email
Apr 20, 2007
7:20 am

... No, my fault again... the bug is in the Esacademy code architect that generates an ANL instead of a ORL with the bitmask. I was so "fused" after many hours...
Fausto Marzoli
faumarz
Offline Send Email
Apr 20, 2007
4:21 pm

... problem ... Code ... in the ... => Do very body a favor and inform Esacademy so code Architect can be updated. support@... ...
phlpcmicro
Offline Send Email
Apr 20, 2007
4:55 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help