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

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

Скачать:  PDF   ZIP
www.docs.chipfind.ru
background image
1999 Microchip Technology Inc.
Advanced Information
DS41120A-page 1
Microcontroller Core Features:
High-performance RISC CPU
Only 35 single word instructions to learn
All single cycle instructions except for program
branches which are two cycle
Operating speed: DC - 20 MHz clock input
DC - 200 ns instruction cycle
Interrupt capability (up to 10 internal/external
interrupt sources)
Eight level deep hardware stack
Direct, indirect and relative addressing modes
Power-on Reset (POR)
Power-up Timer (PWRT) and
Oscillator Start-up Timer (OST)
Watchdog Timer (WDT) with its own on-chip RC
oscillator for reliable operation
Selectable oscillator options:
- INTRC - Internal RC, dual speed (4MHz and
37KHz) dynamically switchable for power sav-
ings
- ER - External resistor, dual speed (user
selectable frequency and 37KHz) dynami-
cally switchable for power savings
- EC - External clock
- HS - High speed crystal/resonator
- XT - Crystal/resonator
- LP - Low power crystal
Low-power, high-speed CMOS EPROM
technology
In-Circuit Serial ProgrammingTM
(ISCP
)
Wide operating voltage range: 2.5V to 5.5V
15 I/O pins with individual control for:
- Direction (15 pins)
- Digital/Analog input (6 pins)
- PORTB interrupt on change (8 pins)
- PORTB weak pull-up (8 pins)
- High voltage open drain (1 pin)
Commercial and Industrial temperature ranges
Low-power consumption:
- < 2 mA @ 5V, 4 MHz
- 22.5
A typical @ 3V, 32 kHz
- < 1
A typical standby current
Pin Diagram
Peripheral Features:
Timer0: 8-bit timer/counter with 8-bit prescaler
Timer1: 16-bit timer/counter with prescaler,
can be incremented during sleep via external
crystal/clock
Timer2: 8-bit timer/counter with 8-bit period
register, prescaler and postscaler
Enhanced Capture, Compare, PWM (ECCP)
module
- Capture is 16 bit, max. resolution is 12.5 ns
- Compare is 16 bit, max. resolution is 200 ns
- PWM max. resolution is 10 bit
- Enhanced PWM:
- Single, Half-Bridge and Full-Bridge output
modes
- Digitally programmable deadband delay
Analog-to-Digital converter:
- PIC16C770/771 12-bit resolution
- PIC16C717 10-bit resolution
On-chip absolute bandgap voltage reference
generator
Programmable Brown-out Reset (PBOR)
circuitry
Programmable Low-Voltage Detection (PLVD)
circuitry
Master Synchronous Serial Port (MSSP) with two
modes of operation:
- 3-wire SPITM (supports all 4 SPI modes)
- I
2
CTM compatible including master mode
support
Program Memory Read (PMR) capability for look-
up table, character string storage and checksum
calculation purposes
Device
Memory
Pins
A/D
Resolution
A/D
Channels
Program
x14
Data
x8
PIC16C717
2K
256 18, 20
10 bits
6
PIC16C770
2K
256
20
12 bits
6
PIC16C771
4K
256
20
12 bits
6
RB3/CCP1/P1A
RB2/SCK/SCL
RA7/OSC1/CLKIN
RA6/OSC2/CLKOUT
V
DD
RB7/T1OSI/P1D
RB6/T1OSO/T1CKI/P1C
RB5/SDO/P1B
RB4/SDI/SDA
RA0/AN0
RA1/AN1/LVDIN
RA4/T0CKI
RA5/MCLR/V
PP
V
SS
RA2/AN2/V
REF
-/VRL
RA3/AN3/V
REF
+/VRH
RB0/AN4/INT
RB1/AN5/SS
1
2
3
4
5
6
7
8
9
20
19
18
17
16
15
14
13
12
A
VDD
A
VSS
10
11
PI
C16C770/
771
20-Pin PDIP, SOIC, SSOP
PIC16C717/770/771
18/20-Pin, 8-Bit CMOS Microcontrollers with 10/12-Bit A/D
background image
PIC16C717/770/771
DS41120A-page 2
Advanced Information
1999 Microchip Technology Inc.
Pin Diagrams
18-Pin PDIP, SOIC
RB3/CCP1/P1A
RB2/SCK/SCL
RA7/OSC1/CLKIN
RA6/OSC2/CLKOUT
V
DD
RB7/T1OSI/P1D
RB6/T1OSO/T1CKI/P1C
RB5/SDO/P1B
RB4/SDI/SDA
RA0/AN0
RA1/AN1/LVDIN
RA4/T0CKI
RA5/MCLR/V
PP
V
SS
RA2/AN2/V
REF
-/VRL
RA3/AN3/V
REF
+/VRH
RB0/AN4/INT
RB1/AN5/SS
1
2
3
4
5
6
7
8
9
18
17
16
15
14
13
12
11
10
P
I
C
1
6C
71
7
RB3/CCP1/P1A
RB2/SCK/SCL
RA7/OSC1/CLKIN
RA6/OSC2/CLKOUT
V
DD
(2)
RB7/T1OSI/P1D
RB6/T1OSO/T1CKI/P1C
RB5/SDO/P1B
RB4/SDI/SDA
RA0/AN0
RA1/AN1/LVDIN
RA4/T0CKI
RA5/MCLR/V
PP
V
SS
(1)
RA2/AN2/V
REF
-/VRL
RA3/AN3/V
REF
+/VRH
RB0/AN4/INT
RB1/AN5/SS
1
2
3
4
5
6
7
8
9
20
19
18
17
16
15
14
13
12
P
I
C
16C
717
V
DD
(2)
V
SS
(1)
10
11
20-Pin SSOP
Note 1: V
SS
pins 5 and 6 must be tied together.
2: V
DD
pins 15 and 16 must be tied together.
Key Features
PICmicro
TM
Mid-Range Reference Manual
(DS33023)
PIC16C717
PIC16C770
PIC16C771
Operating Frequency
DC - 20 MHz
DC - 20 MHz
DC - 20 MHz
Resets (and Delays)
POR, BOR, MCLR,
WDT (PWRT, OST)
POR, BOR, MCLR,
WDT (PWRT, OST)
POR, BOR, MCLR,
WDT (PWRT, OST)
Program Memory (14-bit words)
2K
2K
4K
Data Memory (bytes)
256
256
256
Interrupts
10
10
10
I/O Ports
Ports A,B
Ports A,B
Ports A,B
Timers
3
3
3
Enhanced Capture/Compare/PWM (ECCP)
modules
1
1
1
Serial Communications
MSSP
MSSP
MSSP
12-bit Analog-to-Digital Module
6 input channels
6 input channels
10-bit Analog-to-Digital Module
6 input channels
Instruction Set
35 Instructions
35 Instructions
35 Instructions
background image
PIC16C717/770/771
1999 Microchip Technology Inc.
Advanced Information
DS41120A-page 3
Table of Contents
1.0
Device Overview ................................................................................................................................................... 5
2.0
Memory Organization.......................................................................................................................................... 11
3.0
I/O Ports.............................................................................................................................................................. 27
4.0
Program Memory Read (PMR) ........................................................................................................................... 43
5.0
Timer0 Module .................................................................................................................................................... 47
6.0
Timer1 Module .................................................................................................................................................... 49
7.0
Timer2 Module .................................................................................................................................................... 53
8.0
Enhanced Capture/Compare/PWM(ECCP) Modules ......................................................................................... 55
9.0
Master Synchronous Serial Port (MSSP) Module ............................................................................................... 67
10.0 Voltage Reference Module and Low-voltage Detect......................................................................................... 109
11.0 Analog-to-Digital Converter (A/D) Module ........................................................................................................ 113
12.0 Special Features of the CPU ............................................................................................................................ 125
13.0 Instruction Set Summary................................................................................................................................... 141
14.0 Development Support ....................................................................................................................................... 149
15.0 Electrical Characteristics................................................................................................................................... 155
16.0 DC and AC Characteristics Graphs and Tables ............................................................................................... 177
17.0 Packaging Information ...................................................................................................................................... 179
Revision History ........................................................................................................................................................ 189
Device Differences ..................................................................................................................................................... 189
Index .......................................................................................................................................................................... 191
On-Line Support.......................................................................................................................................................... 197
Reader Response ....................................................................................................................................................... 198
PIC16C717/770/771 Product Identification System .................................................................................................... 199
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 document DS30000.
New Customer Notification System
Register on our web site (www.microchip.com/cn) to receive the most current information on our products.
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: (480) 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.
background image
PIC16C717/770/771
DS41120A-page 4
Advanced Information
1999 Microchip Technology Inc.
NOTES:
background image
PIC16C717/770/771
1999 Microchip Technology Inc.
Advanced Information
DS41120A-page 5
1.0
DEVICE OVERVIEW
This document contains device-specific information.
Additional information may be found in the PICmicro
TM
Mid-Range Reference Manual, (DS33023), which may
be obtained from your local Microchip Sales Represen-
tative or downloaded from the Microchip website. The
Reference Manual should be considered a comple-
mentary document to this data sheet, and is highly rec-
ommended reading for a better understanding of the
device architecture and operation of the peripheral
modules.
There are three devices (PIC16C717, PIC16C770 and
PIC16C771) covered by this datasheet. The
PIC16C717 device comes in 18/20-pin packages and
the PIC16C770/771 devices come in 20-pin packages.
The following two figures are device block diagrams of
the PIC16C717 and the PIC16C770/771.
FIGURE 1-1:
PIC16C717 BLOCK DIAGRAM
EPROM
Program
Memory
2K x 14
13
Data Bus
8
14
Program
Bus
Instruction reg
Program Counter
8 Level Stack
(13-bit)
RAM
File
Registers
256 x 8
Direct Addr
7
Addr
(1)
9
Addr MUX
Indirect
Addr
FSR reg
STATUS reg
MUX
ALU
W reg
Power-up
Timer
Oscillator
Start-up Timer
Power-on
Reset
Watchdog
Timer
Instruction
Decode &
Control
OSC1/CLKIN
OSC2/CLKOUT
V
DD
, V
SS
PORTA
PORTB
RA4/T0CKI
RB0/AN4/INT
RB4/SDI/SDA
8
8
Brown-out
Reset
Note 1: Higher order bits are from the STATUS register.
Enhanced CCP
Master
Timer0
Timer1
Timer2
Synchronous
RA3/AN3/V
REF
+/VRH
RA2/AN2/V
REF
-/VRL
RA1/AN1/LVDIN
RA0/AN0
8
3
Timing
Generation
10-bit
ADC
RB1/AN5/SS
RB2/SCK/SCL
RB3/CCP1/P1A
RA5/MCLR/V
PP
RA6/OSC2/CLKOUT
RA7/OSC1/CLKIN
RB5/SDO/P1B
RB6/T1OSO/T1CKI/P1C
RB7/T1OSI/P1O
Internal
4MHz, 37KHz
and ER mode
(ECCP1)
Serial Port (MSSP)
Bandgap
Reference
Low-voltage
Detect
RAM
Program Memory
Read (PMR)

Document Outline