Skip to main content
jones2
Associate III
Feb 23, 2004 1:21 AM UTC
Question

uart

Posted on February 23, 2004 at 02:21

uart

This topic has been closed for replies.

2 replies

hanan54
Associate II
May 17, 2011 9:58 AM UTC
Posted on May 17, 2011 at 11:58

hi

Yes you can use a different baudrate for each uart.

Uart0 use timer2 and uart1 will use timer1.

To select timer2 for uart0 set RCLK = 1 ,TCLK= 1 in T2CON

To select timer1 for uart1 set RCLK1 = 0 ,TCLK1= 0 in PCON

see T2CON,PCON Register detail in the data sheet

hanan

[ This message was edited by: hanan54 on 23-02-2004 06:53 ]
jones2
jones2Author
Associate III
May 17, 2011 9:58 AM UTC
Posted on May 17, 2011 at 11:58

Hello,

can I use a different baudrate for each uart.

I'm currently using timer2 as baudrate generator.

Thanks.