# Vault 7: Projects

This publication series is about specific projects related to the Vault 7 main publication.

### Protego

# PIC24FJ32MC10X -- Oscillator

- 1
- 2
…
- 8
- 9
- 10
- 11
- 12
…
- 33
- 34

PIC24F Family Reference Manual
DS39700C-page 6-10 © 2009 Microchip Technology Inc.
6.4.3 Oscillator Tuning Register (OSCTUN)
The FRC Oscillator Tuning register (Register 6-3) 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 OSCTUN to find the closest value to the desired frequency.
Register 6-3: OSCTUN: FRC Oscillator Tuning Register
U-0 U-0 U-0 U-0 U-0 U-0 U-0 U-0
— — — — — — — —
bit 15 bit 8
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 15-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

- 1
- 2
…
- 8
- 9
- 10
- 11
- 12
…
- 33
- 34