PIC16F628-20/P Microchip Technology, PIC16F628-20/P Datasheet - Page 96
![IC MCU FLASH 2KX14 COMP 18DIP](/photos/6/76/67657/18-dip_300mil__sml.jpg)
PIC16F628-20/P
Manufacturer Part Number
PIC16F628-20/P
Description
IC MCU FLASH 2KX14 COMP 18DIP
Manufacturer
Microchip Technology
Series
PIC® 16Fr
Datasheet
1.PIC16F627-04P.pdf
(170 pages)
Specifications of PIC16F628-20/P
Program Memory Type
FLASH
Program Memory Size
3.5KB (2K x 14)
Package / Case
18-DIP (0.300", 7.62mm)
Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Connectivity
UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
16
Eeprom Size
128 x 8
Ram Size
224 x 8
Voltage - Supply (vcc/vdd)
3 V ~ 5.5 V
Oscillator Type
Internal
Operating Temperature
0°C ~ 70°C
Processor Series
PIC16F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
224 B
Interface Type
SCI/USART
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
16
Number Of Timers
3
Operating Supply Voltage
3 V to 5.5 V
Maximum Operating Temperature
+ 70 C
Mounting Style
Through Hole
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
0 C
Data Rom Size
128 B
Height
3.3 mm
Length
22.86 mm
Supply Voltage (max)
5.5 V
Supply Voltage (min)
3 V
Width
6.35 mm
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
DVA16XP183 - ADAPTER ICE 18DIP/SOIC/SSOPAC164010 - MODULE SKT PROMATEII DIP/SOIC
Data Converters
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
PIC16F62X
FIGURE 14-2:
Figure 14-3 shows a series resonant oscillator circuit.
This circuit is also designed to use the fundamental
frequency of the crystal. The inverter performs a 180°
phase shift in a series resonant oscillator circuit. The
330 kΩ resistors provide the negative feedback to bias
the inverters in their linear region.
FIGURE 14-3:
14.2.4
For applications, where a clock is already available
elsewhere, users may directly drive the PIC16F62X
provided that this external clock source meets the
AC/DC timing requirements listed in Section 17.4.
Figure 14-4 shows how an external clock circuit should
be configured.
FIGURE 14-4:
DS40300C-page 94
74AS04
Clock From
ext. system
330 KΩ
10K
RA6
+5V
10K
EXTERNAL CLOCK IN
C1
0.1 PF
XTAL
74AS04
XTAL
4.7K
74AS04
C2
330 KΩ
EXTERNAL PARALLEL
RESONANT CRYSTAL
OSCILLATOR CIRCUIT
EXTERNAL SERIES
RESONANT CRYSTAL
OSCILLATOR CIRCUIT
EXTERNAL CLOCK INPUT
OPERATION (EC, HS, XT
OR LP OSC
CONFIGURATION)
10K
74AS04
OSC1/RA7
OSC2/RA6
74AS04
PIC16F62X
TO OTHER
DEVICES
TO OTHER
DEVICES
PIC16F62X
CLKIN
PIC16F62X
CLKIN
Preliminary
14.2.5
For timing insensitive applications, the ER (External
Resistor) Clock mode offers additional cost savings.
Only one external component, a resistor to V
needed to set the operating frequency of the internal
oscillator. The resistor draws a DC bias current which
controls the oscillation frequency. In addition to the
resistance value, the oscillator frequency will vary from
unit to unit, and as a function of supply voltage and
temperature. Since the controlling parameter is a DC
current and not a capacitance, the particular package
type and lead frame will not have a significant effect on
the resultant frequency.
Figure 14-5 shows how the controlling resistor is
connected to the PIC16F62X. For R
10k, the oscillator operation becomes sensitive to
temperature. For very high R
oscillator becomes sensitive to leakage and may stop
completely. Thus, we recommend keeping R
between 10k and 1M.
FIGURE 14-5:
Table 14-3 shows the relationship between the
resistance value and the operating frequency.
TABLE 14-3:
The ER Oscillator mode has two options that control
the unused OSC2 pin. The first allows it to be used as
a general purpose I/O port. The other configures the
pin as an output providing the F
clock divided by 4) for test or external synchronization
purposes.
Resistance
100K
220K
470K
10K
20K
47K
ER OSCILLATOR
1M
1K
0
RESISTANCE AND
FREQUENCY RELATIONSHIP
EXTERNAL RESISTOR
2003 Microchip Technology Inc.
RA7/OSC1/CLKIN
RA6/OSC2/CLKOUT
EXT
values (e.g., 1M), the
OSC
Frequency
10.4 MHz
7.4 MHz
5.3 MHz
1.6 MHz
800 kHz
300 kHz
200 kHz
EXT
10 MHz
3 MHz
signal (internal
values below
SS
EXT
, is