參數(shù)資料
型號: 16F630
廠商: Microchip Technology Inc.
英文描述: 14-Pin FLASH-Based 8-Bit CMOS Microcontrollers
中文描述: 14引腳基于閃存的8位CMOS微控制器
文件頁數(shù): 58/132頁
文件大小: 2651K
代理商: 16F630
PIC16F630/676
DS40039C-page 56
2003 Microchip Technology Inc.
9.2.3
EXTERNAL CLOCK IN
For applications where a clock is already available
elsewhere, users may directly drive the PIC16F630/
676 provided that this external clock source meets the
AC/DC timing requirements listed in Section 12.0.
Figure 9-2 shows how an external clock circuit should
be configured.
9.2.4
RC OSCILLATOR
For applications where precise timing is not a
requirement, the RC oscillator option is available. The
operation and functionality of the RC oscillator is
dependent upon a number of variables. The RC
oscillator frequency is a function of:
Supply voltage
Resistor (R
EXT
) and capacitor (C
EXT
) values
Operating temperature.
The oscillator frequency will vary from unit to unit due
to normal process parameter variation. The difference
in lead frame capacitance between package types will
also affect the oscillation frequency, especially for low
C
EXT
values. The user also needs to account for the
tolerance of the external R and C components.
Figure 9-3 shows how the R/C combination is
connected.
Two options are available for this Oscillator mode
which allow RA4 to be used as a general purpose I/O
or to output F
OSC
/4.
FIGURE 9-3:
RC OSCILLATOR MODE
9.2.5
INTERNAL 4 MH
Z
OSCILLATOR
When calibrated, the internal oscillator provides a fixed
4 MHz (nominal) system clock. See Electrical
Specifications, Section 12.0, for information on
variation over voltage and temperature.
Two options are available for this Oscillator mode
which allow RA4 to be used as a general purpose I/O
or to output F
OSC
/4.
9.2.5.1
Calibrating the Internal Oscillator
A calibration instruction is programmed into the last
location of program memory. This instruction is a
RETLW XX
,
where the literal is the calibration value.
The literal is placed in the OSCCAL register to set the
calibration of the internal oscillator. Example 9-1
demonstrates how to calibrate the internal oscillator.
For best operation, decouple (with capacitance) V
DD
and V
SS
as close to the device as possible.
EXAMPLE 9-1:
CALIBRATING THE
INTERNAL OSCILLATOR
9.2.6
CLKOUT
The PIC16F630/676 devices can be configured to
provide a clock out signal in the INTOSC and RC
Oscillator modes. When configured, the oscillator
frequency divided by four (F
OSC
/4) is output on the
RA4/OSC2/CLKOUT pin. F
OSC
/4 can be used for test
purposes or to synchronize other logic.
RA4/OSC2/CLKOUT
C
EXT
V
DD
R
EXT
V
SS
PIC16F630/676
RA5/OSC1/
CLKIN
F
OSC
/4
Internal
Clock
Note:
Erasing the device will also erase the pre-
programmed internal calibration value for
the internal oscillator. The calibration value
must be saved prior to erasing part as
specified in the PIC16F630/676 Program-
ming specification. Microchip Develop-
ment Tools maintain all calibration bits to
factory settings.
bsf
call
movwf
bcf
STATUS, RP0
3FFh
OSCCAL
STATUS, RP0
;Bank 1
;Get the cal value
;Calibrate
;Bank 0
相關(guān)PDF資料
PDF描述
16F84 CAT 5E CROSSOVER, BLUE 15 FT PATCH CABLE
16F84A CAT 5E CROSSOVER PATCH CORD CABLE BLUE 20 FT
16F871 CAT 5E CROSSOVER PATCH CORD CABLE GREEN 6 FT
16F872 CAT 5E CROSSOVER PATCH CORD CABLE GREEN 10 FT
16F876A 28/40-pin Enhanced FLASH Microcontrollers
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
16F684-I 制造商:Microchip Technology Inc 功能描述:
16F6H 制造商:EDAL 制造商全稱:EDAL 功能描述:Silicon High Voltage Assembly
16F6H1 制造商:EDAL 制造商全稱:EDAL 功能描述:Silicon High Voltage Assembly
16F7674 制造商:未知廠家 制造商全稱:未知廠家 功能描述:SMD TWEEZER HEAD
16F7676 制造商:未知廠家 制造商全稱:未知廠家 功能描述:CLIP KABELKIT