Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Lab4_me / Lab2 / datasheets / ICs / PIC16C621A.pdf
Скачиваний:
56
Добавлен:
11.03.2016
Размер:
3.77 Mб
Скачать

PIC16C62X

Data Sheet

EPROM-Based 8-Bit

CMOS Microcontrollers

 

 

2003 Microchip Technology Inc.

DS30235J

Note the following details of the code protection feature on Microchip devices:

Microchip products meet the specification contained in their particular Microchip Data Sheet.

Microchip believes that its family of products is one of the most secure families of its kind on the market today, when used in the intended manner and under normal conditions.

There are dishonest and possibly illegal methods used to breach the code protection feature. All of these methods, to our knowledge, require using the Microchip products in a manner outside the operating specifications contained in Microchip's Data Sheets. Most likely, the person doing so is engaged in theft of intellectual property.

Microchip is willing to work with the customer who is concerned about the integrity of their code.

Neither Microchip nor any other semiconductor manufacturer can guarantee the security of their code. Code protection does not mean that we are guaranteeing the product as “unbreakable.”

Code protection is constantly evolving. We at Microchip are committed to continuously improving the code protection features of our products. Attempts to break microchip’s code protection feature may be a violation of the Digital Millennium Copyright Act. If such acts allow unauthorized access to your software or other copyrighted work, you may have a right to sue for relief under that Act.

Information contained in this publication regarding device applications and the like is intended through suggestion only and may be superseded by updates. It is your responsibility to ensure that your application meets with your specifications. No representation or warranty is given and no liability is assumed by Microchip Technology Incorporated with respect to the accuracy or use of such information, or infringement of patents or other intellectual property rights arising from such use or otherwise. Use of Microchip’s products as critical components in life support systems is not authorized except with express written approval by Microchip. No licenses are conveyed, implicitly or otherwise, under any intellectual property rights.

Trademarks

The Microchip name and logo, the Microchip logo, KEELOQ, MPLAB, PIC, PICmicro, PICSTART, PRO MATE and PowerSmart are registered trademarks of Microchip Technology Incorporated in the U.S.A. and other countries.

FilterLab, microID, MXDEV, MXLAB, PICMASTER, SEEVAL and The Embedded Control Solutions Company are registered trademarks of Microchip Technology Incorporated in the U.S.A.

Accuron, Application Maestro, dsPIC, dsPICDEM, dsPICDEM.net, ECONOMONITOR, FanSense, FlexROM, fuzzyLAB, In-Circuit Serial Programming, ICSP, ICEPIC, microPort, Migratable Memory, MPASM, MPLIB, MPLINK, MPSIM, PICC, PICkit, PICDEM, PICDEM.net, PowerCal, PowerInfo, PowerMate, PowerTool, rfLAB, rfPIC, Select Mode, SmartSensor, SmartShunt, SmartTel and Total Endurance are trademarks of Microchip Technology Incorporated in the U.S.A. and other countries.

Serialized Quick Turn Programming (SQTP) is a service mark of Microchip Technology Incorporated in the U.S.A.

All other trademarks mentioned herein are property of their respective companies.

© 2003, Microchip Technology Incorporated, Printed in the U.S.A., All Rights Reserved.

Printed on recycled paper.

Microchip received QS-9000 quality system certification for its worldwide headquarters, design and wafer fabrication facilities in Chandler and Tempe, Arizona in July 1999 and Mountain View, California in March 2002. The Company’s quality system processes and procedures are QS-9000 compliant for its PICmicro® 8-bit MCUs, KEELOQ® code hopping devices, Serial EEPROMs, microperipherals, non-volatile memory and analog products. In addition, Microchip’s quality system for the design and manufacture of development systems is ISO 9001 certified.

 

 

DS30235J - page ii

2003 Microchip Technology Inc.

PIC16C62X

EPROM-Based 8-Bit CMOS Microcontrollers

Devices included in this data sheet:

Referred to collectively as PIC16C62X.

PIC16C620

PIC16C620A

PIC16C621

PIC16C621A

PIC16C622

PIC16C622A

PIC16CR620A

 

 

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 - 40 MHz clock input

-DC - 100 ns instruction cycle

Device

Program

Data

Memory

Memory

 

 

 

 

 

 

 

PIC16C620

512

80

 

 

 

PIC16C620A

512

96

 

 

 

PIC16CR620A

512

96

 

 

 

PIC16C621

1K

80

 

 

 

PIC16C621A

1K

96

 

 

 

PIC16C622

2K

128

 

 

 

PIC16C622A

2K

128

 

 

 

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 (VREF) 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

Pin Diagrams

PDIP, SOIC, Windowed CERDIP

RA2/AN2/VREF

 

 

 

 

 

 

•1

 

18

 

 

 

 

 

 

 

RA1/AN1

 

 

 

 

 

 

RA3/AN3

 

2

PIC16C62X

17

 

 

 

 

 

 

 

RA0/AN0

RB1

 

7

12

 

 

 

 

 

 

 

RB6

RA4/T0CKI

 

 

 

 

3

 

16

 

 

 

 

 

 

 

OSC1/CLKIN

MCLR/VPP

 

 

 

4

 

15

 

 

 

 

 

 

 

OSC2/CLKOUT

VSS

 

 

 

5

 

14

 

 

 

 

 

 

 

VDD

RB0/INT

 

 

 

 

 

 

6

 

13

 

 

 

 

 

 

 

RB7

 

 

 

 

 

 

 

 

 

 

 

RB2

 

 

 

 

 

 

 

 

8

 

11

 

 

 

 

 

 

 

RB5

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

RB3

 

9

 

10

 

 

 

 

 

 

 

RB4

SSOP

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

RA2/AN2/VREF

 

 

 

 

 

 

 

 

 

 

 

RA1/AN1

 

•1

 

20

 

 

 

 

 

 

 

RA3/AN3

 

2

 

19

 

 

 

 

 

 

 

RA0/AN0

RA4/T0CKI

 

3

PIC16C62X

18

 

 

 

 

 

 

 

OSC1/CLKIN

 

 

 

 

 

 

 

 

MCLR/VPP

 

 

 

 

 

 

 

 

 

 

4

 

17

 

 

 

 

 

 

 

OSC2/CLKOUT

VSS

 

 

 

 

 

 

 

 

 

 

5

 

16

 

 

 

 

 

 

 

VDD

VSS

 

 

 

 

 

 

 

 

 

 

 

 

 

6

 

15

 

 

 

 

 

 

 

VDD

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

RB0/INT

 

7

 

14

 

 

 

 

 

 

 

RB7

RB1

 

8

 

13

 

 

 

 

 

 

 

RB6

RB2

 

9

 

12

 

 

 

 

 

 

 

RB5

RB3

 

10

 

11

 

 

 

 

 

 

 

RB4

Special Microcontroller Features:

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

Programmable code protection

Power saving SLEEP mode

Selectable oscillator options

Serial in-circuit programming (via two pins)

Four user programmable ID locations

CMOS Technology:

Low power, high speed CMOS EPROM technology

Fully static design

Wide operating range

-2.5V to 5.5V

Commercial, industrial and extended temperature 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

 

 

2003 Microchip Technology Inc.

DS30235J-page 1

PIC16C62X

Device Differences

Device

Voltage Range

Oscillator

Process Technology

(Microns)

 

 

 

 

 

 

 

 

 

 

 

PIC16C620(3)

2.5 - 6.0

See Note 1

0.9

PIC16C621(3)

2.5 - 6.0

See Note 1

0.9

PIC16C622(3)

2.5 - 6.0

See Note 1

0.9

PIC16C620A(4)

2.7 - 5.5

See Note 1

0.7

PIC16CR620A(2)

2.5 - 5.5

See Note 1

0.7

PIC16C621A(4)

2.7 - 5.5

See Note 1

0.7

PIC16C622A(4)

2.7 - 5.5

See Note 1

0.7

Note 1: If you change from this device to another device, please verify oscillator characteristics in your application.

2:For ROM parts, operation from 2.5V - 3.0V will require the PIC16LCR62X parts.

3:For OTP parts, operation from 2.5V - 3.0V will require the PIC16LC62X parts.

4:For OTP parts, operations from 2.7V - 3.0V will require the PIC16LC62XA parts.

DS30235J-page 2

2003 Microchip Technology Inc.

 

 

PIC16C62X

Table of Contents

 

1.0

General Description .........................................................................................................

......................................................... 5

2.0

PIC16C62X Device Varieties..................................................................................................

.................................................. 7

3.0

Architectural Overview..............................................................................................................................................................

9

4.0

Memory Organization .............................................................................................................................................................

13

5.0

I/O Ports..................................................................................................................................................................................

25

6.0

Timer0 Module........................................................................................................................................................................

31

7.0

Comparator Module ................................................................................................................................................................

37

8.0

Voltage Reference Module .....................................................................................................................................................

43

9.0

Special Features of the CPU ..................................................................................................................................................

45

10.0

Instruction Set Summary ........................................................................................................................................................

61

11.0

Development Support .............................................................................................................................................................

75

12.0

Electrical Specifications ..........................................................................................................................................................

81

13.0

Device Characterization Information .....................................................................................................................................

109

14.0

Packaging Information ..........................................................................................................................................................

113

Appendix A: Enhancements..............................................................................................................................................................

119

Appendix B: Compatibility .................................................................................................................................................................

119

Index

...............................................................................................................................................................................................

121

On-Line Support ................................................................................................................................................................................

123

Systems Information and Upgrade Hot Line .....................................................................................................................................

123

Reader Response .............................................................................................................................................................................

124

Product Identification System ...........................................................................................................................................................

125

TO OUR VALUED CUSTOMERS

It is our intention to provide our valued customers with the best documentation possible to ensure successful use of your Microchip products. To this end, we will continue to improve our publications to better suit your needs. Our publications will be refined and enhanced as new volumes and updates are introduced.

If you have any questions or comments regarding this publication, please contact the Marketing Communications Department via E-mail at docerrors@mail.microchip.com or fax the Reader Response Form in the back of this data sheet to (480) 792-4150. We welcome your feedback.

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 document DS30000).

Errata

An errata sheet, describing minor operational differences from the data sheet and recommended workarounds, may exist for current devices. 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: (480) 792-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.

Customer Notification System

Register on our web site at www.microchip.com/cn to receive the most current information on all of our products.

2003 Microchip Technology Inc.

DS30235J-page 3

PIC16C62X

NOTES:

DS30235J-page 4

2003 Microchip Technology Inc.

Соседние файлы в папке ICs