At 12:14 PM 5/13/2005, Bob Blick wrote: > > In the datasheet of 18F2455 we have > > Table 20-3 Baud Rates For Aynchronous Modes (USART module) > > (I guess other pics would have the same thing as well) > > The errors seem to range from 0.16% up to -45.75%. Are all these > > values valid, or should I be aiming at a certain percentage, I am > > confused? > >Usually if I am designing something using the usart, I choose a crystal >frequency that divides well. For the 16-series PICs and PC baud rates, >19.6608 MHz is readily available. > >For the 18 series with PLL, you will need to choose something 10MHz or less. Yup. When using uarts to talk to other standard devices, it's best to use a baud rate multiple crystal. Then the error is zero, and you don't have to worry. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist