The only Way to generate the correct Baudrate is to use a "Baudrate friendly" Chrystal.n_vikranth wrote:I followed UART library and done every thing as mentioned in library file including connections...
i using ATMEGA16A and 8Mhz crystal, but i cant communicate with pc....
wat ever i entered in the screen and transmitted it should be back,but the reply is always something like EEEEEEEEEEE....... what is my mistake?
how to communicate with pc using uart(rx and tx).
and when ever i build a program it shows Generated baud rate is 9615 bps (error = 0.16 percent)
how to generate accurate 9600 bps , help me........
Use 3,6864 MHz to run your CPU and you get an error of 0,0 % up to 230KBaud.
When you have ever read the Datasheet of your CPU you should know this.
Check the USART Section in the Datasheets. There are Tables of Settings and error Rates for the.
best regards from Germany