Datasheet

PIC18F97J94 FAMILY
DS30575A-page 44 2012 Microchip Technology Inc.
3.3.3 OSCILLATOR TUNING REGISTER
(OSCTUNE)
The FRC Oscillator Tuning register (Register 3-5)
allows the user to fine-tune the FRC Oscillator. Refer to
the data sheet of the specific device for further
information regarding the FRC Oscillator tuning.
The tuning response of the FRC Oscillator may not be
monotonic or linear; the next closest frequency may be
offset by a number of steps. It is recommended that
users try multiple values of OSCTUNE to find the
closest value to the desired frequency.
REGISTER 3-5: OSCTUNE: FRC OSCILLATOR TUNING REGISTER
U-0 U-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0
TUN5 TUN4 TUN3 TUN2 TUN1 TUN0
bit 7 bit 0
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0
-n = Value at all Resets ‘1’ = Bit is set ‘0’ = Bit is cleared x = Bit is unknown
bit 7-6 Unimplemented: Read as ‘0
bit 5-0 TUN<5:0>: FRC Oscillator Tuning bits
011111 = Maximum frequency deviation
011110 =
.
.
.
000001 =
000000 = Center frequency; oscillator is running at factory calibrated frequency
111111 =
.
.
.
100001 =
100000 = Minimum frequency deviation