PIC12F675-E/P Microchip Technology Inc., PIC12F675-E/P Datasheet - Page 56

no-image

PIC12F675-E/P

Manufacturer Part Number
PIC12F675-E/P
Description
8 PIN, 1.75 KB FLASH, 64 RAM, 6 I/O
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC12F675-E/P

A/d Inputs
4-Channel, 10-Bit
Comparators
1
Cpu Speed
5 MIPS
Eeprom Memory
128 Bytes
Input Output
5
Memory Type
Flash
Number Of Bits
8
Package Type
8-pin PDIP
Programmable Memory
1.75K Bytes
Ram Size
64 Bytes
Speed
20 MHz
Timers
1-8-bit, 1-16-bit
Voltage, Range
2-5.5 V
Lead Free Status / Rohs Status
RoHS Compliant part Electrostatic Device

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC12F675-E/P
Manufacturer:
Microchip Technology
Quantity:
1 849
Part Number:
PIC12F675-E/P
Manufacturer:
TEKMOS
Quantity:
6 238
PIC12F629/675
9.2.3
For applications where a clock is already available
675 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
For applications where precise timing is not a require-
ment, the RC oscillator option is available. The opera-
tion 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 GP4 to be used as a general purpose I/O
or to output F
FIGURE 9-3:
DS41190C-page 54
elsewhere, users may directly drive the PIC12F629/
C
EXT
R
V
EXT
SS
EXT
F
values. The user also needs to account for the
V
OSC
DD
/4
EXTERNAL CLOCK IN
RC OSCILLATOR
EXT
OSC
GP5/OSC1/
CLKIN
GP4/OSC2/CLKOUT
) and capacitor (C
/4.
RC OSCILLATOR MODE
PIC12F629/675
EXT
) values
Internal
Clock
9.2.5
When calibrated, the internal oscillator provides a fixed
4 MHz (nominal) system clock. See Electrical
Specifications,
variation over voltage and temperature.
Two options are available for this Oscillator mode
which allow GP4 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 PIC12F629/675 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
GP4/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 PIC12F629/675 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
Section 12.0,
/4.
CALIBRATING THE
INTERNAL OSCILLATOR
 2003 Microchip Technology Inc.
OSC
OSC
Z
;Bank 1
;Get the cal value
;Calibrate
;Bank 0
/4 can be used for test
OSCILLATOR
for
/4) is output on the
information
DD
on

Related parts for PIC12F675-E/P