2010-2012 Microchip Technology Inc.
DS41412E-page 37
PIC18(L)F2X/4XK22
2.6.1.1
OSCTUNE Register
The HFINTOSC/MFINTOSC oscillator circuits are
factory calibrated but can be adjusted in software by
writing to the TUN<5:0> bits of the OSCTUNE register
The default value of the TUN<5:0> is ‘000000’. The
value is a 6-bit two’s complement number.
When
the
OSCTUNE
register
is
modified,
the
HFINTOSC/MFINTOSC frequency will begin shifting to
the new frequency. Code execution continues during this
shift. There is no indication that the shift has occurred.
The TUN<5:0> bits in OSCTUNE do not affect the
LFINTOSC frequency. Operation of features that
depend on the LFINTOSC clock source frequency, such
as the Power-up Timer (PWRT), Watchdog Timer
(WDT),
Fail-Safe
Clock
Monitor
(FSCM)
and
peripherals, are not affected by the change in frequency.
The OSCTUNE register also implements the INTSRC
and PLLEN bits, which control certain features of the
internal oscillator block.
The INTSRC bit allows users to select which internal
oscillator
provides
the
clock
source
when
the
31.25 kHz frequency option is selected. This is covered
in greater detail in Section 2.2.3 “Low Frequency
The PLLEN bit controls the operation of the frequency
multiplier, PLL, for all primary external clock sources
and internal oscillator modes. However, the PLL is
intended for operation with clock sources between
4 MHz and 16 MHz. For more details about the function
of the PLLEN bit, see Section 2.8.2 “PLL in HFIN-
2.7
Register Definitions: Oscillator Tuning
REGISTER 2-3:
OSCTUNE: OSCILLATOR TUNING REGISTER
R/W-0
INTSRC
PLLEN(1)
TUN<5:0>
bit 7
bit 0
Legend:
R = Readable bit
W = Writable bit
U = Unimplemented bit, read as ‘0’
-n = Value at POR
‘1’ = Bit is set
‘0’ = Bit is cleared
x = Bit is unknown
bit 7
INTSRC: Internal Oscillator Low-Frequency Source Select bit
1
= 31.25 kHz device clock derived from the MFINTOSC or HFINTOSC source
0
= 31.25 kHz device clock derived directly from LFINTOSC internal oscillator
bit 6
PLLEN: Frequency Multiplier 4xPLL for HFINTOSC Enable bit(1)
1
= PLL enabled
0
= PLL disabled
bit 5-0
TUN<5:0>: Frequency Tuning bits – use to adjust MFINTOSC and HFINTOSC frequencies
011111
= Maximum frequency
011110
=
000001
=
000000
= Oscillator module (HFINTOSC and MFINTOSC) are running at the factory calibrated
frequency.
111111
=
100000
= Minimum frequency
Note 1:
The PLLEN bit is active for all the primary clock sources (internal or external) and is designed to operate
with clock frequencies between 4 MHz and 16 MHz.
相关PDF资料
PIC18F45J11-I/PT IC PIC MCU FLASH 32KB 44-TQFP
PIC24HJ12GP201-I/SO IC PIC MCU FLASH 12KB 18SOIC
DSPIC33FJ06GS102-I/SO IC DSPIC MCU/DSP 6K 28-SOIC
PIC32MX220F032D-I/PT IC MCU 32BIT 32KB FLASH 44TQFP
SFW9R-2STE1 SFW9R-2STE1-FFC/FPC CONN
SFW5R-1STE1 SFW5R-1STE1-FFC/FPC CONN
SFW14R-1STE1 SFW14R-1STE1-FFC/FPC CONN
SFW12R-2STE1 SFW12R-2STE1-FFC/FPC CONN
相关代理商/技术参数
PIC18F26K22-I/SS 功能描述:8位微控制器 -MCU 64KB Flash 3968B RAM 8b FamilynanoWat XLP RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC18F26K22T-I/ML 功能描述:8位微控制器 -MCU 64KB Flash 3968B RAM 8b FamilynanoWat XLP RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC18F26K22T-I/SO 功能描述:8位微控制器 -MCU 64KB Flash 3968B RAM 8b FamilynanoWat XLP RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC18F26K22T-I/SS 功能描述:8位微控制器 -MCU 64KB Flash 3968B RAM 8b FamilynanoWat XLP RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC18F26K80-E/ML 功能描述:8位微控制器 -MCU 64KB FL 4KBRM 16MIPS 12bit ADC CTMU RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC18F26K80-E/MM 功能描述:8位微控制器 -MCU ECAN 64KB FL 4KB RAM 16MIPS 12b ADC CTMU RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC18F26K80-E/SO 功能描述:8位微控制器 -MCU 64KB FL 4KBRM 16MIPS 12bit ADC CTMU RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC18F26K80-E/SP 功能描述:8位微控制器 -MCU 64KB FL 4KBRM 16MIPS 12bit ADC CTMU RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT