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/