Harold Hallikainen wrote: > I did a project with a bit banged uart on a 16f630 (1200bps). My second > chip gave me serial errors, but I then discovered I needed to manually set > the oscillator cal value (code below). After that, a bunch of systems have > worked fine. > > Bank1 > call 3FFh ;Get the cal value > movwf OSCCAL ;Calibrate > Bank0 > > > Harold > > In line with that: I found out that running your system with TWO stop bits (rather than one) allows the UARTS at each end to resynch between characters. This usually allows the system to work fine with a 3-4% error. --Bob -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist