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.
LPC952 datasheet error (Serial port 1) - Fausto Marzoli - Apr 19 10:05:21 2007
I just found an error in the P89LPC952 User Manual (Rev.00), and also in the
reg952.h header file that you can download from the Keil website.
The error is in the serial port 1 control register: S1CON correct address is
B6H, while at pages 55 and 58 it's indicated as B5H.
Fortunately you can find it correctly indicated as B6H at page 15.
As I said, the error is also in the keil C51 reg952.h header file, which
contains other two minor errors: BRGR0_1 and BRGR1_1 are named "BRG0_1"
and "BRG1_1".
About the UART1 use, the Esacademy Code Generator generates a wrong code for
UART1, as the SFR S1CON is NOT bitaddressable (bits RI_1 and TI_1 are not
directly addressable).
That's all, for now...
--
Fausto Marzoli - 8052.it - http://www.8052.it/

(You need to be a member of LPC900_users -- send a blank email to LPC900_users-subscribe@yahoogroups.com )
Re: LPC952 datasheet error (Serial port 1) - Fausto Marzoli - Apr 19 10:22:30 2007
Alle 16:05, giovedì 19 aprile 2007, Fausto Marzoli ha scritto:
> About the UART1 use, the Esacademy Code Generator generates a wrong code for
> UART1, as the SFR S1CON is NOT bitaddressable (bits RI_1 and TI_1 are not
> directly addressable).
My fault: this is not true. I just checked the esacademy code generator, and
the code is correct now.
Maybe I downloaded the UART0 code and then modified it for UART1...
Regards,
Fausto
--
Fausto Marzoli - 8052.it - http://www.8052.it/

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