Baudrate in a code for 8051 microcontroller

Status
Not open for further replies.

Rockyvud

Newbie level 3
Joined
Nov 6, 2006
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,307
In this code for 8051 microcontroller

MOV TH1,#-3


DOES -3 MEANS 9600 BAUDRATE,IF YES HOW?
 

Re: baudrate

MOV TH1,# -3 is right for getting 9600 baudrate if fXTAL = 11.0592 MHz and if bit SMOD == 0. (SMOD = PCON.7)
 

    Rockyvud

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…