PIC12CE518-04/SM Microchip Technology, PIC12CE518-04/SM Datasheet - Page 492

no-image

PIC12CE518-04/SM

Manufacturer Part Number
PIC12CE518-04/SM
Description
IC MCU OTP 512X12 W/EE 8-SOIJ
Manufacturer
Microchip Technology
Series
PIC® 12Cr

Specifications of PIC12CE518-04/SM

Core Size
8-Bit
Program Memory Size
768B (512 x 12)
Core Processor
PIC
Speed
4MHz
Peripherals
POR, WDT
Number Of I /o
5
Program Memory Type
OTP
Eeprom Size
16 x 8
Ram Size
25 x 8
Voltage - Supply (vcc/vdd)
3 V ~ 5.5 V
Oscillator Type
Internal
Operating Temperature
0°C ~ 70°C
Package / Case
8-SOIC (5.3mm Width), 8-SOP, 8-SOEIAJ
Controller Family/series
PIC12
No. Of I/o's
6
Eeprom Memory Size
16Byte
Ram Memory Size
25Byte
Cpu Speed
4MHz
No. Of Timers
1
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
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
Data Converters
-
Connectivity
-
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant
PICmicro MID-RANGE MCU FAMILY
26.4.2
DS31026A-page 26-8
Note 1: XT, HS or LP oscillator mode assumed.
INSTRUCTION FLOW
INTF flag
(INTCON<1>)
GIE bit
(INTCON<7>)
Instruction
fetched
Instruction
executed
CLKOUT
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 these osc modes, but shown here for timing reference.
INT pin
OSC1
PC
(4)
continue in-line.
Wake-up Using Interrupts
OST
Inst(PC) = SLEEP
Q1 Q2 Q3 Q4
= 1024T
Inst(PC - 1)
PC
When interrupts are globally disabled (GIE cleared) and any interrupt source has both its inter-
rupt enable bit and interrupt flag set, one of the following events will occur:
• If the interrupt occurs before the execution of a SLEEP instruction, the SLEEP instruction will
• If the interrupt occurs during or after the execution of a SLEEP instruction, the device will
Even if the flag bits were checked before executing a SLEEP instruction, it may be possible for
flag bits to become set before the SLEEP instruction completes. To determine whether a SLEEP
instruction executed, test the PD bit. If the PD bit is set, the SLEEP instruction was executed as
an NOP.
To ensure that the WDT is clear, a CLRWDT instruction should be executed before a SLEEP instruc-
tion.
Figure 26-2: Wake-up from Sleep Through Interrupt
OSC
complete as an NOP. Therefore, the WDT and WDT postscaler will not be cleared, the TO
bit will not be set and PD bit will not be cleared.
immediately wake-up from sleep. The SLEEP instruction will be completely executed before
the wake-up. Therefore, the WDT and WDT postscaler will be cleared, the TO bit will be set
and the PD bit will be cleared.
(drawing not to scale) This delay will not be there for RC osc mode.
Q1 Q2 Q3 Q4
Inst(PC + 1)
SLEEP
PC+1
Q1
Processor in
SLEEP
PC+2
T
OST
(2)
Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4
Inst(PC + 2)
Inst(PC + 1)
PC+2
Interrupt Latency
Dummy cycle
PC + 2
(2)
Q1 Q2 Q3 Q4
Inst(0004h)
Dummy cycle
1997 Microchip Technology Inc.
0004h
Q1 Q2 Q3 Q4
Inst(0005h)
Inst(0004h)
0005h

Related parts for PIC12CE518-04/SM