falcon026
Newbie level 6
i m using at89c5131 @8MHz and i want to communicate via uart ...
but the actual baud rates after calculations are coming to
baud rate | value to be put in TH1 register | TH1 (8bit register)
-------------------------------------------------------------
4800 | 251.659 | 252
9600 | 253.829 | 254
19200 | 254.914 | 255
because of so much difference communication is not perfect ,different characters are received on other end. how to tackle this ?
settings m using:
mode 1 - 8 bit variable baud rate is selected
timer1 in 8-bit auto reload mode
but the actual baud rates after calculations are coming to
baud rate | value to be put in TH1 register | TH1 (8bit register)
-------------------------------------------------------------
4800 | 251.659 | 252
9600 | 253.829 | 254
19200 | 254.914 | 255
because of so much difference communication is not perfect ,different characters are received on other end. how to tackle this ?
settings m using:
mode 1 - 8 bit variable baud rate is selected
timer1 in 8-bit auto reload mode