Oscillator Calibration Register
Name:
OSCCAL
Offset:
0x39
Reset:
xxxxxxxx
Access:
-
Bit76543210
CAL[7:0]
AccessR/WR/WR/WR/WR/WR/WR/WR/W
Resetxxxxxxxx

Bits 7:0 – CAL[7:0]: Oscillator Calibration Value

Oscillator Calibration Value

The Oscillator Calibration Register is used to trim the Calibrated Internal RC Oscillator to remove process variations from the oscillator frequency. A pre-programmed calibration value is automatically written to this register during chip reset, giving the Factory calibrated frequency as specified in the table of Calibration Accuracy of Internal RC Oscillator. The application software can write this register to change the oscillator frequency. The oscillator can be calibrated to frequencies as specified in the table of Calibration Accuracy of Internal RC Oscillator. Calibration outside that range is not guaranteed.

The CAL[7:0] bits are used to tune the frequency within the selected range. A setting of 0x00 gives the lowest frequency in that range, and a setting of 0xFF gives the highest frequency in the range.