首页 > 器件类别 >

PIC12LCE519-04/ISM

8-Pin, 8-Bit CMOS Microcontrollers

厂商名称:Microchip(微芯科技)

厂商官网:https://www.microchip.com

下载文档
文档预览
PIC12C5XX
8-Pin, 8-Bit CMOS Microcontrollers
Devices included in this Data Sheet:
• PIC12C508 • PIC12C508A
• PIC12C509 • PIC12C509A
• PIC12CR509A
• PIC12CE518
• PIC12CE519
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
• 1,000,000 erase/write cycle EEPROM data
memory
• EEPROM data retention > 40 years
• 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
Note:
Throughout this data sheet PIC12C5XX
refers to the PIC12C508, PIC12C509,
PIC12C508A, PIC12C509A,
PIC12CR509A, PIC12CE518 and
PIC12CE519. PIC12CE5XX refers to
PIC12CE518 and 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
Memory
Device
PIC12C508
PIC12C508A
PIC12C509
PIC12C509A
PIC12CE518
PIC12CE519
PIC12CR509A
EPROM
Program
512 x 12
512 x 12
1024 x 12
1024 x 12
512 x 12
1024 x 12
1024 x 12
ROM
Program
RAM
Data
25
25
41
41
25
41
41
16
16
EEPROM
Data
CMOS Technology:
• Low power, high speed CMOS EPROM/ROM
technology
• Fully static design
• Wide operating voltage range
• Wide temperature range:
- Commercial: 0°C to +70°C
- Industrial: -40°C to +85°C
- Extended: -40°C to +125°C
• Low power consumption
- < 2 mA @ 5V, 4 MHz
- 15
µA
typical @ 3V, 32 KHz
- < 1
µA
typical standby current
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
©
1999 Microchip Technology Inc.
DS40139E-page 1
PIC12C5XX
Pin Diagram - PIC12C508/509
PDIP, 208 mil SOIC, Windowed Ceramic Side Brazed
V
DD
GP5/OSC1/CLKIN
GP4/OSC2
GP3/MCLR/V
PP
1
2
3
4
8
7
6
5
V
SS
GP0
GP1
GP2/T0CKI
PIC12C508
PIC12C509
Pin Diagram - PIC12C508A/509A,
PIC12CE518/519
PDIP, 150 & 208 mil SOIC, Windowed CERDIP
V
DD
GP5/OSC1/CLKIN
GP4/OSC2
GP3/MCLR/V
PP
1
2
3
4
8
7
6
5
V
SS
GP0
GP1
GP2/T0CKI
PIC12C508A
PIC12C509A
PIC12CE518
PIC12CE519
Pin Diagram - PIC12CR509A
PDIP, 150 & 208 mil SOIC
V
DD
GP5/OSC1/CLKIN
GP4/OSC2
GP3/MCLR/V
PP
1
2
3
4
8
7
6
5
V
SS
GP0
GP1
GP2/T0CKI
PIC12CR509A
Device Differences
Device
PIC12C508A
PIC12LC508A
PIC12C508
PIC12C509A
PIC12LC509A
PIC12C509
PIC12CR509A
PIC12CE518
PIC12LCE518
PIC12CE519
PIC12LCE519
Voltage
Range
3.0-5.5
2.5-5.5
2.5-5.5
3.0-5.5
2.5-5.5
2.5-5.5
2.5-5.5
3.0-5.5
2.5-5.5
3.0-5.5
2.5-5.5
Oscillator
See Note 1
See Note 1
See Note 1
See Note 1
See Note 1
See Note 1
See Note 1
-
-
-
-
Oscillator
Calibration
2
(Bits)
6
6
4
6
6
4
6
6
6
6
6
Process
Technology
(Microns)
0.7
0.7
0.9
0.7
0.7
0.9
0.7
0.7
0.7
0.7
0.7
Note 1:
If you change from the PIC12C50X to the PIC12C50XA or to the PIC12CR50XA, please verify
oscillator characteristics in your application.
Note 2:
See Section 7.2.5 for OSCCAL implementation differences.
DS40139E-page 2
©
1999 Microchip Technology Inc.
PIC12C5XX
TABLE OF CONTENTS
General Description............................................................................................................................................... 4
PIC12C5XX Device Varieties ................................................................................................................................ 7
Architectural Overview........................................................................................................................................... 9
Memory Organization .......................................................................................................................................... 13
I/O Port ................................................................................................................................................................ 21
Timer0 Module and TMR0 Register .................................................................................................................... 25
EEPROM Peripheral Operation........................................................................................................................... 29
Special Features of the CPU ............................................................................................................................... 35
Instruction Set Summary ..................................................................................................................................... 47
Development Support.......................................................................................................................................... 59
Electrical Characteristics - PIC12C508/PIC12C509............................................................................................ 65
DC and AC Characteristics - PIC12C508/PIC12C509 ........................................................................................ 75
Electrical Characteristics PIC12C508A/PIC12C509A/PIC12LC508A/PIC12LC509A/PIC12CR509A/
PIC12CE518/PIC12CE519/
PIC12LCE518/PIC12LCE519/PIC12LCR509A ................................................................................................... 79
14.0 DC and AC Characteristics
PIC12C508A/PIC12C509A/PIC12LC508A/PIC12LC509A/PIC12CE518/PIC12CE519/PIC12CR509A/
PIC12LCE518/PIC12LCE519/ PIC12LCR509A .................................................................................................. 93
15.0 Packaging Information......................................................................................................................................... 99
Index ........................................................................................................................................................................... 105
PIC12C5XX Product Identification System ................................................................................................................ 109
Sales and Support: ..................................................................................................................................................... 109
1.0
2.0
3.0
4.0
5.0
6.0
7.0
8.0
9.0
10.0
11.0
12.0
13.0
To Our Valued Customers
Most Current Data Sheet
To obtain the most up-to-date version of this data sheet, please register at 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 doc-
ument DS30000.
Errata
An errata sheet may exist for current devices, describing minor operational differences (from the data sheet) and rec-
ommended workarounds. As device/documentation issues become known to us, we will publish an errata sheet. The
errata will specify the revision 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 literature 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.
©
1999 Microchip Technology Inc.
DS40139E-page 3
PIC12C5XX
1.0
GENERAL DESCRIPTION
1.1
Applications
The PIC12C5XX from Microchip Technology is a fam-
ily of low-cost, high performance, 8-bit, fully static,
EEPROM/EPROM/ROM-based CMOS microcontrol-
lers. It employs a RISC architecture with only 33 sin-
gle word/single cycle instructions. All instructions are
single cycle (1
µs)
except for program branches
which take two cycles. The PIC12C5XX delivers per-
formance an order of magnitude higher than its com-
petitors 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 signifi-
cantly.
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 mode. Power
saving SLEEP mode, Watchdog Timer and code
protection features also 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.
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, while the EEPROM data memory technology
allows for the changing of calibration factors and secu-
rity codes. The small footprint packages, for through
hole or surface mounting, make this microcontroller
series perfect for applications with space limitations.
Low-cost, low-power, high performance, ease of use
and I/O flexibility make the PIC12C5XX series very ver-
satile even in areas where no microcontroller use has
been considered before (e.g., timer functions, replace-
ment of “glue” logic and PLD’s in larger systems, copro-
cessor applications).
DS40139E-page 4
©
1999 Microchip Technology Inc.
PIC12C5XX
TABLE 1-1:
PIC12CXXX & PIC12CEXXX FAMILY OF DEVICES
PIC12C508(A) PIC12C509(A) PIC12CR509A PIC12CE518 PIC12CE519 PIC12C671 PIC12C672 PIC12CE673 PIC12CE674
Maximum
Frequency
of Operation
(MHz)
EPROM
Program
Memory
RAM Data
Memory
(bytes)
EEPROM
Data Memory
(bytes)
Peripherals
Timer
Module(s)
A/D Con-
verter (8-bit)
Channels
Wake-up
from SLEEP
on pin
change
Interrupt
Sources
Features
I/O Pins
Input Pins
Internal
Pull-ups
In-Circuit
Serial
Programming
Number of
Instructions
Packages
4
4
4
4
4
10
10
10
10
Clock
512 x 12
1024 x 12
1024 x 12
(ROM)
41
512 x 12
1024 x 12
1024 x 14
2048 x 14
1024 x 14
2048 x 14
Memory
25
41
25
41
128
128
128
128
16
16
16
16
TMR0
TMR0
TMR0
TMR0
TMR0
TMR0
4
TMR0
4
TMR0
4
TMR0
4
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
5
1
Yes
Yes
5
1
Yes
Yes
5
1
Yes
5
1
Yes
Yes
5
1
Yes
Yes
4
5
1
Yes
Yes
4
5
1
Yes
Yes
4
5
1
Yes
Yes
4
5
1
Yes
Yes
33
8-pin DIP,
JW, SOIC
33
8-pin DIP,
JW, SOIC
33
8-pin DIP,
SOIC
33
8-pin DIP,
JW, SOIC
33
8-pin DIP,
JW, SOIC
35
8-pin DIP,
JW, SOIC
35
8-pin DIP,
JW, SOIC
35
8-pin DIP,
JW
35
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.
©
1999 Microchip Technology Inc.
DS40139E-page 5
查看更多>
c# 串口编程中 字符编码问题
我在代码中这样接收数据的: string str = comm.ReadExisting(); 接收...
suizhihen 嵌入式系统
【MSP430共享】直流屏电源监控与绝缘检测系统设计
基于直流屏的电源监控系统的各模块功能划分与采样通道多等特点, 设计了以MS P 4 3 0单片机为控...
鑫海宝贝 微控制器 MCU
#以拆会友# 小米蓝牙音箱
今早上班,收到ee寄来的奖品:小米小钢炮蓝牙音箱。一番试用过后,果断拆了看看! 浑身上下没有螺丝孔,...
cruelfox 以拆会友
sqlce数据库连接的问题
我原来是建立一个连接 一直开着...现在的问题是 数据库在SD卡存着...有人要是把卡拿出来了.....
123456654 嵌入式系统
ADC/DAC应用设计宝典
本帖最后由 qwqwqw2088 于 2015-4-28 17:52 编辑 ADC/DAC应用...
qwqwqw2088 模拟与混合信号
我的ST710FZT6的使用历程
由于项目需要,我需要4个串口、至少32K RAM的CPU,原来用的是C8051F020 用外扩...
maihy1985 stm32/stm8
热门器件
热门资源推荐
器件捷径:
00 01 02 03 04 05 06 07 08 09 0A 0C 0F 0J 0L 0M 0R 0S 0T 0Z 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F 1H 1K 1M 1N 1P 1S 1T 1V 1X 1Z 20 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 2E 2F 2G 2K 2M 2N 2P 2Q 2R 2S 2T 2W 2Z 30 31 32 33 34 35 36 37 38 39 3A 3B 3C 3D 3E 3F 3G 3H 3J 3K 3L 3M 3N 3P 3R 3S 3T 3V 40 41 42 43 44 45 46 47 48 49 4A 4B 4C 4D 4M 4N 4P 4S 4T 50 51 52 53 54 55 56 57 58 59 5A 5B 5C 5E 5G 5H 5K 5M 5N 5P 5S 5T 5V 60 61 62 63 64 65 66 67 68 69 6A 6C 6E 6F 6M 6N 6P 6R 6S 6T 70 71 72 73 74 75 76 77 78 79 7A 7B 7C 7M 7N 7P 7Q 7V 7W 7X 80 81 82 83 84 85 86 87 88 89 8A 8D 8E 8L 8N 8P 8S 8T 8W 8Y 8Z 90 91 92 93 94 95 96 97 98 99 9A 9B 9C 9D 9F 9G 9H 9L 9S 9T 9W
需要登录后才可以下载。
登录取消