We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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?
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.