[an error occurred while processing this directive]
|
2. Writing UBBRH Affects Both UART0 and UART1
Writing UBRRHI updates baud rate generator for both UART0 and UART1. The baud rate
generator's counter is updated each time either UBRR or UBRRHI are written. Since the
UBRRHI regiSter is shared by UART0 and UART1, changing the baud rate for one UART
will affect the operation of the other UART.
Problem Fix/Workaround
Do not update UBRRHI for one UART when transmitting/receiving data on the other.
E-mail: info@telesys.ru