PIC17C4X
PIC17C4X
High-Performance 8-Bit CMOS EPROM/ROM Microcontroller
Devices included in this data sheet: Pin Diagram
PIC17CR42
PDIP, CERDIP, Windowed CERDIP
PIC17C42A
VDD 1 40 RD0/AD8
RC0/AD0 2 39 RD1/AD9
PIC17C43
RC1/AD1 3 38 RD2/AD10
RC2/AD2 4 37 RD3/AD11
PIC17CR43
RC3/AD3 5 36 RD4/AD12
RC4/AD4 6 35 RD5/AD13
PIC17C44
RC5/AD5 7 34 RD6/AD14
RC6/AD6 8 33 RD7/AD15
PIC17C42
RC7/AD7 9 32 MCLR/VPP
VSS 10 31 VSS
Microcontroller Core Features:
RB0/CAP1 11 30 RE0/ALE
RB1/CAP2 12 29 RE1/OE
RB2/PWM1 13 28 RE2/WR
Only 58 single word instructions to learn
RB3/PWM2 14 27 TEST
All single cycle instructions (121 ns) except for
RB4/TCLK12 15 26 RA0/INT
RB5/TCLK3 16 25 RA1/T0CKI
program branches and table reads/writes which
RB6 17 24 RA2
RB7 18 23 RA3
are two-cycle
OSC1/CLKIN 19 22 RA4/RX/DT
OSC2/CLKOUT 20 21 RA5/TX/CK
Operating speed:
- DC - 33 MHz clock input
O
TMR2: 8-bit timer/counter
- DC - 121 ns instruction cycle
TMR3: 16-bit timer/counter
Program Memory
Universal Synchronous Asynchronous Receiver
Device Data Memory
EPROM ROM
Transmitter (USART/SCI)
PIC17CR42 - 2K 232
Special Microcontroller Features:
PIC17C42A 2K - 232
Power-on Reset (POR), Power-up Timer (PWRT)
PIC17C43 4K - 454
and Oscillator Start-up Timer (OST)
PIC17CR43 - 4K 454
Watchdog Timer (WDT) with its own on-chip RC
PIC17C44 8K - 454
oscillator for reliable operation
PIC17C42 2K - 232
Code-protection
Hardware Multiplier Power saving SLEEP mode
O
(Not available on the PIC17C42)
Selectable oscillator options
Interrupt capability
CMOS Technology:
16 levels deep hardware stack
Low-power, high-speed CMOS EPROM/ROM
Direct, indirect and relative addressing modes
technology
Internal/External program memory execution
Fully static design
64K x 16 addressable program memory space
Wide operating voltage range (2.5V to 6.0V)
Peripheral Features:
Commercial and Industrial Temperature Range
33 I/O pins with individual direction control Low-power consumption
High current sink/source for direct LED drive
- < 5 mA @ 5V, 4 MHz
- RA2 and RA3 are open drain, high voltage
- 100 m A typical @ 4.5V, 32 kHz
(12V), high current (60 mA), I/O
- < 1 m A typical standby current @ 5V
Two capture inputs and two PWM outputs
- Captures are 16-bit, max resolution 160 ns
- PWM resolution is 1- to 10-bit
TMR0: 16-bit timer/counter with 8-bit programma-
ble prescaler
TMR1: 8-bit timer/counter
NOT recommended for new designs, use 17C42A.
1996 Microchip Technology Inc. DS30412C-page 1
This document was created with FrameMaker40422 RC3/AD3
RC2/AD2
21
20 RC1/AD1
19 RC0/AD0
NC
18
PIC17C4X 17 VDD
VDD
16
15 RD0/AD8
RD1/AD9
14
13 RD2/AD10
12 RD3/AD11
28 RA0/INT
27
RA1/T0CKI
26
RA2
25
RA3
24
RA4/RX/DT
23
RA5/TX/CK
PIC17C4X
22
OSC2/CLKOUT
21
OSC1/CLKIN
20
RB7
19
RB6
18 RB5/TCLK3
PIC17C4X
Pin Diagrams Cont.d
PLCC
MQFP
TQFP
RC4/AD4 RD4/AD12
7 39
RC5/AD5 8 38 RD5/AD13
RC6/AD6 RD6/AD14
9 37
RC7/AD7 10 36 RD7/AD15
TEST RB4/TCLK12
1 33
VSS MCLR/VPP
11 35 RE2/WR 2 32 RB3/PWM2
VSS 12 34 VSS RE1/OE 3 31 RB2/PWM1
RB0/CAP1 13 33 VSS RE0/ALE 4 30 RB1/CAP2
VSS 5 29 RB0/CAP1
RB1/CAP2 14 32 RE0/ALE
VSS VSS
6 28
RB2/PWM1 15 31 RE1/OE
MCLR/VPP 7 27 VSS
RB3/PWM2 16 30 RE2/WR
RD7/AD15 8 26 RC7/AD7
RB4/TCLK12 17 29 TEST
RD6/AD14 RC6/AD6
9 25
RD5/AD13 10 24 RC5/AD5
RD4/AD12 11 23 RC4/AD4
All devices are available in all package types, listed in Section 21.0, with the following exceptions:
ROM devices are not available in Windowed CERDIP Packages
TQFP is not available for the PIC17C42.
DS30412C-page 2 1996 Microchip Technology Inc.
RC3/AD3
6
5 RC2/AD2
4 RC1/AD1
3 RC0/AD0
2 NC
1 VDD
44 VDD
43 RD0/AD8
42 RD1/AD9
41 RD2/AD10
RD3/AD11
40
RA0/INT
44
43 RA1/T0CKI
RA2
42
RA3
41
RA4/RX/DT
40
RA5/TX/CK
39
38 OSC2/CLKOUT
OSC1/CLKIN
37
RB7
36
35 RB6
RB5/TCLK3
34