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

Электронный компонент: P12C508

Скачать:  PDF   ZIP

Document Outline

1996 Microchip Technology Inc.
Advance Information
DS40139A-page 1
Devices included in this Data Sheet:
PIC12C508 and PIC12C509 are 8-bit microcontrollers
packaged in 8-lead packages. They are based on the
Enhanced PIC16C5X family.
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
Seven special function hardware registers
Two-level deep hardware stack
Direct, indirect and relative addressing modes for
data and instructions
Internal 4 MHz RC oscillator with programmable
calibration
In-circuit serial programming
Peripheral Features:
8-bit real time clock/counter (TMR0) with 8-bit
programmable prescaler
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 pull-ups on I/O pins
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
Internal pull-up on MCLR pin
Device
EPROM
RAM
PIC12C508
512 x 12
25
PIC12C509
1024 x 12
41
CMOS Technology:
Low power, high speed CMOS EPROM
technology
Fully static design
Wide operating voltage range:
- Commercial: 2.5V to 5.5V
- Industrial: 2.5V to 5.5V
Low power consumption
- < 2 mA @ 5V, 4 MHz
- 15
A typical @ 3V, 32 KHz
- < 1
A typical standby current
Pin Diagram
PDIP, SOIC
8
7
6
5
1
2
3
4
PIC12C508
V
SS
GP0
GP1
GP2/T0CKI
PIC12C509
GP5/OSC1/CLKIN
GP4/OSC2
GP3/MCLR/V
PP
VDD
PIC12C5XX
8-Pin, 8-Bit CMOS Microcontroller
This document was created with FrameMaker 4 0 4
PIC12C5XX
DS40139A-page 2
Advance Information
1996 Microchip Technology Inc.
TABLE OF CONTENTS
1.0
General Description .......................................................................................................................................... 3
2.0
PIC12C5XX Device Varieties............................................................................................................................ 5
3.0
Architectural Overview ...................................................................................................................................... 7
4.0
Memory Organization...................................................................................................................................... 11
5.0
I/O Port............................................................................................................................................................ 19
6.0
Timer0 Module and TMR0 Register................................................................................................................ 21
7.0
Special Features of the CPU .......................................................................................................................... 25
8.0
Instruction Set Summary................................................................................................................................. 37
9.0
Development Support ..................................................................................................................................... 49
10.0
Electrical Characteristics - PIC12C5XX .......................................................................................................... 53
11.0
Packaging Information .................................................................................................................................... 65
Appendix A:PIC16/17 Microcontrollers.......................................................................................................................... 69
Index.............................................................................................................................................................................. 79
PIC12C5XX Product Identification System ................................................................................................................... 83
To Our Valued Customers
We constantly strive to improve the quality of all our products and documentation. We have spent an exceptional
amount of time to ensure that these documents are 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 use the reader response form in the
back of this data sheet to inform us. We appreciate your assistance in making this a better document.
1996 Microchip Technology Inc.
Advance Information
DS40139A-page 3
PIC12C5XX
1.0
GENERAL DESCRIPTION
The PIC12C5XX from Microchip Technology is a family
of low-cost, high performance, 8-bit, fully static,
EPROM/ROM-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 PIC12C5XX 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 PIC12C5XX 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.
Power saving SLEEP mode, Watchdog Timer and code
protection features improve system cost, power and
reliability.
The PIC12C5XX 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 PIC12C5XX 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 PIC12C5XX series fits perfectly in applications
ranging from personal care appliances and security
systems to low-power remote transmitters/receivers.
The EPROM technology makes customizing applica-
tion programs (transmitter codes, appliance settings,
receiver frequencies, etc.) extremely fast and conve-
nient. The small footprint packages, for through hole or
surface mounting, make this microcontroller series per-
fect for applications with space limitations. Low-cost,
low-power, high performance, ease of use and I/O flex-
ibility make the PIC12C5XX 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, coproces-
sor applications).
PIC12C5XX
DS40139A-page 4
Advance Information
1996 Microchip Technology Inc.
TABLE 1-1:
PIC12C5XX FAMILY OF DEVICES
PIC12C508
4
512
25
TMR0
Yes
5
1
Yes
2.5-5.5
Yes
33
8-pin PDIP, 8-pin SOIC
PIC12C509
4
1024
41
TMR0
Yes
5
1
Yes
2.5-5.5
Yes
33
8-pin PDIP, 8-pin SOIC
All PIC12C5XX devices have Power-on Reset, selectable W
atchdog
T
imer
, selectable code protect
and high I/O current capability
.
All PIC12C5XX devices use serial programming with data pin GP0 and clock pin GP1.
Maximum Frequency of Operation (MHz)
EPROM
Data Memory (bytes)
Timer Module(s)
Wake-up from SLEEP on pin change
I/O Pins
Voltage Range (Volts)
Number of Instructions
Packages
Program Memory
Clock
Memory
Peripherals
Features
In-Circuit Serial Programming
Input Pins
Internal Pull-ups
1996 Microchip Technology Inc.
Advance Information
DS40139A-page 5
PIC12C5XX
2.0
PIC12C5XX 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 PIC12C5XX Product
Identification System at the back of this data sheet to
specify the correct part number.
2.1
One-Time-Programmable (OTP)
Devices
The availability of OTP devices is especially useful for
customers expecting frequent code changes and
updates.
The OTP devices, packaged in plastic packages,
permit the user to program them once. In addition to
the program memory, the configuration bits must be
programmed.