Arduino Projects   |   Raspberry Pi   |   Electronic Circuits   |   AVR   |   PIC   |   8051   |   Electronic Projects

serial control register of AT89C51

2 posts / 0 new
Last post
Anonymous
Anonymous's picture
serial control register of AT89C51

In serial control register of at89c51 the last two bits (SM0,SM1)determine the framing of data. In mode 1(SM0=0& SM1=1)data is framed as 1 start bit , 1 stop bit and 8 bit data.How the data is configured in other three modes.

nikhiljain
Anonymous's picture
serial modes

see if it helps:

SM0        SM1        Mode                      Explanation                          Baud rate
0              0              0                              8 bit shift register                 Oscillator/12
0              1              1                              8 bit UART                             Set by Timer1
1              0              2                              9 bit UART                             Oscillator/32
1              1              3                              9 bit UART                             Set by Timer1
Log in or register to post comments