Electronic – Baudrate Calculator


I need to know what the value of TH1 and TL1 should to set the baudrate of an 8051 controller to 115200 Hz. I'm using an oscillator frequency of 11.0952 MHz.

Also, is there any software that calculate baudrate values?

Best Answer

Is on-line baud rate calculator OK? Timer 1 used as baud-rate generator works in auto-reload 8-bit mode, so you only have to set TH1, TL1 is loaded from TH1 at the beginning of each cycle. Check this tutorial.