> 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 Hi Harold, You may very well be right, but I can't find any reference to this in the PIC16F87/88 data sheet... it just says it's factory calibrated. This leads me to believe it's quite a different chip - but I would be happy to be proved wrong! -- Brent Brown, Electronic Design Solutions 16 English Street, St Andrews, Hamilton 3200, New Zealand Ph: +64 7 849 0069 Fax: +64 7 849 0071 Cell: 027 433 4069 eMail: brent.brown@clear.net.nz -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist