This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

XTAL frequency for Serial RS232

According to the 8051 text book, in order
to generate a standard baudrate used for
serial rs232 coomunication, the XTAL
frequency has to be 11.059MHZ.
My current project uses a 14.318MHZ
XTAL. Is there anyway I can get around
this in order to generate a standard
baudrate such as 9600 etc ....

Thanks in advance


Jimmy

Parents
  • "Well, if you have a c51 derivate that can be clocked that high... "

    Most new "advanced" derivatives will run at much more than 16Mhz. e.g. the Philips P89C51Rx2 will run at 20/6 or 33/12 Mhz. In the 6 clock mode, the prescaler is twice as long so you will have to calculate the baudrate with 40Mhz if you use a 20 Mhz crystal.

    Ha' en rar dag

    Erik

Reply
  • "Well, if you have a c51 derivate that can be clocked that high... "

    Most new "advanced" derivatives will run at much more than 16Mhz. e.g. the Philips P89C51Rx2 will run at 20/6 or 33/12 Mhz. In the 6 clock mode, the prescaler is twice as long so you will have to calculate the baudrate with 40Mhz if you use a 20 Mhz crystal.

    Ha' en rar dag

    Erik

Children