PIC
Microcontroller
RS232
IO
SPBRG Calc
Clock Speed (ex: 3.27895 MHz = 3.27895):
Allowable Error (ex: 3 = 3 percent or .97 to 1.03):
Based on Andy Kunz's
baudrate.c
See also:
16 bit SPGBRG calculator thanks to Benny!
Automatic (asm macro) setting of the SPBRG, etc... values based on desired baud rate and processor speed
from Olin Lathrop
http://forum.microchip.com/tm.aspx?m=76411&mpage=1&key=𫲓
The SPBRG Calc' thread on the MC forum contains an excel spreadsheet and a link to a stand-alone app'