ChipFind - Datasheet

Part Number PIC17C756

Download:  PDF   ZIP

Document Outline

1997 Microchip Technology Inc.
Preliminary
DS30264A-page 1
Devices included in this data sheet:
PIC17C752
PIC17C756
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
Hardware Multiplier
Interrupt capability
16 level deep hardware stack
Direct, indirect, and relative addressing modes
Internal/external program memory execution
Capable of addressing 64K x 16 program memory
space
Peripheral Features:
50 I/O pins with individual direction control
High current sink/source for direct LED drive
- RA2 and RA3 are open drain, high voltage
(12V), high current (60 mA), I/O pins
Four capture input pins
- Captures are 16-bit, max resolution 121 ns
Three PWM outputs
- PWM 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)
- Independant baud rate generators
10-bit, 12 channel analog-to-digital converter
Synchronous Serial Port (SSP) with SPITM and
I
2
CTM modes (including I
2
C master mode)
Device
Memory
Program (x16)
Data (x8)
PIC17C752
8K
454
PIC17C756
16K
902
B
B
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 (2.5V to 6.0V)
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
9
8
7
6
5
4
3
2
1
68
67
66
65
64
63
62
61
RD2/AD10
RD3/AD11
RD4/AD12
RD5/AD13
RD6/AD14
RD7/AD15
RC0/AD0
V
DD
NC
V
SS
RC1/AD1
RC2/AD2
RC3/AD3
RC4/AD4
RC5/AD5
RC6/AD6
RC7/AD7
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
PIC17C75X
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
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
RF1/AN5
RF0/AN4
AV
DD
AV
SS
RG3/AN0/V
REF
+
RG2/AN1/V
REF
-
RG1/AN2
RG0/AN3
NC
V
SS
V
DD
RG4/CAP3
RG5/PWM3
RG7/TX2/CK2
RG6/RX2/DT2
RA4/RX1/DT1
RA5/TX1/CK1
NC
RB6/SCK
LCC
Top View
PIC17C75X
High-Performance 8-Bit CMOS EPROM Microcontrollers
PIC17C75X
DS30264A-page 2
Preliminary
1997 Microchip Technology Inc.
Pin Diagrams Cont.'d
PIC17C75X IN 68-PIN LCC
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
Top View
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
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
RD2/AD10
RD3/AD11
RD4/AD12
RD5/AD13
RD6/AD14
RD7/AD15
RC0/AD0
V
DD
NC
V
SS
RC1/AD1
RC2/AD2
RC3/AD3
RC4/AD4
RC5/AD5
RC6/AD6
RC7/AD7
RF1/AN5
RF0/AN4
AV
DD
AV
SS
RG3/AN0/V
REF
+
RG2/AN1/V
REF
-
RG1/AN2
RG0/AN3
NC
V
SS
V
DD
RG4/CAP3
RG5/PWM3
RG7/TX2/CK2
RG6/RX2/DT2
RA4/RX1/DT1
RA5/TX1/CK1
NC
RB6/SCK
PIC17C75X
1997 Microchip Technology Inc.
Preliminary
DS30264A-page 3
PIC17C75X
Pin Diagrams Cont.'d
PIC17C75X IN 64-PIN TQFP
Pin Diagrams Cont.'d
PIC17C75X IN 64-PIN Y-SHRINK DIP
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
48
47
46
45
44
43
42
41
40
39
38
37
36
35
34
33
64
63
62
61
60
59
58
57
56
55
54
53
52
51
50
49
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
Top View
Applicable to 14 x 14 mm TQFP
RD2/AD10
RD3/AD11
RD4/AD12
RD5/AD13
RD6/AD14
RD7/AD15
RC0/AD0
V
DD
V
SS
RC1/AD1
RC2/AD2
RC3/AD3
RC4/AD4
RC5/AD5
RC6/AD6
RC7/AD7
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
RA0/INT
RB0/CAP1
RB1/CAP2
RB3/PWM2
RB4/TCLK12
RB5/TCLK3
RB2/PWM1
V
SS
OSC2/CLKOUT
OSC1/CLKIN
V
DD
RB7/SDO
RA3/SDI/SDA
RA2/SS/SCL
RA1/T0CKI
RF1/AN5
RF0/AN4
AV
DD
AV
SS
RG3/AN0/V
REF
+
RG2/AN1/V
REF
-
RG1/AN2
RG0/AN3
V
SS
V
DD
RG4/CAP3
RG5/PWM3
RG7/TX2/CK2
RG6/RX2/DT2
RA4/RX1/DT1
RA5/TX1/CK1
RB6/SCK
PIC17C75X
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
64
63
62
61
60
59
58
57
56
55
54
53
52
51
50
49
48
47
46
45
PIC17C75X
44
43
42
41
40
39
21
22
23
24
25
26
27
28
29
30
31
32
38
37
36
35
34
33
V
DD
RC0/AD0
RD7/AD15
RD6/AD14
RD5/AD13
RD4/AD12
RD3/AD11
RD2/AD10
RD1/AD9
RD0/AD8
RE0/ALE
RE1/OE
RE2/WR
RE3/CAP4
MCLR/V
PP
TEST
V
DD
RF7/AN11
RF6/AN10
RF5/AN9
RF4/AN8
RF3/AN7
RF2/AN6
RF1/AN5
RF0/AN4
AV
SS
AV
DD
RG3/AN0/V
REF
+
RG2/AN1/V
REF
-
RG1/AN2
V
SS
V
SS
RC1/AD1
RC2/AD2
RC3/AD3
RC4/AD4
RC5/AD5
RC6/AD6
RC7/AD7
RA0/INT
RB0/CAP1
RB1/CAP2
RB3/PWM2
RB4/TCLK12
RB5/TCLK3
RB2/PWM1
V
SS
OSC2/CLKOUT
OSC1/CLKIN
V
DD
RB7/SDO
RB6/SCK
RA2/SS/SCL
RA1/T0CKI
RA4/RX1/DT1
RA5/TX1/CK1
RG6/RX2/DT2
RG7/TX2/CK2
RG5/PWM3
RG4/CAP3
V
DD
V
SS
RG0/AN3
RA3/SDI/SDA
PIC17C75X
DS30264A-page 4
Preliminary
1997 Microchip Technology Inc.
Table of Contents
1.0 Overview ........................................................................................................................................................................................ 5
2.0 Device Varieties ............................................................................................................................................................................. 7
3.0 Architectural Overview ................................................................................................................................................................... 9
4.0 On-chip Oscillator Circuit ............................................................................................................................................................. 15
5.0 Reset............................................................................................................................................................................................ 21
6.0 Interrupts ...................................................................................................................................................................................... 29
7.0 Memory Organization................................................................................................................................................................... 39
8.0 Table Reads and Table Writes .................................................................................................................................................... 55
9.0 Hardware Multiplier ...................................................................................................................................................................... 61
10.0 I/O Ports ....................................................................................................................................................................................... 65
11.0 Overview of Timer resources ....................................................................................................................................................... 85
12.0 Timer0 .......................................................................................................................................................................................... 87
13.0 Timer1, Timer2, Timer3, PWMs and Captures ............................................................................................................................ 91
14.0 Universal Synchronous Asynchronous Receiver Transmitter (USART) Modules...................................................................... 107
15.0 Synchronous Serial Port (SSP) Module ..................................................................................................................................... 123
16.0 Analog-to-Digital Converter (A/D) Module ................................................................................................................................. 167
17.0 Special Features of the CPU ..................................................................................................................................................... 177
18.0 Instruction Set Summary............................................................................................................................................................ 183
19.0 Development Support ................................................................................................................................................................ 219
20.0 PIC17C752/756 Electrical Characteristics ................................................................................................................................. 223
21.0 PIC17C752/756 DC and AC Characteristics ............................................................................................................................. 249
22.0 Packaging Information ............................................................................................................................................................... 261
Appendix A:
Modifications .............................................................................................................................................................. 265
Appendix B:
Compatibility .............................................................................................................................................................. 265
Appendix C:
What's New................................................................................................................................................................ 266
Appendix D:
What's Changed ........................................................................................................................................................ 266
Appendix E:
I
2
C
TM
Overview ........................................................................................................................................................... 267
Appendix F:
Status and Control Registers ..................................................................................................................................... 273
Appendix G:
PIC16/17 Microcontrollers ......................................................................................................................................... 293
Pin Compatibility ................................................................................................................................................................................ 302
Index .................................................................................................................................................................................................. 303
On-Line Support................................................................................................................................................................................. 317
Reader Response .............................................................................................................................................................................. 318
PIC17C75X Product Identification System......................................................................................................................................... 319
To Our Valued Customers
We constantly strive to improve the quality of all our products and documentation. We have spent an excep-
tional 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, please use the reader
response form in the back of this data sheet to inform us. We appreciate your assistance in making this a bet-
ter document.
1997 Microchip Technology Inc.
Preliminary
DS30264A-page 5
PIC17C75X
1.0 OVERVIEW
This data sheet covers the PIC17C75X group of the
PIC17CXXX family of microcontrollers. The following
devices are discussed in this data sheet:
PIC17C752
PIC17C756
The PIC17C75X devices are 68-Pin, EPROM-based
members of the versatile PIC17CXXX family of
low-cost, high-performance, CMOS, fully-static, 8-bit
microcontrollers.
All PIC16/17 microcontrollers employ an advanced
RISC architecture. The PIC17CXXX has enhanced
core features, 16-level deep stack, and multiple internal
and external interrupt sources. The separate instruc-
tion and data buses of the Harvard architecture allow a
16-bit wide instruction word with a separate 8-bit wide
data path. The two stage instruction pipeline allows all
instructions to execute in a single cycle, except for pro-
gram branches (which require two cycles). A total of 58
instructions (reduced instruction set) are available.
Additionally, a large register set gives some of the
architectural innovations used to achieve a very high
performance. For mathematical intensive applications
all devices have a single cycle 8 x 8 Hardware Multi-
plier.
PIC17CXXX microcontrollers typically achieve a 2:1
code compression and a 4:1 speed improvement over
other 8-bit microcontrollers in their class.
PIC17C75X devices have up to 902 bytes of RAM and
50 I/O pins. In addition, the PIC17C75X adds several
peripheral features useful in many high performance
applications including:
Four timer/counters
Four capture inputs
Three PWM outputs
Two independant Universal Synchronous Asyn-
chronous Receiver Transmitters (USARTs)
An A/D converter (12 channel, 10-bit resolution)
A Synchronous Serial Port
(SPI and I
2
C w/ Master mode)
These special features reduce external components,
thus reducing cost, enhancing system reliability and
reducing power consumption.
There are four oscillator options, of which the single pin
RC oscillator provides a low-cost solution, the LF oscil-
lator is for low frequency crystals and minimizes power
consumption, XT is a standard crystal, and the EC is for
external clock input.
The SLEEP (power-down) mode offers additional
power saving. Wake-up from SLEEP can occur through
several external and internal interrupts and device
resets.
A highly reliable Watchdog Timer with its own on-chip
RC oscillator provides protection against software mal-
function.
There are four configuration options for the device
operational mode:
Microprocessor
Microcontroller
Extended microcontroller
Protected microcontroller
The microprocessor and extended microcontroller
modes allow up to 64K-words of external program
memory.
Brown-out Reset circuitry has also been added to the
device. This allows a device reset to occur if the device
V
DD
falls below the Brown-out voltage trip point
(BV
DD
). The chip will remain in Brown-out Reset until
V
DD
rises above BV
DD
.
Table 1-1 lists the features of the PIC17CXXX devices.
A UV-erasable CERQUAD-packaged version (compat-
ible with PLCC) is ideal for code development while the
cost-effective One-Time Programmable (OTP) version
is suitable for production in any volume.
The PIC17C75X fits perfectly in applications that
require extremely fast execution of complex software
programs. These include applications ranging from
precise motor control and industrial process control to
automotive, instrumentation, and telecom applications.
The EPROM technology makes customization of appli-
cation programs (with unique security codes, combina-
tions, model numbers, parameter storage, etc.) fast
and convenient. Small footprint package options
(including die sales) make the PIC17C75X ideal for
applications with space limitations that require high
performance.
An In-circuit Serial Programming (ISP) feature allows:
Flexibility of programming the software code as
one of the last steps of the manufacturing process
High speed execution, powerful peripheral features,
flexible I/O, and low power consumption all at low cost
make the PIC17C75X ideal for a wide range of embed-
ded control applications.
1.1
Family and Upward Compatibility
The PIC17CXXX family of microcontrollers have archi-
tectural enhancements over the PIC16C5X and
PIC16CXX families. These enhancements allow the
device to be more efficient in software and hardware
requirements. Refer to Appendix A for a detailed list of
enhancements and modifications. Code written for
PIC16C5X or PIC16CXX can be easily ported to
PIC17CXXX devices (Appendix B).
1.2
Development Support
The PIC17CXXX family is supported by a full-featured
macro assembler, a software simulator, an in-circuit
emulator, a universal programmer, a "C" compiler, and
fuzzy logic support tools. For additional information see
Section 19.0.