I've been searching through the various threads that address the oscillator calibration for this chip and I'm a bit confused. I've never used this chip before and I think I may have wiped out the calibration value during programming. I developed my program on a 16F684 using its internal 4 MHz osc but when I ported it over to the 509 the serial data is garbled. The scope show data at approximately the correct timing and sometimes a few correct characters make it through OK. So it seems like the timing is off just a bit.
The manual and several posts state that PBP handles the OSCCAL automatically. Does that mean that if I erase the chip prior to programming that somehow PBP puts the factory assigned value back into the OSCCAL register?
How does one go about "tweaking" the OSCCAL register?
Thanks all,
Mark
Bookmarks