ChipFind - документация

Электронный компонент: PIC12LCE518-04/P

Скачать:  PDF   ZIP

Document Outline

1998 Microchip Technology Inc.
Preliminary
DS40172B-page 1
Devices Included in this Data Sheet:
PIC12CE518
PIC12CE519
High-Performance RISC CPU:
Only 33 single word instructions to learn
All instructions are single cycle (1
s) except for
program branches which are two-cycle
Operating speed: DC - 4 MHz clock input
DC - 1
s instruction cycle
12-bit wide instructions
8-bit wide data path
Special function hardware registers
Two-level deep hardware stack
Direct, indirect and relative addressing modes for
data and instructions
Peripheral Features:
8-bit real-time clock/counter (TMR0) with 8-bit
programmable prescaler
1,000,000 erase/write cycle EEPROM data
memory
EEPROM data retention > 40 years
Device
Memory
EPROM
Program
RAM
Data
EEPROM
Data
PIC12CE518
512 x 12
25 x 8
16 x 8
PIC12CE519
1024 x 12
41 x 8
16 x 8
Pin Diagram:
Special Microcontroller Features:
In-Circuit Serial Programming (ICSPTM) of pro-
gram memory (via two pins)
Internal 4 MHz RC oscillator with programmable
calibration
Power-on Reset (POR)
Device Reset Timer (DRT)
Watchdog Timer (WDT) with its own on-chip RC
oscillator for reliable operation
Programmable code-protection
Power saving SLEEP mode
Wake-up from SLEEP on pin change
Internal weak pull-ups on I/O pins
Internal pull-up on MCLR pin
Selectable oscillator options:
- INTRC: Internal 4 MHz RC oscillator
- EXTRC: External low-cost RC oscillator
- XT:
Standard crystal/resonator
- LP:
Power saving, low frequency crystal
CMOS Technology:
Low-power, high-speed CMOS EPROM/EEPROM
technology
Fully static design
Wide temperature range:
- Commercial: 0
C to +70
C
- Industrial: -40
C to +85
C
- Extended: -40
C to +125
C
Wide operating voltage range:
-Commercial: 2.5V to 5.5V
-Industrial: 2.5V to 5.5V
-Extended: 2.5V to 5.5V
Low power consumption
- < 2 mA typical @ 5V, 4 MHz
- 15
A typical @ 3V, 32 kHz
- < 1
A typical standby current
PDIP, SOIC, Windowed CERDIP
PIC12CE518
PIC12CE519
GP5/OSC1/CLKIN
GP4/OSC2
GP3/MCLR/V
PP
V
DD
1
2
3
4
8
7
6
5
V
SS
GP0
GP1
GP2/T0CKI
PIC12CE5XX
8-Pin, 8-Bit CMOS Microcontroller with
EEPROM Data Memory
PIC12CE5XX
DS40172B-page 2
Preliminary
1998 Microchip Technology Inc.
TABLE OF CONTENTS
1.0
General Description..................................................................................................................................................................... 3
2.0
PIC12CE5XX Device Varieties.................................................................................................................................................... 5
3.0
Architectural Overview ................................................................................................................................................................ 7
4.0
Memory Organization ................................................................................................................................................................ 11
5.0
I/O Port ...................................................................................................................................................................................... 19
6.0
EEPROM Peripheral Operation................................................................................................................................................. 21
7.0
Timer0 Module and TMR0 Register .......................................................................................................................................... 27
8.0
Special Features of the CPU ..................................................................................................................................................... 31
9.0
Instruction Set Summary ........................................................................................................................................................... 43
10.0
Development Support................................................................................................................................................................ 55
11.0
Electrical Characteristics - PIC12CE5XX .................................................................................................................................. 61
12.0
DC and AC Characteristics - PIC12CE5XX .............................................................................................................................. 77
13.0
Packaging Information............................................................................................................................................................... 81
Index .................................................................................................................................................................................................... 87
PIC12CE5XX Product Identification System........................................................................................................................................ 89
To Our Valued Customers
Most Current Data Sheet
To obtain the most up-to-date version of this data sheet, please check our Worldwide Web site at:
http://www.microchip.com
You can determine the version of a data sheet by examining its literature number found on the bottom outside corner of any page.
The last character of the literature number is the version number. e.g., DS30000A is version A of document DS30000.
Errata
An errata sheet may exist for current devices, describing minor operational differences (from the data sheet) and recommended
workarounds. As device/documentation issues become known to us, we will publish an errata sheet. The errata will specify the revi-
sion of silicon and revision of document to which it applies.
To determine if an errata sheet exists for a particular device, please check with one of the following:
Microchip's Worldwide Web site; http://www.microchip.com
Your local Microchip sales office (see last page)
The Microchip Corporate Literature Center; U.S. FAX: (602) 786-7277
When contacting a sales office or the literature center, please specify which device, revision of silicon and data sheet (include liter-
ature number) you are using.
Corrections to this Data Sheet
We constantly strive to improve the quality of all our products and documentation. We have spent a great deal of time to ensure that
this document is correct. However, we realize that we may have missed a few things. If you find any information that is missing or
appears in error, please:
Fill out and mail in the reader response form in the back of this data sheet.
E-mail us at webmaster@microchip.com.
We appreciate your assistance in making this a better document.
1998 Microchip Technology Inc.
Preliminary
DS40172B-page 3
PIC12CE5XX
1.0
GENERAL DESCRIPTION
The 8-pin PIC12CE5XX from Microchip Technology is
a family of low-cost, high performance, 8-bit, fully static,
EPROM/EEPROM-based CMOS microcontrollers. It
employs a RISC architecture with only 33 single word/
single cycle instructions. All instructions are single
cycle (1
s) except for program branches which take
two cycles. The PIC12CE5XX delivers performance an
order of magnitude higher than its competitors in the
same price category. The 12-bit wide instructions are
highly symmetrical resulting in 2:1 code compression
over other 8-bit microcontrollers in its class. The easy
to use and easy to remember instruction set reduces
development time significantly.
The PIC12CE5XX products are equipped with special
features that reduce system cost and power require-
ments. The Power-On Reset (POR) and Device Reset
Timer (DRT) eliminate the need for external reset cir-
cuitry. There are four oscillator configurations to choose
from, including INTRC internal oscillator mode and the
power-saving LP (Low Power) oscillator mode. Power
saving SLEEP mode, Watchdog Timer and code
protection features improve system cost, power and
reliability.
The PIC12CE5XX are available in the cost-effective
One-Time-Programmable (OTP) versions which are
suitable for production in any volume. The customer
can take full advantage of Microchip's price leadership
in OTP microcontrollers while benefiting from the OTP's
flexibility.
The PIC12CE5XX products are supported by a full-fea-
tured macro assembler, a software simulator, an in-cir-
cuit emulator, a `C' compiler, fuzzy logic support tools,
a low-cost development programmer, and a full fea-
tured programmer. All the tools are supported on IBM
PC and compatible machines.
1.1
Applications
The PIC12CE5XX series fits perfectly in applications
ranging from sensory systems, gas detectors and
security systems to low-power remote transmitters/
receivers. The EPROM programming technology
makes customizing application programs (transmitter
codes, appliance settings, receiver frequencies, etc.)
extremely fast and convenient. While the EEPROM
data memory technology allows for the changing of cal-
ibrations factors and security codes, the small footprint
8-pin packages, for through hole or surface mounting,
make this microcontroller series perfect for applications
with space limitations. Low-cost, low-power, high per-
formance, ease of use and I/O flexibility make the
PIC12CE5XX series very versatile even in areas where
no microcontroller use has been considered before
(e.g., timer functions, replacement of "glue" logic and
PLD's in larger systems, coprocessor applications).
PIC12CE5XX
DS40172B-page 4
Preliminary
1998 Microchip Technology Inc.
TABLE 1-1:
PIC12CXXX & PIC12CEXXX FAMILY OF DEVICES
PIC12C508(A) PIC12C509(A) PIC12CE518 PIC12CE519
PIC12C671
PIC12C672 PIC12CE673 PIC12CE674
Clock
Maximum
Frequency
of Operation
(MHz)
4
4
4
4
10
10
10
10
Memory
EPROM
Program
Memory
512 x 12
1024 x 12
512 x 12
1024 x 12
1024 x 14
2048 x 14
1024 x 14
2048 x 14
RAM Data
Memory
(bytes)
25
41
25
41
128
128
128
128
Peripherals
EEPROM
Data Memory
(bytes)
--
--
16
16
--
--
16
16
Timer
Module(s)
TMR0
TMR0
TMR0
TMR0
TMR0
TMR0
TMR0
TMR0
A/D Con-
verter (8-bit)
Channels
--
--
--
--
4
4
4
4
Features
Wake-up
from SLEEP
on pin
change
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Interrupt
Sources
--
--
4
4
4
4
I/O Pins
5
5
5
5
5
5
5
5
Input Pins
1
1
1
1
1
1
1
1
Internal
Pull-ups
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
In-Circuit
Serial
Programming
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Number of
Instructions
33
33
33
33
35
35
35
35
Packages
8-pin DIP,
JW, SOIC
8-pin DIP,
JW, SOIC
8-pin DIP,
JW, SOIC
8-pin DIP,
JW, SOIC
8-pin DIP,
JW, SOIC
8-pin DIP,
JW, SOIC
8-pin DIP,
JW
8-pin DIP,
JW
All PIC12CXXX & PIC12CEXXX devices have Power-on Reset, selectable Watchdog Timer, selectable
code protect and high I/O current capability.
All PIC12CXXX & PIC12CEXXX devices use serial programming with data pin GP0 and clock pin GP1.
1998 Microchip Technology Inc.
Preliminary
DS40172B-page 5
PIC12CE5XX
2.0
PIC12CE5XX DEVICE
VARIETIES
A variety of packaging options are available.
Depending on application and production
requirements, the proper device option can be
selected using the information in this section. When
placing orders, please use the PIC12CE5XX Product
Identification System at the back of this data sheet to
specify the correct part number.
2.1
UV Erasable Devices
The UV erasable version, offered in windowed cerdip
package, is optimal for prototype development and
pilot programs.
The UV erasable version can be erased and
reprogrammed to any of the configuration modes.
Microchip's PICSTART
PLUS and PRO MATE
pro-
grammers all support programming of the
PIC12CE5XX.
Third party programmers also are avail-
able; refer to the
Microchip
Third Party Guide
for a list
of sources.
2.2
One-Time-Programmable (OTP)
Devices
The availability of OTP devices is especially useful for
customers who need the flexibility for frequent code
updates or small volume applications.
The OTP devices, packaged in plastic packages permit
the user to program them once. In addition to the
program memory, the configuration bits must also be
programmed.
Note:
Please note that erasing the device will
also erase the pre-programmed internal
calibration value for the internal oscillator.
The calibration value must be saved prior
to erasing the part.
2.3
Quick-Turnaround-Production (QTP)
Devices
Microchip offers a QTP Programming Service for
factory production orders. This service is made
available for users who choose not to program a
medium to high quantity of units and whose code
patterns have stabilized. The devices are identical to
the OTP devices but with all EPROM locations and fuse
options already programmed by the factory. Certain
code and prototype verification procedures do apply
before production shipments are available. Please con-
tact your local Microchip Technology sales office for
more details.
2.4
Serialized Quick-Turnaround
Production (SQTP
SM
) Devices
Microchip offers a unique programming service where
a few user-defined locations in each device are
programmed with different serial numbers. The serial
numbers may be random, pseudo-random or
sequential.
Serial programming allows each device to have a
unique number which can serve as an entry-code,
password or ID number.