A discussion group for the PICMicro microcontroller. Also called the Microchip PIC, this list is dedicated to the use and abuse of this fine, simple, microcontroller. Close to topic posts are welcome, ie. general electronics.
Use xtal osc.
One byte is typically 10bits and that means a max drift of +/-5% if the last bit is to be
detected correctly
(assuming sampeling in the middle of the bit).
The practical requirement is more like -/+1% for reliable operation. Only a xtal or maybe
resonator
can achieve that type of accuracy.
kg4pid wrote:
> To make it work I had to change the the value that gets moved into
> OSCCAL. Since the serial routine that I used had been around awhile
> I can only assume that the problem is in the Pic oscilator. Don't
> know what to do to fix it though as I don't want to have to
> calibrate each pic chip.
>
> Max
--
*******************************************
VISIT MY HOME PAGE:
LAST UPDATED: 23/08/2003
*******************************************
Regards
Eirik Karlsen

(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )