PIC14000-20/SS Microchip Technology, PIC14000-20/SS Datasheet - Page 87

IC MCU OTP 4KX14 A/D 28SSOP

PIC14000-20/SS

Manufacturer Part Number
PIC14000-20/SS
Description
IC MCU OTP 4KX14 A/D 28SSOP
Manufacturer
Microchip Technology
Series
PIC® 14r

Specifications of PIC14000-20/SS

Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Connectivity
I²C
Peripherals
POR, Temp Sensor, WDT
Number Of I /o
20
Program Memory Size
7KB (4K x 14)
Program Memory Type
OTP
Ram Size
192 x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 6 V
Data Converters
Slope A/D
Oscillator Type
Internal
Operating Temperature
0°C ~ 70°C
Package / Case
28-SSOP
Processor Series
PIC14000
Core
PIC
Data Bus Width
8 bit
Data Ram Size
192 B
Interface Type
SPI, UART
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
22
Number Of Timers
1
Operating Supply Voltage
2.7 V to 6 V
Maximum Operating Temperature
+ 70 C
Mounting Style
SMD/SMT
Development Tools By Supplier
ICE2000
Minimum Operating Temperature
0 C
On-chip Adc
14 bit
For Use With
309-1025 - ADAPTER 28-SSOP TO 28-DIP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Lead Free Status / Rohs Status
 Details
10.8.1
The SLEEP mode is entered by executing a SLEEP
instruction.
If SLEEP mode is enabled, the WDT will be cleared but
keep running. The PD bit in the STATUS register is
cleared, the TO bit is set, and on-chip oscillators are
shut off, except the WDT RC oscillator, which continues
to run. The I/O ports maintain the status they had
before the SLEEP command was executed (driving
high, low, or high-impedance).
It is an option while in SLEEP mode to leave the
on-chip oscillator running. This option allows an A/D
conversion to continue while the CPU is in SLEEP
mode. The CPU clocks are stopped in this condition to
preserve power. The operation of the on-chip oscillator
during
(SLPCON<3>). Clearing this bit to ‘0’ allows the oscil-
lator to continue to run. This bit is only active in SLEEP
mode.
For lowest power consumption in this mode, all I/O pins
should be either at V
drawing current from the I/O pin. I/O pins that are
high-impedance inputs should be pulled high or low
externally to avoid leakage currents caused by floating
inputs. The MCLR pin must be at a logic high level
(V
resistors should be considered.
10.8.2
The PIC14000 can wake up from SLEEP through one
of the following events:
1.
2.
3.
4.
5.
6.
7.
8.
1996 Microchip Technology Inc.
IH
). The contribution from any on-chip pull-up
External reset input on MCLR pin
Watchdog Timer time-out (if WDT is enabled)
Interrupt from OSC1/PBTN pin
RC<7:4> port change
I
Wake-up on programmable reference compara-
tor interrupt.
A/D conversion complete (comparator trip) inter-
rupt.
A/D timer overflow interrupt.
2
C (serial port) start/stop bit detect interrupt.
SLEEP MODE
WAKE-UP FROM SLEEP
SLEEP
DD
is
or V
controlled
SS
with no external circuitry
by
OSCOFF
Preliminary
An external reset on MCLR pin causes a device reset.
The
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. The TO
bit is cleared if a WDT time-out occurred (and caused
a wake-up).
When the SLEEP instruction is being executed, the next
instruction (PC + 1) is pre-fetched. For the device to
wake-up through an interrupt event, the corresponding
interrupt enable bit must be set. Wake-up occurs
regardless of the state of bit GIE. If bit GIE is clear, the
device continues execution at the instruction after the
SLEEP instruction. If bit GIE is set, the device executes
the instruction after the SLEEP instruction and then
branches to the interrupt address (0004h). In cases
where the execution of the instruction following SLEEP
is not desirable, the user should have a NOP after the
SLEEP instruction.
The WDT is cleared when the device wakes-up from
sleep, regardless of the source of wake-up.
10.8.3
HIBERNATE mode is an extension of SLEEP mode
with the following additions.
• WDT is forced off
• Weak pull-ups on RC<5:0> are disabled
• Some input buffers are gated-off (refer to
The HIBERNATE mode is entered by executing a
SLEEP instruction with HIBEN (SLPCON<7>) bit set.
The PIC14000 wakes up from HIBERNATE mode via
all the same mechanisms as SLEEP mode, except for
WDT time-out. HIBERNATE mode allows power con-
sumption to be reduced to a minimum.
Note:
Section 5.0)
other
HIBERNATE MODE
If the global interrupts are disabled (GIE is
cleared), but any interrupt source has both
its
corresponding interrupt flag bits set, the
device will immediately wake from SLEEP.
wake-up
interrupt
events
enable
PIC14000
are
DS40122B-page 87
bit
considered
and
the
a

Related parts for PIC14000-20/SS