Hi,
I need the sample code for initialization of UART's of P89C669.
Thanks, abc xyz
The 89c669 has 2 UART's. Basically I have worked on the 8051 controllers with 1 UART, whose initialization goes like this:
TMOD = 0x20; SCON = 0x50; TH1 = 0xFD; /*Set baudrate to 9600 at 11.0592MHz*/ TL1 = 0xFD; TR1 = 1;
I am not sure what changes would be required in this code for initializing UART0 of 89c669 which has 2 UART's
Look at the Datasheet and see what it tells you about UART2 - and compare this to UART1...