falcon026
Newbie level 6
- Joined
- Dec 22, 2014
- Messages
- 13
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 99
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