PIC12C672-10/SM Microchip Technology, PIC12C672-10/SM Datasheet - Page 46

no-image

PIC12C672-10/SM

Manufacturer Part Number
PIC12C672-10/SM
Description
IC MCU OTP 2KX14 A/D 8-SOIJ
Manufacturer
Microchip Technology
Series
PIC® 12Cr
Datasheets

Specifications of PIC12C672-10/SM

Core Processor
PIC
Core Size
8-Bit
Speed
10MHz
Peripherals
POR, WDT
Number Of I /o
5
Program Memory Size
3.5KB (2K x 14)
Program Memory Type
OTP
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
3 V ~ 5.5 V
Data Converters
A/D 4x8b
Oscillator Type
Internal
Operating Temperature
0°C ~ 70°C
Package / Case
8-SOIC (5.3mm Width), 8-SOP, 8-SOEIAJ
For Use With
XLT08SO-1 - SOCKET TRANSITION 8SOIC 150/208AC164312 - MODULE SKT FOR PM3 16SOICISPICR1 - ADAPTER IN-CIRCUIT PROGRAMMING309-1048 - ADAPTER 8-SOIC TO 8-DIP309-1047 - ADAPTER 8-SOIC TO 8-DIPAC124001 - MODULE SKT PROMATEII 8DIP/SOIC
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Connectivity
-
Other names
PIC12C672-10/SMR
PIC12C672-10/SMR
PICmicro MID-RANGE MCU FAMILY
2.5.1
DS31002A-page 2-16
Clock Out
A calibration instruction is programmed into the last address of the implemented program
memory. This instruction contains the calibration value for the internal RC oscillator. This value
is programmed as a RETLW XX instruction where XX is the calibration value. In order to retrieve
the calibration value, issue a CALL YY instruction where YY is the last location in the device’s user
accessible program memory. The calibration value is now loaded in the W register. The program
should then perform a MOVWF OSCCAL instruction to load the value into the internal RC oscillator
calibration register.
of the program memory.
Table 2-5:
The internal RC oscillator can be configured to provide a clock out signal on the CLKOUT pin
when the configuration word address (2007h) is programmed with FOSC2, FOSC1, FOSC0
equal to ‘101’ for Internal RC or ‘111’ for External RC. CLKOUT, which is divided by 4, can be
used for test purposes or to synchronize other logic.
When the calibration value of the internal RC oscillator is accidently erased, the clock out feature
allows the user to determine what the calibration value should be. This is achieved by writing a
program which modifies (increments/decrements) the value of the OSCCAL register. When the
CLKOUT pin is at 4 MHz ( 1.5%) at 5V and 25˚C, the OSCCAL register has the correct calibra-
tion value. This value then needs to be written to a port or shifted out serially, so that the value
can be written down and programmed into the calibration location.
Memory Size
Note 1: Erasing the device (windowed devices) will also erase the factory programmed
Note 2: OSCCAL<1:0> are unimplemented and should be written as ‘0’. This will help
Program
(Words)
512
1K
2K
4K
8K
calibration value for the internal oscillator.
Prior to erasing a windowed device, the internal oscillator calibration value must be
saved. It is a good idea to write this value on the package of the device to ensure
that the calibration value is not accidently lost.
This saved valued must be restored into program memory calibration location before
programming the device.
ensure compatibility with future devices.
Calibration Value Location
Calibration Value
Table 2-5
Location
1FFFh
FFFh
1FFh
3FFh
7FFh
shows the location of the calibration value depending on the size
1997 Microchip Technology Inc.

Related parts for PIC12C672-10/SM