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

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

Скачать:  PDF   ZIP

Document Outline

1998 Microchip Technology Inc.
Preliminary
DS40182A-page 1
Devices included in this data sheet:
PIC16CE623
PIC16CE624
PIC16CE625
High Performance RISC CPU:
Only 35 instructions to learn
All single-cycle instructions (200 ns), except for
program branches which are two-cycle
Operating speed:
- DC - 20 MHz clock input
- DC - 200 ns instruction cycle
Interrupt capability
16 special function hardware registers
8-level deep hardware stack
Direct, Indirect and Relative addressing modes
Peripheral Features:
13 I/O pins with individual direction control
High current sink/source for direct LED drive
Analog comparator module with:
- Two analog comparators
- Programmable on-chip voltage reference
(V
REF
) module
- Programmable input multiplexing from device
inputs and internal voltage reference
- Comparator outputs can be output signals
Timer0: 8-bit timer/counter with 8-bit
programmable prescaler
Special Microcontroller Features:
In-Circuit Serial Programming (ICSPTM) (via two
pins)
Power-on Reset (POR)
Power-up Timer (PWRT) and Oscillator Start-up
Timer (OST)
Brown-out Reset
Watchdog Timer (WDT) with its own on-chip RC
oscillator for reliable operation
Device
Program
Memory
RAM
Data
Memory
EEPROM
Data
Memory
PIC16CE623
512x14
96x8
128x8
PIC16CE624
1Kx14
96x8
128x8
PIC16CE625
2Kx14
128x8
128x8
Pin Diagrams
Special Microcontroller Features (cont'd)
1,000,000 erase/write cycle EEPROM data mem-
ory
EEPROM data retention > 40 years
Programmable code protection
Power saving SLEEP mode
Selectable oscillator options
Four user programmable ID locations
CMOS Technology:
Low-power, high-speed CMOS EPROM/EEPROM
technology
Fully static design
Wide operating voltage range
- 3.0V to 5.5V
Commercial, industrial and extended tempera-
ture range
Low power consumption
- < 2.0 mA @ 5.0V, 4.0 MHz
- 15
A typical @ 3.0V, 32 kHz
- < 1.0
A typical standby current @ 3.0V
RA1/AN1
RA0/AN0
OSC2/CLKOUT
V
DD
RB7
RB6
RB5
RB4
OSC1/CLKIN
RA2/AN2/V
REF
RA3/AN3
MCLR
V
SS
RB0/INT
RB1
RB2
RB3
RA4/T0CKI
PIC16CE62X
RA1/AN1
RA0/AN0
OSC2/CLKOUT
V
DD
RB7
RB6
RB5
RB4
OSC1/CLKIN
RA2/AN2/V
REF
RA3/AN3
MCLR
V
SS
V
SS
RB0/INT
RB1
RB2
RA4/T0CKI
PIC16CE62X
RB3
RB3
V
DD
PDIP, SOIC, Windowed CERDIP
SSOP
2
3
4
5
6
7
8
9
10
1
2
3
4
5
6
7
8
9
1
19
18
16
15
14
13
12
11
17
18
17
15
14
13
12
11
10
16
20
OTP 8-Bit CMOS MCU with EEPROM Data Memory
PIC16CE62X
62X.bk Page 1 Tuesday, March 10, 1998 3:40 PM
PIC16CE62X
DS40182A-page 2
Preliminary
1998 Microchip Technology Inc.
Table of Contents
1.0
General Description..................................................................................................................................................................... 3
2.0
PIC16CE62X Device Varieties .................................................................................................................................................... 5
3.0
Architectural Overview ................................................................................................................................................................ 7
4.0
Memory Organization ................................................................................................................................................................ 11
5.0
I/O Ports .................................................................................................................................................................................... 23
6.0
EEPROM Peripheral Operation................................................................................................................................................. 29
7.0
Timer0 Module .......................................................................................................................................................................... 35
8.0
Comparator Module................................................................................................................................................................... 41
9.0
Voltage Reference Module ........................................................................................................................................................ 47
10.0
Special Features of the CPU ..................................................................................................................................................... 49
11.0
Instruction Set Summary ........................................................................................................................................................... 65
12.0
Development Support................................................................................................................................................................ 77
13.0
Electrical Specifications............................................................................................................................................................. 81
14.0
Packaging Information............................................................................................................................................................... 93
Appendix A:
Code for Accessing EEPROM Data Memory ............................................................................................................. 99
Index .................................................................................................................................................................................................. 101
PIC16CE62X Product Identification System ...................................................................................................................................... 105
To Our Valued Customers
We constantly strive to improve the quality of all our products and documentation. To this end, we recently con-
verted to a new publishing software package which we believe will enhance our entire documentation process and
product. As in any conversion process, information may have accidently been altered or deleted. 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 from the previous version of this
data sheet (PIC16CE62X Data Sheet, Literature Number DS40182A), 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.
62X.bk Page 2 Tuesday, March 10, 1998 3:40 PM
1998 Microchip Technology Inc.
Preliminary
DS40182A-page 3
PIC16CE62X
1.0
GENERAL DESCRIPTION
The PIC16CE62X are 18 and 20 Pin EPROM-based
members of the versatile PICmicroTM family of low-cost,
high-performance, CMOS, fully-static, 8-bit
microcontrollers with EEPROM data memory.
All PICmicroTM microcontrollers employ an advanced
RISC architecture. The PIC16CE62X have enhanced
core features, eight-level deep stack, and multiple inter-
nal and external interrupt sources. The separate
instruction and data buses of the Harvard architecture
allow a 14-bit wide instruction word with the separate
8-bit wide data. The two-stage instruction pipeline
allows all instructions to execute in a single-cycle,
except for program branches (which require two
cycles). A total of 35 instructions (reduced instruction
set) are available. Additionally, a large register set gives
some of the architectural innovations used to achieve a
very high performance.
PIC16CE62X microcontrollers typically achieve a 2:1
code compression and a 4:1 speed improvement over
other 8-bit microcontrollers in their class.
The PIC16CE623 and PIC16CE624 have 96 bytes of
RAM. The PIC16CE625 has 128 bytes of RAM. Each
microcontroller contains a 128x8 EEPROM memory
array for storing non-volatile information such as cali-
bration data or security codes. This memory has an
endurance of 1,000,000 erase/write cycles and a reten-
tion of 40 plus years.
Each device has 13 I/O pins and an 8-bit timer/counter
with an 8-bit programmable prescaler. In addition, the
PIC16CE62X adds two analog comparators with a
programmable on-chip voltage reference module. The
comparator module is ideally suited for applications
requiring a low-cost analog interface (e.g., battery
chargers, threshold detectors, white goods
controllers,
etc).
PIC16CE62X devices have special features to reduce
external components, thus reducing system cost,
enhancing system reliability and reducing power con-
sumption. There are four oscillator options, of which the
single pin RC oscillator provides a low-cost solution,
the LP oscillator minimizes power consumption, XT is a
standard crystal, and the HS is for High Speed crystals.
The SLEEP (power-down) mode offers power savings.
The user can wake up the chip from SLEEP through
several external and internal interrupts and reset.
A highly reliable Watchdog Timer with its own on-chip
RC oscillator provides protection against software
lock- up.
A UV-erasable CERDIP-packaged version is ideal for
code development while the cost-effective One-Time
Programmable (OTP) version is suitable for production
in any volume.
Table 1-1 shows the features of the PIC16CE62X
mid-range microcontroller families.
A simplified block diagram of the PIC16CE62X is
shown in Figure 3-1.
The PIC16CE62X series fit perfectly in applications
ranging from multi-pocket battery chargers to
low-power remote sensors. The EPROM technology
makes customization of application programs (detec-
tion levels, pulse generation, timers, etc.) extremely
fast and convenient. The small footprint packages
make this microcontroller series perfect for all applica-
tions with space limitations. Low-cost, low-power,
high-performance, ease of use and I/O flexibility make
the PIC16CE62X very versatile.
1.1
Development Support
The PIC16CE62X family is supported by a full-featured
macro assembler, a software simulator, an in-circuit
emulator, a low-cost development programmer and a
full-featured programmer. A "C" compiler and fuzzy
logic support tools are also available.
62X.bk Page 3 Tuesday, March 10, 1998 3:40 PM
PIC16CE62X
DS40182A-page 4
Preliminary
1998 Microchip Technology Inc.
TABLE 1-1:
PIC16CE62X FAMILY OF DEVICES
PIC16CE623
PIC16CE624
PIC16CE625
Clock
Maximum Frequency
of Operation (MHz)
20
20
20
Memory
EPROM Program
Memory
(x14 words)
512
1K
2K
Data Memory (bytes)
96
96
128
Peripherals
EEPROM Data Memory (bytes)
128
128
128
Timer Module(s)
TMR0
TMR0
TMR0
Comparators(s)
2
2
2
Internal Reference
Voltage
Yes
Yes
Yes
Features
Interrupt Sources
4
4
4
I/O Pins
13
13
13
Voltage Range (Volts)
3.0-5.5
3.0-5.5
3.0-5.5
Brown-out Reset
Yes
Yes
Yes
Packages
18-pin DIP,
SOIC;
20-pin SSOP
18-pin DIP,
SOIC;
20-pin SSOP
18-pin DIP,
SOIC;
20-pin SSOP
All PICmicroTM Family devices have Power-on Reset, selectable Watchdog Timer, selectable code protect and high I/O current
capability. All PIC16CE62X Family devices use serial programming with clock pin RB6 and data pin RB7.
62X.bk Page 4 Tuesday, March 10, 1998 3:40 PM
1998 Microchip Technology Inc.
Preliminary
DS40182A-page 5
PIC16CE62X
2.0
PIC16CE62X DEVICE
VARIETIES
A variety of frequency ranges and packaging options are
available. Depending on application and production
requirements the proper device option can be selected
using the information in the PIC16CE62X Product
Identification System section at the end of this data
sheet. When placing orders, please use this page of the
data sheet to specify the correct part number.
2.1
UV Erasable Devices
The UV erasable version, offered in CERDIP package
is optimal for prototype development and pilot
programs. This version can be erased and
reprogrammed to any of the oscillator modes.
Microchip's PICSTART
and PRO
MATE
programmers both support programming of the
PIC16CE62X.
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 and small volume applications. In addition to
the program memory, the configuration bits must also
be programmed.
2.3
Quick-Turn-Programming (QTP)
Devices
Microchip offers a QTP Programming Service for
factory production orders. This service is made
available for users who chose 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 configuration options
already programmed by the factory. Certain code and
prototype verification procedures apply before
production shipments are available. Please contact
your Microchip Technology sales office for more details.
2.4
Serialized Quick-Turn-Programming
(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.
62X.bk Page 5 Tuesday, March 10, 1998 3:40 PM