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

Baud rate HELP............

I am using LPC 1114,with 12Mhz crystal frequency...

How can I get 9600 baud rate .....?

Please tell me how to use clock sources to get that baud rate?

Parents
  • It's almost perfect. An error of 0.15%.

    Most microcontrollers can't get perfect baudrates, but asynchronous communication is designed to support small speed errors.

    The requirements to get perfect baudrates are to either have an original clock frequency that divides perfectly, or to have a microcontroller with baudrate correction logic where UART can work with a fractional divisor - it inserts an extra clock cycle now and then to correct for creep caused by the integer division in the "normal" baudrate calculation.

Reply
  • It's almost perfect. An error of 0.15%.

    Most microcontrollers can't get perfect baudrates, but asynchronous communication is designed to support small speed errors.

    The requirements to get perfect baudrates are to either have an original clock frequency that divides perfectly, or to have a microcontroller with baudrate correction logic where UART can work with a fractional divisor - it inserts an extra clock cycle now and then to correct for creep caused by the integer division in the "normal" baudrate calculation.

Children
No data