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

Электронный компонент: PIC17C762-25I/L

Скачать:  PDF   ZIP

Document Outline

2000 Microchip Technology Inc.
DS30289B-page 1
PIC17C7XX
Microcontroller Core Features:
Only 58 single word instructions to learn
All single cycle instructions (121 ns), except for
program branches and table reads/writes which
are two-cycle
Operating speed:
- DC - 33 MHz clock input
- DC - 121 ns instruction cycle
8 x 8 Single-Cycle Hardware Multiplier
Interrupt capability
16 level deep hardware stack
Direct, indirect, and relative addressing modes
Internal/external program memory execution,
capable of addressing 64 K x 16 program memory
space
Peripheral Features:
Up to 66 I/O pins with individual direction control
10-bit, multi-channel Analog-to-Digital converter
High current sink/source for direct LED drive
Four capture input pins
- Captures are 16-bit, max resolution 121 ns
Three PWM outputs (resolution is 1 to 10-bits)
TMR0: 16-bit timer/counter with
8-bit programmable prescaler
TMR1: 8-bit timer/counter
TMR2: 8-bit timer/counter
TMR3: 16-bit timer/counter
Two Universal Synchronous Asynchronous
Receiver Transmitters (USART/SCI) with
independent baud rate generators
Synchronous Serial Port (SSP) with SPITM and
I
2
CTM modes (including I
2
C Master mode)
Pin Diagrams
Special Microcontroller Features:
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
Brown-out Reset
Code protection
Power saving SLEEP mode
Selectable oscillator options
CMOS Technology:
Low power, high speed CMOS EPROM
technology
Fully static design
Wide operating voltage range (3.0V to 5.5V)
Commercial and Industrial temperature ranges
Low power consumption
- < 5 mA @ 5V, 4 MHz
- 100 A typical @ 4.5V, 32 kHz
- < 1 A typical standby current @ 5V
Device
Memory
Program (x16)
Data (x8)
PIC17C752
8 K
678
PIC17C756A
16 K
902
PIC17C762
8 K
678
PIC17C766
16 K
902
RF
1
/
A
N
5
RF
0
/
A
N
4
AV
DD
AV
SS
R
G
3/
A
N
0/
V
RE
F
+
RG2/
A
N
1/
V
RE
F
-
RG
1
/
A
N
2
RG
0
/
A
N
3
NC
V
SS
V
DD
RG
4/
CA
P
3
RG
5/
P
W
M
3
RG
7/
T
X
2
/
CK
2
RG
6/RX
2/
DT
2
RA
4/RX
1/
DT
1
RA
5/
T
X
1
/
CK
1
RJ0
RJ1
RH6/A
N14
RH7/A
N15
RD1/AD9
RD0/AD8
RE0/ALE
RE1/OE
RE2/WR
RE3/CAP4
MCLR/V
PP
TEST
V
SS
V
DD
RF7/AN11
RF6/AN10
RF5/AN9
RF4/AN8
RF3/AN7
RF2/AN6
NC
RH2
RH3
RH4/AN12
RH5/AN13
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
60
59
58
57
56
55
54
53
52
51
50
49
48
47
46
45
44
9 8 7 6 5 4 3 2 1
27
28
29
30
31
32
3334353637383940414243
PIC17C76X
RA0/INT
RB0/CAP1
RB1/CAP2
RB3/PWM2
RB4/TCLK12
RB5/TCLK3
RB2/PWM1
V
SS
NC
OSC2/CLKOUT
OSC1/CLKIN
V
DD
RB7/SDO
RA3/SDI/SDA
RA2/SS/SCL
RA1/T0CKI
RD2/
A
D10
RD3/
A
D1
1
RD4/
A
D12
RD5/
A
D13
RD6/
A
D14
RD7/
A
D15
RC0/
A
D0
V
DD
NC
V
SS
RC1/
A
D1
RC2/
A
D2
RC3/
A
D3
RC4/
A
D4
RC5/
A
D5
RC6/
A
D6
RC7/
A
D7
RB6/SCK
RJ5
RJ4
RJ7
RJ6
RJ3
RJ2
RH1
RH
0
67
66
65
64
63
62
61
68
74
73
72
71
70
76
797877
80
838281
84
75
69
84 PLCC
High-Performance 8-bit CMOS EPROM Microcontrollers with 10-bit A/D
PIC17C7XX
DS30289B-page 2
2000 Microchip Technology Inc.
Pin Diagrams cont.'d
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
60
59
58
57
56
55
54
53
52
51
50
49
48
47
46
45
44
9
8
7
6
5
4
3
2
1
68
67
66
65
64
63
62
61
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
RA0/INT
RB0/CAP1
RB1/CAP2
RB3/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CK
RJ7
RJ6
RH1
RH0
1
2
RH2
RH3
17
18
RH4/AN12
RH5/AN13
RH6
/AN1
4
RH7
/AN1
5
RJ1
RJ0
37
RJ3
RJ2
50
49
RJ5
RJ4
19
20
33 34 35 36
38
58
57
56
55
54
53
52
51
60
59
68 67 66 65
72 71 70 69
74 73
78 77 76 75
79
80
PIC17C76X
80-Pin TQFP
PIC17C7XX
DS30289B-page 4
2000 Microchip Technology Inc.
Table of Contents
1.0
Overview ........................................................................................................................................................ 7
2.0
Device Varieties ............................................................................................................................................. 9
3.0
Architectural Overview ................................................................................................................................. 11
4.0
On-chip Oscillator Circuit ............................................................................................................................. 17
5.0
Reset............................................................................................................................................................ 23
6.0
Interrupts...................................................................................................................................................... 33
7.0
Memory Organization................................................................................................................................... 43
8.0
Table Reads and Table Writes .................................................................................................................... 59
9.0
Hardware Multiplier ...................................................................................................................................... 67
10.0
I/O Ports....................................................................................................................................................... 71
11.0
Overview of Timer Resources...................................................................................................................... 95
12.0
Timer0.......................................................................................................................................................... 97
13.0
Timer1, Timer2, Timer3, PWMs and Captures .......................................................................................... 101
14.0
Universal Synchronous Asynchronous Receiver Transmitter (USART) Modules...................................... 117
15.0
Master Synchronous Serial Port (MSSP) Module ...................................................................................... 133
16.0
Analog-to-Digital Converter (A/D) Module ................................................................................................. 179
17.0
Special Features of the CPU ..................................................................................................................... 191
18.0
Instruction Set Summary............................................................................................................................ 197
19.0
Development Support ................................................................................................................................ 233
20.0
PIC17C7XX Electrical Characteristics ....................................................................................................... 239
21.0
PIC17C7XX DC and AC Characteristics.................................................................................................... 267
22.0
Packaging Information ............................................................................................................................... 281
Appendix A:
Modifications ....................................................................................................................................... 287
Appendix B:
Compatibility........................................................................................................................................ 287
Appendix C:
What's New ......................................................................................................................................... 288
Appendix D:
What's Changed.................................................................................................................................. 288
Index .......................................................................................................................................................................... 289
On-Line Support .......................................................................................................................................................... 299
Reader Response ....................................................................................................................................................... 300
Product Identification System...................................................................................................................................... 301
2000 Microchip Technology Inc.
DS30289B-page 5
PIC17C7XX
TO OUR VALUED CUSTOMERS
It is our intention to provide our valued customers with the best documentation possible to ensure successful use of your Micro-
chip 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 lit-
erature 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.