PIC12C671T-04E/SM Microchip Technology, PIC12C671T-04E/SM Datasheet - Page 5

no-image

PIC12C671T-04E/SM

Manufacturer Part Number
PIC12C671T-04E/SM
Description
IC MCU OTP 1KX14 A/D 8-SOIJ
Manufacturer
Microchip Technology
Series
PIC® 12Cr
Datasheets

Specifications of PIC12C671T-04E/SM

Core Processor
PIC
Core Size
8-Bit
Speed
4MHz
Peripherals
POR, WDT
Number Of I /o
5
Program Memory Size
1.75KB (1K 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
-40°C ~ 125°C
Package / Case
8-SOIC (5.3mm Width), 8-SOP, 8-SOEIAJ
For Use With
AC164312 - MODULE SKT FOR PM3 16SOIC309-1048 - ADAPTER 8-SOIC TO 8-DIP309-1047 - ADAPTER 8-SOIC TO 8-DIP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Connectivity
-
2.
Correction for the “OSCCAL” Register, Section 4.2.2.7,
is shown.
REGISTER 4-7:
3.
Clarification to the “GPIO”, Section 5.1 is provided.
New I/O drawings were added.
2001 Microchip Technology Inc.
Module:
4.2.2.7
The Oscillator Calibration (OSCCAL) Register is
used to calibrate the internal 4 MHz oscillator. It
contains six bits for calibration. Increasing the
value increases the frequency.
Module:
5.1
GPIO is an 8-bit I/O register. Only the low order 6
bits are used (GP<5:0>). Bits 6 and 7 (SDA and
SCL, respectively) are used by the EEPROM
peripheral on the PIC12CE673/674. Refer to Sec-
tion 6.0 and Appendix B for use of SDA and SCL.
Please note that GP3 is an input only pin. The con-
figuration word can set several
functions. When acting as alternate functions, the
pins will read as ‘0’ during port read.
Pins GP0, GP1 and GP3 can be configured with
weak pull-ups and also with interrupt-on-change.
The interrupt on change and weak pull-up func-
tions are not pin selectable. If pin 4, (GP3), is con-
figured as MCLR, a weak pull-up is always on.
Interrupt-on-change for this pin is not set and GP3
will read as '0'. Interrupt-on-change is enabled by
setting bit GPIE, INTCON<3>.
The interrupt can wake the device from SLEEP.
The user, in the interrupt service routine, can clear
the interrupt in the following manner:
a)
match condition.
b)
A mismatch condition will continue to set flag bit
GPIF. Reading GPIO will end the mismatch condi-
tion and allow flag bit GPIF to be cleared.
Note that external oscillator use overrides the
GPIO functions on GP4 and GP5.
Any read or write of GPIO will end the mis-
Clear flag bit GPIF.
bit 7-2
bit 1-0
GPIO
OSCCAL REGISTER
OSCCAL Register
GPIO Register
OSCCAL REGISTER (ADDRESS 8Fh)
CAL<5:0>: Calibration
Unimplemented: Read as ’0’
bit 7
Legend:
R = Readable bit
- n = Value at POR
R/W-1
CAL5
R/W-0
CAL4
I/O’s to alternate
R/W-0
CAL3
W = Writable bit
’1’ = Bit is set
R/W-0
CAL2
FIGURE 5-1:
Interrupt-on-Change
Data bus
PORT
PORT
TRIS
TRIS
WR
WR
RD
RD
D
D
U = Unimplemented bit, read as ‘0’
’0’ = Bit is cleared
To A/D Converter
CK
CK
R/W-0
CAL1
GPPU
Q
Q
Q
Q
GP0 and GP1 Block Diagram
RD PORT
R/W-0
CAL0
PIC12C67X
Analog
Mode
Q
Q
Input
x = Bit is unknown
EN
EN
D
D
U-0
DS80067C-page 5
V
Weak
DD
V
V
DD
SS
U-0
I/O Pin
bit 0

Related parts for PIC12C671T-04E/SM