PIC12LC671-04I/SM Microchip Technology, PIC12LC671-04I/SM Datasheet - Page 67

no-image

PIC12LC671-04I/SM

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

Specifications of PIC12LC671-04I/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)
2.5 V ~ 5.5 V
Data Converters
A/D 4x8b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
8-SOIC (5.3mm Width), 8-SOP, 8-SOEIAJ
Processor Series
PIC12LC
Core
PIC
Data Bus Width
8 bit
Data Ram Size
128 B
Maximum Clock Frequency
4 MHz
Number Of Programmable I/os
5
Number Of Timers
8
Operating Supply Voltage
2.5 V to 5.5 V
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
ICE2000
Minimum Operating Temperature
- 40 C
On-chip Adc
8
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Connectivity
-
Lead Free Status / Rohs Status
 Details
FIGURE 9-16: WAKE-UP FROM SLEEP THROUGH INTERRUPT
9.9
If the code protection bit(s) have not been pro-
grammed, the on-chip program memory can be read
out for verification purposes.
9.10
Four memory locations (2000h - 2003h) are designated
as ID locations, where the user can store checksum or
other code-identification numbers. These locations are
not accessible during normal execution, but are read-
able and writable during program/verify. It is recom-
mended that only the 4 least significant bits of the ID
location are used.
9.11
PIC12C67X microcontrollers can be serially pro-
grammed while in the end application circuit. This is
simply done with two lines for clock and data, and three
other lines for power, ground and the programming volt-
age. This allows customers to manufacture boards with
unprogrammed devices, and then program the micro-
controller just before shipping the product. This also
allows the most recent firmware or a custom firmware
to be programmed.
The device is placed into a program/verify mode by
holding the GP1 and GP0 pins low, while raising the
MCLR (V
specification). GP1 (clock) becomes the programming
clock and GP0 (data) becomes the programming data.
Both GP0 and GP1 are Schmitt Trigger inputs in this
mode.
Note 1: XT, HS or LP oscillator mode assumed.
Note:
1999 Microchip Technology Inc.
GPIF flag
(INTCON<0>)
GIE bit
(INTCON<7>)
INSTRUCTION FLOW
CLKOUT(4)
Instruction
fetched
Instruction
executed
GPIO pin
2: T
3: GIE = ’1’ assumed. In this case after wake- up, the processor jumps to the interrupt routine. If GIE = ’0’, execution will
4: CLKOUT is not available in XT, HS or LP osc modes, but shown here for timing reference.
OSC1
Program Verification/Code Protection
ID Locations
In-Circuit Serial Programming
PP
PC
continue in-line.
Microchip does not recommend code pro-
tecting windowed devices.
OST
) pin from V
Inst(PC) = SLEEP
Q1 Q2 Q3 Q4
= 1024T
Inst(PC - 1)
PC
OSC
IL
(drawing not to scale) This delay will not be there for INTRC and EXTRC osc mode.
to V
Q1 Q2 Q3 Q4
Inst(PC + 1)
SLEEP
PC+1
IHH
(see programming
Q1
Processor in
SLEEP
PC+2
T
OST
(2)
Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4
Inst(PC + 2)
Inst(PC + 1)
After reset, and if the device is placed into program-
ming/verify mode, the program counter (PC) is at loca-
tion 00h. A 6-bit command is then supplied to the
device. Depending on the command, 14-bits of pro-
gram data are then supplied to or from the device,
depending if the command was a load or a read. For
complete details of serial programming, please refer to
the PIC12C67X Programming Specifications.
FIGURE 9-17: TYPICAL IN-CIRCUIT SERIAL
PC+2
External
Connector
Signals
Data I/O
CLK
+5V
V
0V
PP
Interrupt Latency
Dummy cycle
(Note 3)
PC + 2
PROGRAMMING
CONNECTION
To Normal
Connections
To Normal
Connections
Q1 Q2 Q3 Q4
PIC12C67X
Inst(0004h)
Dummy cycle
0004h
DS30561B-page 67
V
V
MCLR/V
GP1
GP0
Q1 Q2 Q3 Q4
DD
SS
PIC12C67X
Inst(0005h)
Inst(0004h)
0005h
V
PP
DD

Related parts for PIC12LC671-04I/SM