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

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.7
The Power-down mode is entered by executing a
SLEEP
If the Watchdog Timer is enabled:
• WDT will be cleared but keeps running
• PD bit in the STATUS register is cleared
• TO bit is set
• Oscillator driver is turned off
• I/O ports maintain the status they had before
For lowest current consumption in this mode, all I/O
pins should be either at V
circuitry drawing current from the I/O pin and the com-
parators and CV
are hi-impedance inputs should be pulled high or low
externally to avoid switching currents caused by float-
ing inputs. The T0CKI input should also be at V
V
from on-chip pull-ups on GPIO should be considered.
The MCLR pin must be at a logic high level (V
9.7.1
The device can wake-up from SLEEP through one of
the following events:
1.
2.
3.
FIGURE 9-13:
DS41190C-page 66
SS
INSTRUCTION FLOW
(INTCON<1>)
SLEEP
hi-impedance).
Note:
(INTCON<7>)
Note
INTF flag
GIE bit
Instruction
Fetched
Instruction
Executed
CLKOUT
External RESET input on MCLR pin
Watchdog Timer Wake-up (if WDT was enabled)
Interrupt from GP2/INT pin, GPIO change, or a
peripheral interrupt.
for lowest current consumption. The contribution
INT pin
instruction.
OSC1
1:
2:
3:
4:
Power-Down Mode (SLEEP)
PC
was executed (driving high, low, or
(4)
It should be noted that a RESET generated
by a WDT time-out does not drive MCLR
pin low.
WAKE-UP FROM SLEEP
XT, HS or LP Oscillator mode assumed.
T
SLEEP delay in INTOSC mode.
GIE = '1' assumed. In this case after wake-up, the processor jumps to the interrupt routine. If GIE = '0', execution will continue in-line.
CLKOUT is not available in XT, HS, LP or EC Osc modes, but shown here for timing reference.
OST
Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1
Inst(PC) = SLEEP
= 1024T
REF
Inst(PC - 1)
PC
should be disabled. I/O pins that
WAKE-UP FROM SLEEP THROUGH INTERRUPT
OSC
DD
(drawing not to scale). Approximately 1 µs delay will be there for RC Osc mode. See Section 12 for wake-up from
, or V
Inst(PC + 1)
SLEEP
PC+1
SS
, with no external
Processor in
SLEEP
IHMC
DD
PC+2
).
or
T
OST
(2)
Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4
Interrupt Latency
Inst(PC + 2)
Inst(PC + 1)
The first event will cause a device RESET. The two
latter events are considered a continuation of program
execution. The TO and PD bits in the STATUS register
can be used to determine the cause of device RESET.
The PD bit, which is set on power-up, is cleared when
SLEEP is invoked. TO bit is cleared if WDT Wake-up
occurred.
When the
next instruction (PC + 1) is pre-fetched. For the device
to wake-up through an interrupt event, the correspond-
ing interrupt enable bit must be set (enabled). Wake-up
is regardless of the state of the GIE bit. If the GIE bit is
clear (disabled), the device continues execution at the
instruction after the
set (enabled), the device executes the instruction after
the
address (0004h). In cases where the execution of the
instruction following
should have an
The WDT is cleared when the device wakes up from
SLEEP, regardless of the source of wake-up.
(Note 2)
PC+2
Note:
SLEEP
SLEEP
If the global interrupts are disabled (GIE is
cleared), but any interrupt source has both
its interrupt enable bit and the correspond-
ing interrupt flag bits set, the device will
immediately wake-up from SLEEP. The
SLEEP instruction is completely executed.
Dummy cycle
instruction, then branches to the interrupt
PC + 2
NOP
instruction is being executed, the
SLEEP
SLEEP
after the
 2003 Microchip Technology Inc.
Inst(0004h)
Dummy cycle
instruction. If the GIE bit is
0004h
is not desirable, the user
SLEEP
instruction.
Inst(0005h)
Inst(0004h)
0005h

Related parts for PIC12F675-E/P