PIC16F630-I/ML Microchip Technology, PIC16F630-I/ML Datasheet - Page 58
![1.75KB Flash, 64 RAM, 12 I/O 16 QFN 4x4mm TUBE](/photos/6/65/66536/mfg_mcp7386x_qfn_sml.jpg)
PIC16F630-I/ML
Manufacturer Part Number
PIC16F630-I/ML
Description
1.75KB Flash, 64 RAM, 12 I/O 16 QFN 4x4mm TUBE
Manufacturer
Microchip Technology
Series
PIC® 16Fr
Datasheets
1.PIC16F616T-ISL.pdf
(8 pages)
2.PIC12F629T-ISN.pdf
(24 pages)
3.PIC16F630-ISL.pdf
(132 pages)
4.PIC16F630-ISL.pdf
(2 pages)
5.PIC16F630-ISL.pdf
(10 pages)
Specifications of PIC16F630-I/ML
Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Peripherals
Brown-out Detect/Reset, POR, WDT
Number Of I /o
12
Program Memory Size
1.75KB (1K x 14)
Program Memory Type
FLASH
Eeprom Size
128 x 8
Ram Size
64 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
16-QFN
Processor Series
PIC16F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
64 B
Interface Type
RS- 232, USB
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
12
Number Of Timers
2
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120, ICE2000, DM163014, DM164120-4
Minimum Operating Temperature
- 40 C
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
AC164324 - MODULE SKT FOR MPLAB 8DFN/16QFN
Data Converters
-
Connectivity
-
Lead Free Status / Rohs Status
Details
PIC16F630/676
9.2.3
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
“Electrical Specifications”. Figure 9-2 shows how
an external clock circuit should be configured.
9.2.4
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
• 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
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
FIGURE 9-3:
DS40039F-page 58
C
EXT
V
R
EXT
SS
EXT
F
values. The user also needs to account for the
V
OSC
DD
/4
EXTERNAL CLOCK IN
RC OSCILLATOR
OSC
EXT
RA5/OSC1/
CLKIN
RA4/OSC2/CLKOUT
) and capacitor (C
/4.
RC OSCILLATOR MODE
PIC16F630/676
EXT
) values
Internal
Clock
9.2.5
When calibrated, the internal oscillator provides a fixed
4 MHz (nominal) system clock. See Electrical
Specifications, Section 12.0 “Electrical Specifica-
tions”, 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
9.2.5.1
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
and V
EXAMPLE 9-1:
9.2.6
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
RA4/OSC2/CLKOUT pin. F
purposes or to synchronize other logic.
Note:
BSF
CALL
MOVWF
BCF
SS
as close to the device as possible.
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.
INTERNAL 4 MH
CLKOUT
STATUS, RP0
3FFh
OSCCAL
STATUS, RP0
OSC
Calibrating the Internal Oscillator
/4.
CALIBRATING THE
INTERNAL OSCILLATOR
2010 Microchip Technology Inc.
OSC
OSC
;Bank 1
;Get the cal value
;Calibrate
;Bank 0
Z
/4 can be used for test
OSCILLATOR
/4) is output on the
DD