Recalibration Utility Oscillator


Posted on Oct 15, 2012

The PIC 12F629 and 12F675 devices have an internal 4Mhz oscillator that enables the devices to be used without an external crystal or RC network. This frees up one or two pins for I/O use and allows the device to be built into minimum component count designs. The internal oscillator needs to be calibrated and this is achieved by reading a factory programmed calibration setting and writing it into the OSCCAL register during initialisation of the device by the application software.



The calibration word is located at the last address in the user program memory area, address 0x3FF. It is in the form of a RETLW instruction and the user code should include a CALL 0x3FF instruction which will return with the calibration setting in the




Leave Comment

characters left:

New Circuits

.

 


Popular Circuits

Audio-millivoltmeter
cable tv signal booster amplifier
Simple fire alarm circuit using IC timer NE555
Simple PWM inverter circuit diagram using PWM chip SG3524
LED-Circuits 8
ZX Interface 2
Electronic amplifier
6 to 35kV substation cable entry into the segment of Lightning b
Medical call with lighting signal receiver circuit diagram



Top