Pic 16c5xx
Pic 16c5xx
Pic 16c5xx
PIC16C5X
Devices Included in this Data Sheet: • 12-bit wide instructions
• PIC16C52 • 8-bit wide data path
• PIC16C54s • Seven or eight special function hardware registers
• PIC16CR54s • Two-level deep hardware stack
• PIC16C55s • Direct, indirect and relative addressing modes for
• PIC16C56s data and instructions
• PIC16CR56s Peripheral Features:
• PIC16C57s • 8-bit real time clock/counter (TMR0) with 8-bit
• PIC16CR57s programmable prescaler
• PIC16C58s • Power-On Reset (POR)
• PIC16CR58s • Device Reset Timer (DRT)
• Watchdog Timer (WDT) with its own on-chip
Note: The letter "s" used following the part
RC oscillator for reliable operation
numbers throughout this document
indicate plural, meaning there is more • Programmable code-protection
than one part variety for the indicated • Power saving SLEEP mode
device. • Selectable oscillator options:
High-Performance RISC CPU: - RC: Low-cost RC oscillator
• Only 33 single word instructions to learn - XT: Standard crystal/resonator
• All instructions are single cycle (200 ns) except for - HS: High-speed crystal/resonator
program branches which are two-cycle - LP: Power saving, low-frequency crystal
• Operating speed: DC - 20 MHz clock input CMOS Technology:
DC - 200 ns instruction cycle • Low-power, high-speed CMOS EPROM/ROM
EPROM/ technology
Device Pins I/O RAM
ROM • Fully static design
PIC16C52 18 12 384 25 • Wide-operating voltage and temperature range:
PIC16C54 18 12 512 25 - EPROM Commercial/Industrial 2.0V to 6.25V
PIC16C54A 18 12 512 25 - ROM Commercial/Industrial 2.0V to 6.25V
PIC16C54B 18 12 512 25 - EPROM Extended 2.5V to 6.0V
PIC16CR54A 18 12 512 25 - ROM Extended 2.5V to 6.0V
PIC16CR54B 18 12 512 25 • Low-power consumption
PIC16C55 28 20 512 24 - < 2 mA typical @ 5V, 4 MHz
PIC16C55A 28 20 512 24 - 15 µA typical @ 3V, 32 kHz
PIC16C56 18 12 1K 25 - < 0.6 µA typical standby current
PIC16C56A 18 12 1K 25 (with WDT disabled) @ 3V, 0°C to 70°C
PIC16CR56A 18 12 1K 25
PIC16C57 28 20 2K 72 Note: In this document, figure and table titles
refer to all varieties of the part number
PIC16C57C 28 20 2K 72
indicated, (i.e., The title "Figure 14-1:
PIC16CR57B 28 20 2K 72 Load Conditions - PIC16C54A", also
PIC16CR57C 28 20 2K 72 refers to PIC16LC54A and PIC16LV54A
PIC16C58A 18 12 2K 73 parts).
PIC16C58B 18 12 2K 73
PIC16CR58A 18 12 2K 73
PIC16CR58B 18 12 2K 73
PIC16CR57s
PIC16C57s
PIC16C55s
RB0 13
RB1 7 12 RB6 RA0 6 23 RC6
RB2 8 11 RB5 RA1 7 22
RC5
RB3 9 10 RB4 RA2 8 21
RA3 9 20 RC4
RB0 10 19 RC3
RB1 11 18
RC2
RB2 12 17
RC1
RB3 13 16
RB4 14 15 RC0
SSOP SSOP
PIC16CR57s
PIC16C57s
PIC16C55s
MCLR/VPP 4 17 OSC2/CLKOUT RA0 5 24 RC6
VSS 5 16 VDD RA1 6 23 RC5
VSS 6 15 VDD RA2 7 22 RC4
RB0 7 14 RB7 RA3 8 21 RC3
RB0 9 20 RC2
RB1 8 13 RB6 RB1 10 19 RC1
RB2 9 12 RB5 RB2 11 18 RC0
RB3 10 11 RB4 RB3 12 17 RB7
RB4 13 16 RB6
VSS 14 15 RB5
STATUS 73 Bytes
TMR0 FSR
8
DATA BUS
W ALU
8
FROM W FROM W FROM W
4 8 8
4 8 8
“TRIS 5” “TRIS 6” “TRIS 7”
TRISA PORTA TRISB PORTB TRISC PORTC
4 8 8
Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4
OSC1
Q1
Q2 Internal
phase
Q3 clock
Q4
PC PC PC+1 PC+2
OSC2/CLKOUT
(RC mode)
Fetch INST (PC)
Execute INST (PC-1) Fetch INST (PC+1)
Execute INST (PC) Fetch INST (PC+2)
Execute INST (PC+1)
All instructions are single cycle, except for any program branches. These take two cycles since the fetch
instruction is “flushed” from the pipeline while the new instruction is being fetched and then executed.
User Memory
On-chip
Space
The PIC16C52 has a 9-bit Program Counter (PC) Program 0FFh
100h
capable of addressing a 384 x 12 program memory Memory
space (Figure 4-1). The PIC16C54s, PIC16CR54s and
PIC16C55s have a 9-bit Program Counter (PC)
capable of addressing a 512 x 12 program memory Reset Vector 1FFh
space (Figure 4-2). The PIC16C56s and PIC16CR56s
have a 10-bit Program Counter (PC) capable of
addressing a 1K x 12 program memory space FIGURE 4-3: PIC16C56s/CR56s
(Figure 4-3). The PIC16CR57s, PIC16C58s and PROGRAM MEMORY MAP
PIC16CR58s have an 11-bit Program Counter capable AND STACK
of addressing a 2K x 12 program memory space
(Figure 4-4). Accessing a location above the physically PC<9:0>
10
implemented address will cause a wraparound. CALL, RETLW
The reset vector for the PIC16C52 is at 17Fh. A NOP Stack Level 1
at the reset vector location will cause a restart at Stack Level 2
location 000h. The reset vector for the PIC16C54s,
PIC16CR54s and PIC16C55s is at 1FFh. The reset 000h
3FFh. The reset vector for the PIC16C57s, Memory (Page 0) 100h
Space
000h
User Memory
Space
On-chip Program
Memory
PC<10:0>
11
CALL, RETLW
Stack Level 1
Stack Level 2
000h
On-chip Program 0FFh
Memory (Page 0) 100h
1FFh
200h
On-chip Program
User Memory
2FFh
Memory (Page 1) 300h
Space
3FFh
400h
On-chip Program
4FFh
Memory (Page 2) 500h
5FFh
600h
On-chip Program
6FFh
Memory (Page 3) 700h
The general purpose registers are used for data and 05h PORTA
control information under command of the instructions. 06h PORTB
For the PIC16C52, PIC16C54s, PIC16CR54s, 07h PORTC(2)
PIC16C56s and PIC16CR56s, the register file is
composed of 7 special function registers and 25
general purpose registers (Figure 4-5).
0Fh General
For the PIC16C55s, the register file is composed of 8 Purpose
10h Registers
special function registers and 24 general purpose
registers.
For the PIC16C57s and PIC16CR57s, the register file
is composed of 8 special function registers, 24 general 1Fh
purpose registers and up to 48 additional general
purpose registers that may be addressed using a Note 1: Not a physical register. See Section 4.7
banking scheme (Figure 4-6). 2: PIC16C55s only, others are a general
purpose register.
For the PIC16C58s and PIC16CR58s, the register file
is composed of 7 special function registers, 25 general
purpose registers and up to 48 additional general
purpose registers that may be addressed using a
banking scheme (Figure 4-7).
01h TMR0
02h PCL
03h STATUS
04h FSR
Addresses map back to
05h PORTA addresses in Bank 0.
06h PORTB
07h PORTC
08h General
Purpose
0Fh Registers 2Fh 4Fh 6Fh
10h 30h 50h 70h
General General General General
Purpose Purpose Purpose Purpose
Registers Registers Registers Registers
01h TMR0
02h PCL
03h STATUS
04h FSR
Addresses map back to
05h PORTA addresses in Bank 0.
06h PORTB
07h
General
Purpose
Registers
0Fh 2Fh 4Fh 6Fh
10h 30h 50h 70h
General General General General
Purpose Purpose Purpose Purpose
Registers Registers Registers Registers
Value on Value on
Power-On MCLR and
Address Name Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Reset WDT Reset
N/A TRIS I/O control registers (TRISA, TRISB, TRISC) 1111 1111 1111 1111
N/A OPTION Contains control bits to configure Timer0 and Timer0/WDT prescaler --11 1111 --11 1111
00h INDF Uses contents of FSR to address data memory (not a physical register) xxxx xxxx uuuu uuuu
01h TMR0 8-bit real-time clock/counter xxxx xxxx uuuu uuuu
(1)
02h PCL Low order 8 bits of PC 1111 1111 1111 1111
03h STATUS PA2 PA1 PA0 TO PD Z DC C 0001 1xxx 000q quuu
04h FSR Indirect data memory address pointer 1xxx xxxx 1uuu uuuu
05h PORTA — — — — RA3 RA2 RA1 RA0 ---- xxxx ---- uuuu
06h PORTB RB7 RB6 RB5 RB4 RB3 RB2 RB1 RB0 xxxx xxxx uuuu uuuu
(2)
07h PORTC RC7 RC6 RC5 RC4 RC3 RC2 RC1 RC0 xxxx xxxx uuuu uuuu
Legend: Shaded boxes = unimplemented or unused, – = unimplemented, read as '0' (if applicable)
x = unknown, u = unchanged, q = see the tables in Section 7.7 for possible values.
Note 1: The upper byte of the Program Counter is not directly accessible. See Section 4.5
for an explanation of how to access these bits.
2: File address 07h is a general purpose register on the PIC16C52, PIC16C54s, PIC16CR54s, PIC16C56s, PIC16CR56s,
PIC16C58s and PIC16CR58s.
Instruction Word
Reset to ‘0’
2 PA1:PA0
7 0
STATUS
Data 0Fh
Memory(1) 10h
Value on Value on
Power-On MCLR and
Address Name Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Reset WDT Reset
N/A TRIS I/O control registers (TRISA, TRISB) 1111 1111 1111 1111
05h PORTA — — — — RA3 RA2 RA1 RA0 ---- xxxx ---- uuuu
06h PORTB RB7 RB6 RB5 RB4 RB3 RB2 RB1 RB0 xxxx xxxx uuuu uuuu
07h PORTC RC7 RC6 RC5 RC4 RC3 RC2 RC1 RC0 xxxx xxxx uuuu uuuu
Legend: Shaded boxes = unimplemented, read as ‘0’,
– = unimplemented, read as '0', x = unknown, u = unchanged
Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4
PC PC + 1 PC + 2 PC + 3
Instruction
fetched MOVWF PORTB MOVF PORTB,W NOP NOP
This example shows a write
to PORTB followed by a read
RB7:RB0
from PORTB.
Port pin Port pin
written here sampled here
Instruction
executed MOVWF PORTB MOVF PORTB,W NOP
(Write to (Read
PORTB) PORTB)
Data bus
FOSC/4 0
PSout 8
1
Sync with
1 Internal TMR0 reg
T0CKI Programmable Clocks
0 PSout
pin Prescaler(2)
T0SE(1) (2 cycle delay) Sync
3
PS2, PS1, PS0(1) PSA(1)
T0CS(1)
Note 1: Bits T0CS, T0SE, PSA, PS2, PS1 and PS0 are located in the OPTION register.
2: The prescaler is shared with the Watchdog Timer (Figure 6-6).
RIN
VSS VSS
PC Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4
(Program
Counter) PC-1 PC PC+1 PC+2 PC+3 PC+4 PC+5 PC+6
Instruction MOVWF TMR0 MOVF TMR0,W MOVF TMR0,W MOVF TMR0,W MOVF TMR0,W MOVF TMR0,W
Fetch
Instruction
Executed
Write TMR0 Read TMR0 Read TMR0 Read TMR0 Read TMR0 Read TMR0
executed reads NT0 reads NT0 reads NT0 reads NT0 + 1 reads NT0 + 2
PC Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4
(Program
Counter) PC-1 PC PC+1 PC+2 PC+3 PC+4 PC+5 PC+6
Instruction MOVWF TMR0 MOVF TMR0,W MOVF TMR0,W MOVF TMR0,W MOVF TMR0,W MOVF TMR0,W
Fetch
Instruction
Execute Write TMR0 Read TMR0 Read TMR0 Read TMR0 Read TMR0 Read TMR0
executed reads NT0 reads NT0 reads NT0 reads NT0 reads NT0 + 1
Value on Value on
Power-On MCLR and
Address Name Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Reset WDT Reset
01h TMR0 Timer0 - 8-bit real-time clock/counter xxxx xxxx uuuu uuuu
N/A OPTION — — T0CS T0SE PSA PS2 PS1 PS0 --11 1111 --11 1111
Legend: Shaded cells: Unimplemented bits,
- = unimplemented, x = unknown, u = unchanged,
Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4
External Clock Input or Small pulse
Prescaler Output (2) misses sampling
(1)
External Clock/Prescaler (3)
Output After Sampling
Timer0 T0 T0 + 1 T0 + 2
Note 1: Delay from clock input change to Timer0 increment is 3Tosc to 7Tosc. (Duration of Q = Tosc).
Therefore, the error in measuring the interval between two edges on Timer0 input = ± 4Tosc max.
2: External clock if no prescaler selected, Prescaler output otherwise.
3: The arrows indicate the points in time where sampling occurs.
TCY ( = Fosc/4)
Data Bus
0 8
M 1
T0CKI U M
1 X Sync
pin U 2 TMR0 reg
0 X Cycles
T0SE
T0CS
PSA
0
8-bit Prescaler
M
U
1 X
Watchdog 8
Timer
8 - to - 1MUX PS2:PS0
PSA
0 1
WDT Enable bit
MUX PSA
WDT
Time-Out
Note: T0CS, T0SE, PSA, PS2:PS0 are bits in the OPTION register.
WDT not implemented on PIC16C52.
Note 1: Refer to the PIC16C5X Programming Specification (Literature Number DS30190) to deter-
mine how to access the configuration word.
PCL STATUS
Condition
Addr: 02h Addr: 03h
Power-On Reset 1111 1111 0001 1xxx
MCLR reset (normal operation) 1111 1111 000u uuuu(1)
MCLR wake-up (from SLEEP) 1111 1111 0001 0uuu
WDT reset (normal operation) 1111 1111 0000 1uuu(2)
WDT wake-up (from SLEEP) 1111 1111 0000 0uuu
Legend: u = unchanged, x = unknown, - = unimplemented read as '0'.
Note 1: TO and PD bits retain their last value until one of the other reset conditions occur.
2: The CLRWDT instruction will set the TO and PD bits.
TABLE 7-4: RESET CONDITIONS FOR ALL REGISTERS
Power-Up
Detect
VDD POR (Power-On Reset)
RESET S Q
WDT
On-Chip 8-bit Asynch
RC OSC Ripple Counter
(Start-Up Timer) R Q
CHIP RESET
VDD
MCLR
INTERNAL POR
TDRT
DRT TIME-OUT
INTERNAL RESET
FIGURE 7-11: TIME-OUT SEQUENCE ON POWER-UP (MCLR TIED TO VDD): FAST VDD RISE TIME
VDD
MCLR
INTERNAL POR
TDRT
DRT TIME-OUT
INTERNAL RESET
FIGURE 7-12: TIME-OUT SEQUENCE ON POWER-UP (MCLR TIED TO VDD): SLOW VDD RISE TIME
V1
VDD
MCLR
INTERNAL POR
TDRT
DRT TIME-OUT
INTERNAL RESET
When VDD rises slowly, the TDRT time-out expires long before VDD has reached its final value. In
this example, the chip will reset properly if, and only if, V1 ≥ VDD min
0
M Postscaler
Watchdog 1 Postscaler
U
Timer
X
8 - to - 1 MUX PS2:PS0
0 1
MUX PSA
Note: T0CS, T0SE, PSA, PS2:PS0
are bits in the OPTION register.
WDT
Time-out
Value on Value on
Power-On MCLR and
Address Name Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Reset WDT Reset
N/A OPTION — — T0CS T0SE PSA PS2 PS1 PS0 --11 1111 --11 1111
Legend: Shaded boxes = Not used by Watchdog Timer,
– = unimplemented, read as '0', u = unchanged
Description: The contents of the W register are Encoding: 0100 bbbf ffff
AND’ed with the eight-bit literal 'k'. The Description: Bit 'b' in register 'f' is cleared.
result is placed in the W register.
Words: 1
Words: 1
Cycles: 1
Cycles: 1
Example: BCF FLAG_REG, 7
Example: ANDLW 0x5F
Before Instruction
Before Instruction FLAG_REG = 0xC7
W = 0xA3
After Instruction
After Instruction FLAG_REG = 0x47
W = 0x03
NOP No Operation
MOVLW Move Literal to W Syntax: [ label ] NOP
Syntax: [ label ] MOVLW k Operands: None
Operands: 0 ≤ k ≤ 255 Operation: No operation
Operation: k → (W) Status Affected: None
Status Affected: None Encoding: 0000 0000 0000
Encoding: 1100 kkkk kkkk Description: No operation.
Description: The eight bit literal 'k' is loaded into the Words: 1
W register. The don’t cares will assem-
ble as 0s.
Cycles: 1
Cycles: 1
Example: MOVLW 0x5A
After Instruction
W = 0x5A
Words: 1 Words: 1
Cycles: 1 Cycles: 1
Example TRIS PORTA Example XORWF REG,1
Before Instruction Before Instruction
W = 0XA5 REG = 0xAF
After Instruction W = 0xB5
TRISA = 0XA5 After Instruction
REG = 0x1A
W = 0xB5
PICMASTER-CE Available
In-Circuit Emulator ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔ 3Q97
DS30453A-page 58
ICEPIC Low-Cost
In-Circuit Emulator
✔ ✔ ✔ ✔ ✔ ✔
PIC16C5X
Emulator Products
MPLAB
Integrated
Development
Environment ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔
MPLAB C
Compiler ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔
fuzzyTECH-MP
Explorer/Edition
Fuzzy Logic
Dev. Tool ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔
Software Tools
MP-DriveWay
Applications
Code Generator ✔ ✔ ✔ ✔ ✔ ✔
Total Endurance
Software Model ✔
Preliminary
PICSTART
DEVELOPMENT TOOLS FROM MICROCHIP
Programmers
Programmer ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔
KEELOQ
Programmer ✔
SEEVAL
Designers Kit ✔
PICDEM-1 ✔ ✔ ✔ ✔
PICDEM-2 ✔ ✔
PICDEM-3 ✔
Demo Boards
KEELOQ
✔
Q4 Q1 Q2 Q3 Q4 Q1
OSC1
1 3 3
4 4
2
CLKOUT
Parameter
No. Sym Characteristic Min Typ(1) Max Units Conditions
Q4 Q1 Q2 Q3
OSC1
10 11
CLKOUT
13 18 12
14 19 16
I/O Pin
(input)
17 15
20, 21
Note: All tests must be done with specified capacitive loads (see data sheet) 50 pF on I/O pins and CLKOUT.
Parameter
No. Sym Characteristic Min Typ(1) Max Units
VDD
MCLR
30
Internal
POR
32 32
32
DRT
Time-out
Internal
RESET
34 34
I/O pin
(Note 1)
Note 1: I/O pins must be taken out of hi-impedance mode by enabling the output drivers in software.
Parameter
No. Sym Characteristic Min Typ(1) Max Units Conditions
T0CKI
40 41
42
VDD Start Voltage to ensure VPOR VSS V See Section 7.4 for details on
Power-On Reset Power-On Reset
VDD Rise Rate to ensure SVDD 0.05* V/ms See Section 7.4 for details on
Power-On Reset Power-On Reset
VDD Start Voltage to ensure VPOR VSS V See Section 7.4 for details on
Power-On Reset Power-On Reset
VDD Rise Rate to ensure SVDD 0.05* V/ms See Section 7.4 for details on
Power-On Reset Power-On Reset
VDD Start Voltage to ensure VPOR VSS V See Section 7.4 for details on
Power-On Reset Power-On Reset
VDD rise rate to ensure SVDD 0.05* V/ms See Section 7.4 for details on
Power-On Reset Power-On Reset
Q4 Q1 Q2 Q3 Q4 Q1
OSC1
1 3 3
4 4
2
CLKOUT
Parameter
No. Sym Characteristic Min Typ(1) Max Units Conditions
Parameter
No. Sym Characteristic Min Typ(1) Max Units Conditions
20* — — ns HS oscillator
2* — — µs LP oscillator
4 TosR, TosF Clock in (OSC1) Rise or Fall Time — — 25* ns XT oscillator
— — 25* ns HS oscillator
— — 50* ns LP oscillator
* These parameters are characterized but not tested.
Note 1: Data in the Typical (“Typ”) column is at 5.0V, 25°C unless otherwise stated. These parameters are for design guidance only
and are not tested.
2: All specified values are based on characterization data for that particular oscillator type under standard operating
conditions with the device executing code. Exceeding these specified limits may result in an unstable oscillator operation
and/or higher than expected current consumption.
When an external clock input is used, the “max” cycle time limit is “DC” (no clock) for all devices.
3: Instruction cycle period (TCY) equals four times the input oscillator time base period.
Q4 Q1 Q2 Q3
OSC1
10 11
CLKOUT
13 18 12
14 19 16
I/O Pin
(input)
17 15
20, 21
Note: All tests must be done with specified capacitive loads (see data sheet) 50 pF on I/O pins and CLKOUT.
Parameter
No. Sym Characteristic Min Typ(1) Max Units
VDD
MCLR
30
Internal
POR
32 32
32
DRT
Time-out
Internal
RESET
Watchdog
Timer
RESET
31
34 34
I/O pin
(Note 1)
Note 1: I/O pins must be taken out of hi-impedance mode by enabling the output drivers in software.
TABLE 11-5: RESET, WATCHDOG TIMER, AND DEVICE RESET TIMER - PIC16C54/55/56/57
Parameter
No. Sym Characteristic Min Typ(1) Max Units Conditions
T0CKI
40 41
42
NOTES:
1.10
Rext ≥ 10 kΩ
1.08
Cext = 100 pF
1.06
1.04
1.02
1.00
0.98
VDD = 5.5 V
0.96
0.94
VDD = 3.5 V
0.92
0.90
0.88
0 10 20 25 30 40 50 60 70
T(°C)
Average
Cext Rext
Fosc @ 5 V, 25°C
20 pF 3.3 k 4.973 MHz ± 27%
5k 3.82 MHz ± 21%
10 k 2.22 MHz ± 21%
100 k 262.15 kHz ± 31%
100 pF 3.3 k 1.63 MHz ± 13%
5k 1.19 MHz ± 13%
10 k 684.64 kHz ± 18%
100 k 71.56 kHz ± 25%
300 pF 3.3 k 660 kHz ± 10%
5.0 k 484.1 kHz ± 14%
10 k 267.63 kHz ± 15%
160 k 29.44 kHz ± 19%
The frequencies are measured on DIP packages.
The percentage variation indicated here is part-to-part variation due to normal process distribution. The variation
indicated is ±3 standard deviation from average value for VDD = 5 V.
4.5 1.4
4.0 R = 5k 1.2 R = 5k
FOSC (MHz)
3.5 1.0
FOSC (MHz)
3.0 0.8
R = 10k R = 10k
2.5 0.6
Measured on DIP Packages, T = 25°C
2.0 0.4
Measured on DIP Packages, T = 25°C
1.5 0.2
R = 100k
1.0 0.0
3.0 3.5 4.0 4.5 5.0 5.5 6.0
R = 100k VDD (Volts)
0.5
FIGURE 12-4: TYPICAL RC OSCILLATOR
FREQUENCY vs. VDD,
0.0
3.0 3.5 4.0 4.5 5.0 5.5 6.0 CEXT = 300 PF
VDD (Volts) 800
700 R = 3.3k
600
500 R = 5k
FOSC (kHz)
400
300 R = 10k
200
Measured on DIP Packages, T = 25°C
100
R = 100k
0
3.0 3.5 4.0 4.5 5.0 5.5 6.0
VDD (Volts)
18
2.0 16
14
T = 25°C T = 25°C
1.5 12
10
IPD (µA)
IPD (µA)
1.0 8
0.5 4
0.0 0
2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0 2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0
VDD (Volts) VDD (Volts)
FIGURE 12-6: MAXIMUM IPD vs. VDD, FIGURE 12-8: MAXIMUM IPD vs. VDD,
WATCHDOG DISABLED WATCHDOG ENABLED
100 60
50
+125˚C
+85˚C
10 40
+70˚C –55°C
0˚C
+85°C
IPD (mA)
30
–40˚C
+125°C
IPD (µA)
–40°C
–55˚C +70°C
1 20
0°C
10
0
0
2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0 6.5 7.0 2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0 6.5 7.0
VDD (Volts) VDD (Volts)
IPD, with WDT enabled, has two components:
The leakage current which increases with higher temperature
and the operating current of the WDT logic which increases
with lower temperature. At –40°C, the latter dominates
explaining the apparently anomalous behavior.
FIGURE 12-9: VTH (INPUT THRESHOLD VOLTAGE) OF I/O PINS vs. VDD
2.00
1.80 °C)
to +85
–40°C
1.60 Max (
VTH (Volts)
1.40 2 5°C)
Typ (+
1.20
°C)
1.00 to +85
40°C
Min (–
0.80
0.60
2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0
VDD (Volts)
FIGURE 12-10: VIH, VIL OF MCLR, T0CKI AND OSC1 (IN RC MODE) vs. VDD
4.5
4.0
+8 5°C)
°C to
3.5 (–40
max
VIH °C
+25
typ C)
+85°
3.0
VIH
VIH, VIL (Volts)
t o
40° C
2.5 m in (–
VIH
2.0
1.5 °C to +85°C)
VIL max (–40
1.0 VIH typ +25°C
0.5 5°C)
VIL min (–40°C to +8
0.0
2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0
Note: These input pins have Schmitt Trigger input buffers.
VDD (Volts)
2.2 Typ
C)
2.0 o+ 85°
°C t
(–40
1.8 Min
1.6
1.4
1.2
1.0
2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0
VDD (Volts)
1.0
IDD (mA)
0.1 7.0
6.5
6.0
5.5
5.0
4.5
4.0
3.5
3.0
2.5
0.01
10k 100k 1M 10M 100M
External Clock Frequency (Hz)
FIGURE 12-13: MAXIMUM IDD vs. FREQUENCY (EXTERNAL CLOCK, –40°C TO +85°C)
10
1.0
IDD (mA)
7.0
6.5
0.1 6.0
5.5
5.0
4.5
4.0
3.5
3.0
2.5
0.01
10k 100k 1M 10M 100M
External Clock Frequency (Hz)
FIGURE 12-14: MAXIMUM IDD vs. FREQUENCY (EXTERNAL CLOCK –55°C TO +125°C)
10
1.0
IDD (mA)
7.0
6.5
6.0
5.5
5.0
0.1 4.5
4.0
3.5
3.0
2.5
0.01
10k 100k 1M 10M 100M
External Clock Frequency (Hz)
45 8000
Max –40°C
40 7000
35 6000
WDT period (ms)
30 5000
gm (µA/V)
25 4000
Max +70°C
20 3000
Typ +25°C
Min +85°C
15 2000
MIn 0°C
10 100
MIn –40°C
5 0
2 3 4 5 6 7 2 3 4 5 6 7
VDD (Volts) VDD (Volts)
40
Max –40°C
Max –40°C
35 2000
30
1500
25
gm (µA/V)
gm (µA/V)
Typ +25°C
Typ +25°C
20
1000
15
Min +85°C
10 500
Min +85°C
5
0
2 3 4 5 6 7
0
2 3 4 5 6 7 VDD (Volts)
VDD (Volts)
FIGURE 12-18: IOH vs. VOH, VDD = 3 V FIGURE 12-20: IOH vs. VOH, VDD = 5 V
0 0
Min +85°C
–5
Min +85°C –10
–10
IOH (mA)
IOH (mA)
–20
Typ +25°C
Typ +25°C
–15
Max –40°C
–30
Max –40°C
–20
–40
–25 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
0 0.5 1.0 1.5 2.0 2.5 3.0
VOH (Volts)
VOH (Volts)
FIGURE 12-21: IOL vs. VOL, VDD = 3 V FIGURE 12-22: IOL vs. VOL, VDD = 5 V
45 90
35 70
30 60
Typ +25°C
25 50
IOL (mA)
IOL (mA)
Typ +25°C
20 40
Min +85°C
15 30
Min +85°C
10 20
5 10
0 0
0.0 0.5 1.0 1.5 2.0 2.5 3.0 0.0 0.5 1.0 1.5 2.0 2.5 3.0
VOL (Volts) VOL (Volts)
TABLE 12-2: INPUT CAPACITANCE FOR TABLE 12-3: INPUT CAPACITANCE FOR
PIC16C54/56 PIC16C55/57
1. TppS2ppS
2. TppS
T
F Frequency T Time
Lowercase subscripts (pp) and their meanings:
pp
2 to mc MCLR
ck CLKOUT osc oscillator
cy cycle time os OSC1
drt device reset timer t0 T0CKI
io I/O port wdt watchdog timer
Uppercase letters and their meanings:
S
F Fall P Period
H High R Rise
I Invalid (Hi-impedance) V Valid
L Low Z Hi-impedance
Q4 Q1 Q2 Q3 Q4 Q1
OSC1
1 3 3
4 4
2
CLKOUT
Parameter
No. Sym Characteristic Min Typ(1) Max Units Conditions
Parameter
No. Sym Characteristic Min Typ(1) Max Units Conditions
20* — — ns HS oscillator
2.0* — — µs LP oscillator
4 TosR, TosF Clock in (OSC1) Rise or Fall Time — — 25* ns XT oscillator
— — 25* ns HS oscillator
— — 50* ns LP oscillator
* These parameters are characterized but not tested.
Note 1: Data in the Typical (“Typ”) column is at 5.0V, 25°C unless otherwise stated. These parameters are for design guidance only
and are not tested.
2: All specified values are based on characterization data for that particular oscillator type under standard operating
conditions with the device executing code. Exceeding these specified limits may result in an unstable oscillator operation
and/or higher than expected current consumption.
When an external clock input is used, the “max” cycle time limit is “DC” (no clock) for all devices.
3: Instruction cycle period (TCY) equals four times the input oscillator time base period.
Q4 Q1 Q2 Q3
OSC1
10 11
CLKOUT
13 12
19 18
14 16
I/O Pin
(input)
17 15
20, 21
Note: All tests must be done with specified capacitive loads (see data sheet) 50 pF on I/O pins and CLKOUT.
Parameter
No. Sym Characteristic Min Typ(1) Max Units
FIGURE 13-4: RESET, WATCHDOG TIMER, AND DEVICE RESET TIMER TIMING - PIC16CR54A
VDD
MCLR
30
Internal
POR
32 32
32
DRT
Time-out
Internal
RESET
Watchdog
Timer
RESET
31
34 34
I/O pin
(Note 1)
Note 1: I/O pins must be taken out of hi-impedance mode by enabling the output drivers in software.
TABLE 13-4: RESET, WATCHDOG TIMER, AND DEVICE RESET TIMER - PIC16CR54A
Parameter
No. Sym Characteristic Min Typ(1) Max Units Conditions
T0CKI
40 41
42
NOTES:
Q4 Q1 Q2 Q3 Q4 Q1
OSC1
1 3 3
4 4
2
CLKOUT
Parameter
No. Sym Characteristic Min Typ(1) Max Units Conditions
Parameter
No. Sym Characteristic Min Typ(1) Max Units Conditions
20* — — ns HS oscillator
2.0* — — µs LP oscillator
4 TosR, TosF Clock in (OSC1) Rise or Fall Time — — 25* ns XT oscillator
— — 25* ns HS oscillator
— — 50* ns LP oscillator
* These parameters are characterized but not tested.
Note 1: Data in the Typical (“Typ”) column is at 5V, 25°C unless otherwise stated. These parameters are for design guidance only
and are not tested.
2: All specified values are based on characterization data for that particular oscillator type under standard operating condi-
tions with the device executing code. Exceeding these specified limits may result in an unstable oscillator operation and/or
higher than expected current consumption.
When an external clock input is used, the “max” cycle time limit is “DC” (no clock) for all devices.
3: Instruction cycle period (TCY) equals four times the input oscillator time base period.
Q4 Q1 Q2 Q3
OSC1
10 11
CLKOUT
13 18 12
14 19 16
I/O Pin
(input)
17 15
20, 21
Note: All tests must be done with specified capacitive loads (see data sheet) 50 pF on I/O pins and CLKOUT.
Parameter
No. Sym Characteristic Min Typ(1) Max Units
VDD
MCLR
30
Internal
POR
32 32
32
DRT
Time-out
Internal
RESET
Watchdog
Timer
RESET
31
34 34
I/O pin
(Note 1)
Note 1: I/O pins must be taken out of hi-impedance mode by enabling the output drivers in software.
TABLE 14-4: RESET, WATCHDOG TIMER, AND DEVICE RESET TIMER - PIC16C54A
Parameter
No. Sym Characteristic Min Typ(1) Max Units Conditions
T0CKI
40 41
42
NOTES:
1. TppS2ppS
2. TppS
T
F Frequency T Time
Lowercase subscripts (pp) and their meanings:
pp
2 to mc MCLR
ck CLKOUT osc oscillator
cy cycle time os OSC1
drt device reset timer t0 T0CKI
io I/O port wdt watchdog timer
Uppercase letters and their meanings:
S
F Fall P Period
H High R Rise
I Invalid (Hi-impedance) V Valid
L Low Z Hi-impedance
Q4 Q1 Q2 Q3 Q4 Q1
OSC1
1 3 3
4 4
2
CLKOUT
Parameter
No. Sym Characteristic Min Typ(1) Max Units Conditions
Parameter
No. Sym Characteristic Min Typ(1) Max Units Conditions
20* — — ns HS oscillator
2.0* — — µs LP oscillator
4 TosR, TosF Clock in (OSC1) Rise or Fall Time — — 25* ns XT oscillator
— — 25* ns HS oscillator
— — 50* ns LP oscillator
* These parameters are characterized but not tested.
Note 1: Data in the Typical (“Typ”) column is at 5.0V, 25°C unless otherwise stated. These parameters are for design guidance only
and are not tested.
2: All specified values are based on characterization data for that particular oscillator type under standard operating
conditions with the device executing code. Exceeding these specified limits may result in an unstable oscillator operation
and/or higher than expected current consumption.
When an external clock input is used, the “max” cycle time limit is “DC” (no clock) for all devices.
3: Instruction cycle period (TCY) equals four times the input oscillator time base period.
Q4 Q1 Q2 Q3
OSC1
10 11
CLKOUT
13 12
19 18
14 16
I/O Pin
(input)
17 15
20, 21
Note: All tests must be done with specified capacitive loads (see data sheet) 50 pF on I/O pins and CLKOUT.
Parameter
No. Sym Characteristic Min Typ(1) Max Units
FIGURE 15-4: RESET, WATCHDOG TIMER, AND DEVICE RESET TIMER TIMING - PIC16CR57B
VDD
MCLR
30
Internal
POR
32 32
32
DRT
Time-out
Internal
RESET
Watchdog
Timer
RESET
31
34 34
I/O pin
(Note 1)
Note 1: I/O pins must be taken out of hi-impedance mode by enabling the output drivers in software.
TABLE 15-4: RESET, WATCHDOG TIMER, AND DEVICE RESET TIMER - PIC16CR57B
Parameter
No. Sym Characteristic Min Typ(1) Max Units Conditions
T0CKI
40 41
42
NOTES:
Q4 Q1 Q2 Q3 Q4 Q1
OSC1
1 3 3
4 4
2
CLKOUT
Parameter
No. Sym Characteristic Min Typ(1) Max Units Conditions
Parameter
No. Sym Characteristic Min Typ(1) Max Units Conditions
20* — — ns HS oscillator
2.0* — — µs LP oscillator
4 TosR, TosF Clock in (OSC1) Rise or Fall Time — — 25* ns XT oscillator
— — 25* ns HS oscillator
— — 50* ns LP oscillator
* These parameters are characterized but not tested.
Note 1: Data in the Typical (“Typ”) column is at 5.0V, 25°C unless otherwise stated. These parameters are for design guidance only
and are not tested.
2: All specified values are based on characterization data for that particular oscillator type under standard operating
conditions with the device executing code. Exceeding these specified limits may result in an unstable oscillator operation
and/or higher than expected current consumption.
When an external clock input is used, the “max” cycle time limit is “DC” (no clock) for all devices.
3: Instruction cycle period (TCY) equals four times the input oscillator time base period.
Q4 Q1 Q2 Q3
OSC1
10 11
CLKOUT
13 18 12
14 19 16
I/O Pin
(input)
17 15
20, 21
Note: All tests must be done with specified capacitive loads (see data sheet) 50 pF on I/O pins and CLKOUT.
Parameter
No. Sym Characteristic Min Typ(1) Max Units
VDD
MCLR
30
Internal
POR
32 32
32
DRT
Time-out
Internal
RESET
Watchdog
Timer
RESET
31
34 34
I/O pin
(Note 1)
Note 1: I/O pins must be taken out of hi-impedance mode by enabling the output drivers in software.
TABLE 16-4: RESET, WATCHDOG TIMER, AND DEVICE RESET TIMER - PIC16C58A
Parameter
No. Sym Characteristic Min Typ(1) Max Units Conditions
T0CKI
40 41
42
NOTES:
1. TppS2ppS
2. TppS
T
F Frequency T Time
Lowercase subscripts (pp) and their meanings:
pp
2 to mc MCLR
ck CLKOUT osc oscillator
cy cycle time os OSC1
drt device reset timer t0 T0CKI
io I/O port wdt watchdog timer
Uppercase letters and their meanings:
S
F Fall P Period
H High R Rise
I Invalid (Hi-impedance) V Valid
L Low Z Hi-impedance
Q4 Q1 Q2 Q3 Q4 Q1
OSC1
1 3 3
4 4
2
CLKOUT
Parameter
No. Sym Characteristic Min Typ(1) Max Units Conditions
Parameter
No. Sym Characteristic Min Typ(1) Max Units Conditions
20* — — ns HS oscillator
2.0* — — µs LP oscillator
4 TosR, TosF Clock in (OSC1) Rise or Fall Time — — 25* ns XT oscillator
— — 25* ns HS oscillator
— — 50* ns LP oscillator
* These parameters are characterized but not tested.
Note 1: Data in the Typical (“Typ”) column is at 5.0V, 25°C unless otherwise stated. These parameters are for design guidance only
and are not tested.
2: All specified values are based on characterization data for that particular oscillator type under standard operating
conditions with the device executing code. Exceeding these specified limits may result in an unstable oscillator operation
and/or higher than expected current consumption.
When an external clock input is used, the “max” cycle time limit is “DC” (no clock) for all devices.
3: Instruction cycle period (TCY) equals four times the input oscillator time base period.
Q4 Q1 Q2 Q3
OSC1
10 11
CLKOUT
13 12
19 18
14 16
I/O Pin
(input)
17 15
20, 21
Note: All tests must be done with specified capacitive loads (see data sheet) 50 pF on I/O pins and CLKOUT.
Parameter
No. Sym Characteristic Min Typ(1) Max Units
FIGURE 17-4: RESET, WATCHDOG TIMER, AND DEVICE RESET TIMER TIMING - PIC16CR58A
VDD
MCLR
30
Internal
POR
32 32
32
DRT
Time-out
Internal
RESET
Watchdog
Timer
RESET
31
34 34
I/O pin
(Note 1)
Note 1: I/O pins must be taken out of hi-impedance mode by enabling the output drivers in software.
TABLE 17-4: RESET, WATCHDOG TIMER, AND DEVICE RESET TIMER - PIC16CR58A
Parameter
No. Sym Characteristic Min Typ(1) Max Units Conditions
T0CKI
40 41
42
NOTES:
1.10
Rext ≥ 10 kΩ
1.08
Cext = 100 pF
1.06
1.04
1.02
1.00
0.98
VDD = 5.5 V
0.96
0.94
VDD = 3.5 V
0.92
0.90
0.88
0 10 20 25 30 40 50 60 70
T(°C)
5.00
R=5.0K
4.00
Fosc(MHz)
3.00
R=10K
2.00
Cext=20pF, T=25C
1.00
R=100K
0.00
2.5 3 3.5 4 4.5 5 5.5 6
VDD(Volts)
R=3.3K
1.60
1.40
R=5.0K
1.20
Fosc(MHz)
1.00
0.80
R=10K
0.60
Cext=100pF, T=25C
0.40
0.20
R=100K
0.00
2.5 3 3.5 4 4.5 5 5.5 6
VDD(Volts)
R=3.3K
600.00
500.00
R=5.0K
400.00
Fosc(KHz)
300.00
R=10K
200.00
Cext=300pF, T=25C
100.00
R=100K
0.00
2.5 3 3.5 4 4.5 5 5.5 6
VDD(Volts)
1.5
Ipd(nA)
Ipd(µA)
0.5
0
2.5 3 3.5 4 4.5 5 5.5 6
VDD(Volts)
20.00
15.00
Ipd(uA)
10.00
5.00
0.00
2.5 3 3.5 4 4.5 5 5.5 6
VDD(Volts)
FIGURE 18-7: VTH (INPUT THRESHOLD VOLTAGE) OF I/O PINS vs. VDD
2.00
1.80 °C)
to +85
–40°C
1.60 Max (
VTH (Volts)
1.40 2 5°C)
Typ (+
1.20
+85°C
)
1.00 to
40°C
Min (–
0.80
0.60
2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0
VDD (Volts)
C)
+85°
4.0
to
3.5 (– 40°C
max
VIH °C
+25
3.0 typ 5°C)
VIH to +8
VIH, VIL (Volts)
40 ° C
2.5 m in (–
VIH
2.0
1.5 °C to +85°C)
VIL max (–40
1.0 VIH typ +25°C
0.5 5°C)
VIL min (–40°C to +8
0.0
2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0
VDD (Volts)
Note: These input pins have Schmitt Trigger input buffers.
2.2 Typ
C)
2.0 o+ 85°
°C t
(–40
1.8 Min
1.6
1.4
1.2
1.0
2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0
VDD (Volts)
10000
1000
Idd(uA)
6.0V
5.5V
5.0V
100 4.5V
4.0V
3.5V
3.0V
2.5V
10
100000 1000000 10000000
Freq(Hz)
FIGURE 18-11: MAXIMUM IDD vs. FREQUENCY (WDT( DIS, RC@ MODE
p ) @ 20 PF, –40°C TO +85°C)
10000
1000
Idd(uA)
6.0V
5.5V
5.0V
4.5V
100 4.0V
`3.5V
3.0V
2.5V
10
100000 1000000 10000000
Freq(Hz)
10000
1000
Idd(uA)
6.0V
100 5.5V
5.0V
4.5V
4.0V
3.5V
3.0V
2.5V
10
10000 100000 1000000 10000000
Freq(Hz)
FIGURE 18-13: MAXIMUM IDD vs. FREQUENCY (WDT DIS, RC MODE @ 100 PF, –40°C TO +85°C)
10000
1000
Idd(uA)
6.0V
5.5V
5.0V
100 4.5V
4.0V
3.5V
3.0V
2.5V
10
10000 100000 1000000 10000000
Freq(Hz)
10000
1000
Idd(uA)
6.0V
100 5.5V
5.0V
4.5V
4.0V
3.5V
3.0V
2.5V
10
10000 100000 1000000
Freq(Hz)
FIGURE 18-15: MAXIMUM IDD vs. FREQUENCY (WDT DIS, RC MODE @ 300 PF, –40°C TO +85°C)
10000
1000
Idd(uA)
6.0V
5.5V
5.0V
100 4.5V
4.0V
3.5V
3.0V
2.5V
10
10000 100000 1000000
Freq(Hz)
15
MIn 0°C
10
MIn –40°C
5
2 3 4 5 6 7
VDD (Volts)
8000 40
Max –40°C Max –40°C
7000 35
6000 30
5000 25
gm (µA/V)
gm (µA/V)
Typ +25°C
Typ +25°C
4000 20
3000 15
Min +85°C
2000 10
Min +85°C
100 5
0 0
2 3 4 5 6 7 2 3 4 5 6 7
VDD (Volts) VDD (Volts)
Max –40°C
2000
1500
gm (µA/V)
Typ +25°C
1000
Min +85°C
500
0
2 3 4 5 6 7
VDD (Volts)
40 Max –40°C
–5
Min +85°C
35
30
–10
IOH (mA)
25
IOL (mA)
Typ +25°C
Typ +25°C
–15 20
Max –40°C
15
5
–25
0 0.5 1.0 1.5 2.0 2.5 3.0
VOH (Volts) 0
0.0 0.5 1.0 1.5 2.0 2.5 3.0
VOL (Volts)
FIGURE 18-21: IOH vs. VOH, VDD = 5 V FIGURE 18-23: IOL vs. VOL, VDD = 5 V
0 90
80 Max –40°C
Min +85°C
–10 70
60
Typ +25°C
IOH (mA)
–20 50
IOL (mA)
Typ +25°C
40
Min +85°C
–30 30
Max –40°C
20
–40 10
1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
VOH (Volts) 0
0.0 0.5 1.0 1.5 2.0 2.5 3.0
VOL (Volts)
NOTES:
Q4 Q1 Q2 Q3 Q4 Q1
OSC1
1 3 3
4 4
2
CLKOUT
Parameter
No. Sym Characteristic Min Typ(1) Max Units Conditions
Parameter
No. Sym Characteristic Min Typ(1) Max Units Conditions
20* — — ns HS oscillator
2.0* — — µs LP oscillator
4 TosR, TosF Clock in (OSC1) Rise or Fall Time — — 25* ns XT oscillator
— — 25* ns HS oscillator
— — 50* ns LP oscillator
* These parameters are characterized but not tested.
Note 1: Data in the Typical (“Typ”) column is at 5V, 25°C unless otherwise stated. These parameters are for design guidance only
and are not tested.
2: All specified values are based on characterization data for that particular oscillator type under standard operating condi-
tions with the device executing code. Exceeding these specified limits may result in an unstable oscillator operation and/or
higher than expected current consumption.
When an external clock input is used, the “max” cycle time limit is “DC” (no clock) for all devices.
3: Instruction cycle period (TCY) equals four times the input oscillator time base period.
Q4 Q1 Q2 Q3
OSC1
10 11
CLKOUT
13 18 12
14 19 16
I/O Pin
(input)
17 15
20, 21
Note: All tests must be done with specified capacitive loads (see data sheet) 50 pF on I/O pins and CLKOUT.
Parameter
No. Sym Characteristic Min Typ(1) Max Units
VDD
MCLR
30
Internal
POR
32 32
32
DRT
Time-out
Internal
RESET
Watchdog
Timer
RESET
31
34 34
I/O pin
(Note 1)
Note 1: I/O pins must be taken out of hi-impedance mode by enabling the output drivers in software.
TABLE 19-4: RESET, WATCHDOG TIMER, AND DEVICE RESET TIMER - PIC16C5X, PIC16CR5X
Parameter
No. Sym Characteristic Min Typ(1) Max Units Conditions
T0CKI
40 41
42
1.10
Rext ≥ 10 kΩ
1.08
Cext = 100 pF
1.06
1.04
1.02
1.00
0.98
VDD = 5.5 V
0.96
0.94
VDD = 3.5 V
0.92
0.90
0.88
0 10 20 25 30 40 50 60 70
T(°C)
5.00
R=5.0K
4.00
Fosc(MHz)
3.00
R=10K
2.00
Cext=20pF, T=25C
1.00
R=100K
0.00
2.5 3 3.5 4 4.5 5 5.5 6
VDD(Volts)
R=3.3K
1.60
1.40
R=5.0K
1.20
Fosc(MHz)
1.00
0.80
R=10K
0.60
Cext=100pF, T=25C
0.40
0.20
R=100K
0.00
2.5 3 3.5 4 4.5 5 5.5 6
VDD(Volts)
R=3.3K
600.00
500.00
R=5.0K
400.00
Fosc(KHz)
300.00
R=10K
200.00
Cext=300pF, T=25C
100.00
R=100K
0.00
2.5 3 3.5 4 4.5 5 5.5 6
VDD(Volts)
1.5
Ipd(µA)
Ipd(nA)
0.5
0
2.5 3 3.5 4 4.5 5 5.5 6
VDD(Volts)
20
15
IPD (uA)
10
0
2.5 3 3.5 4 4.5 5 5.5 6
VDD (Volts)
FIGURE 20-7: TYPICAL IPD vs. VDD, WATCHDOG ENABLED (–40°C, 85°C)
35
30
25
20
IPD (uA)
15
10
5 (-40°C)
0
(+85°C)
2.5 3 3.5 4 4.5 5 5.5 6
VDD (Volts)
1.80
1.60
VTH (Volts)
1.40 2 5°C)
Typ (+
1.20
1.00
0.80
0.60
2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0
VDD (Volts)
FIGURE 20-9: VIH, VIL OF MCLR, T0CKI AND OSC1 (IN RC MODE) vs. VDD
4.5
C)
+85°
4.0
C to
3.5 (–40°
max
VIH °C
+25
typ C)
+85°
3.0
VIH
VIH, VIL (Volts)
t o
40°C
2.5 m in (–
VIH
2.0
1.5 °C to +85°C)
VIL max (–40
1.0 VIL typ +25°C
0.5 5°C)
VIL min (–40°C to +8
0.0
2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0
VDD (Volts)
Note: These input pins have Schmitt Trigger input buffers.
FIGURE 20-10: VTH (INPUT THRESHOLD TRIP POINT VOLTAGE) OF OSC1 INPUT
(IN XT, HS, AND LP MODES) vs. VDD
3.4
3.2
3.0
2.8
2.6
2.4 °C)
(+25
VTH (Volts)
2.2 Typ
2.0
1.8
1.6
1.4
1.2
1.0
2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0
VDD (Volts)
FIGURE 20-11: TYPICAL IDD vs. FREQUENCY (WDT DIS, RC MODE @ 20 PF, 25°C)
10000
1000
Idd(uA)
5.5V
100 4.5V
3.5V
2.5V
10
100000 1000000 10000000
Freq(Hz)
1000
Idd(uA)
100 5.5V
4.5V
3.5V
2.5V
10
10000 100000 1000000 10000000
Freq(Hz)
FIGURE 20-13: TYPICAL IDD vs. FREQUENCY (WDT DIS, RC MODE @ 300 PF, 25°C)
10000
1000
Idd(uA)
100 5.5V
4.5V
3.5V
2.5V
10
10000 100000 1000000
Freq(Hz)
FIGURE 20-14: WDT TIMER TIME-OUT TABLE 20-2: INPUT CAPACITANCE FOR
PERIOD vs. VDD PIC16C54s/C58s
50 Typical Capacitance (pF)
Pin
18L PDIP 18L SOIC
45
RA port 5.0 4.3
RB port 5.0 4.3
40
MCLR 17.0 17.0
20
Typ +25°C
15
Typ –40°C
10
5
2 3 4 5 6 7
VDD (Volts)
40 Max –40°C
–5
Min +85°C
35
30
–10
IOH (mA)
25
IOL (mA)
Typ +25°C
Typ +25°C
–15 20
Max –40°C
15
5
–25
0 0.5 1.0 1.5 2.0 2.5 3.0
VOH (Volts) 0
0.0 0.5 1.0 1.5 2.0 2.5 3.0
VOL (Volts)
FIGURE 20-16: IOH vs. VOH, VDD = 5 V FIGURE 20-18: IOL vs. VOL, VDD = 5 V
0 90
80 Max –40°C
–10 70
60
Typ +125°C
Typ +25°C
IOH (mA)
–20 50
IOL (mA)
Typ +85°C
Typ +25°C
40
Min +85°C
Typ –40°C
–30 30
20
–40 10
1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
VOH (Volts) 0
0.0 0.5 1.0 1.5 2.0 2.5 3.0
VOL (Volts)
NOTES:
MMMMMMMMMMMMXXX PIC16C56-
MMMMMMMMXXXXXXX RCI/P456
AABB CDE 9523 CBA
MMMMMMMMMMMMMMMMM PIC16C55-
XXXXXXXXXXXXXXXXX RCI/P456
AABB CDE 9523 CBA
MMMMMMMMMMMMXXX PIC16C55-
MMMMMMMMXXXXXXX XTI/P126
XXXXXXXXXXXXXXX
AABB CDE 9542 CDA
MMMMMMMMM PIC16C54-
XXXXXXXXX XTI/S0218
AABB CDE 9518 CDK
MMMMMMMMMMMMMMMMMMXX PIC16C57-XT/SO
XXXXXXXXXXXXXXXXXXXX
AABB CDE 9515 CBK
MMMMMMMM PIC16C54
XXXXXXXX XTI/218
AABB CDE 9520 CBP
MMMMMMMM PIC16C54
MMMMMMMM /JW
AABB CDE 9501 CBA
MMMMMMMMMMMMMM PIC16C57
XXXXXXXXXXXXXX /JW
AABBCDE 9338 CCT
MMMMMMMMMM PIC16C57
MMMMMM /JW
N
α
C
E1 E
eA
Pin No. 1 eB
Indicator
Area
D
S S1
Base
Plane
Seating
Plane L
B1 e1 A1 A2 A
B
D1
E1 E α
C
Pin No. 1 eA
Indicator eB
Area
B2 B1
D
S
Base
Plane
Seating
Plane L
Detail A B3 B
e1 A1 A2 A
D1 Detail A
α
E1 E C
Pin No. 1 eA
Indicator eB
Area
D
S S1
Base
Plane
Seating
Plane L
B1 e1 A1 A2 A
B
D1
e
B
h x 45°
Index
Area
E H α C
Chamfer L
h x 45°
1 2 3
CP Base
Seating Plane
Plane
A1 A
e
B
h x 45°
Index
Area
E H α C
Chamfer L
h x 45°
1 2 3
CP Base
Seating Plane
Plane
A1 A
N
Index
area
E H
α
C
L
1 2 3
e B
A Base plane
CP
Seating plane
D A1
N
Index
area
E H
α
C
L
1 2 3
e B
A Base plane
CP
Seating plane
D A1
α C
E1 E
eA
Pin No. 1 eB
Indicator
Area
D
S S1
Base
Plane
Seating
Plane L
B1 e1 A1 A3 A A2
B
D1
E1 E
α C
Pin No. 1
Indicator eA
Area eB
D
S S1
Base
Plane
Seating
Plane L
B1 e1 A1 A3 A A2
B
D1
D O
DC and AC Characteristics - PIC16C54/55/56/57 ............. 81 One-Time-Programmable (OTP) Devices ............................7
DC and AC Characteristics - OPTION ..............................................................................36
PIC16C54A/CR57B/C58A/CR58A ................................... 159 OPTION Register ...............................................................21
DC and AC Characteristics - OSC selection .....................................................................31
PIC16C54B/CR54B/C56A/CR56A/C58B/CR58B ............ 183 Oscillator Configurations ....................................................33
DC Characteristics Oscillator Types
......... 60, 61, 69, 70, 71, 72, 73, 91, 105, 119, 133, 147, 173 HS ...............................................................................33
Development Support ........................................................ 55 LP ...............................................................................33
Development Tools ............................................................ 55 RC ..............................................................................33
Device Varieties ................................................................... 7 XT ...............................................................................33
Digit Carry bit ....................................................................... 9
P
E Package Marking Information .......................................... 193
Electrical Characteristics Packaging Information ..................................................... 193
PIC16C52 .................................................................. 59 PC .......................................................................................22
PIC16C54/55/56/57 ................................................... 67 PCL .....................................................................................36
PIC16C54A .............................................................. 103 PIC16C54/55/56/57 Product Identification System ......... 216
PIC16C54B/CR54B/C56A/CR56A/C58B/CR58B .... 171 PIC16C5X Product Identification System ........................ 215
PIC16C58A .............................................................. 131 PICDEM-1 Low-Cost PIC16/17 Demo Board .....................56
PIC16CR54A ............................................................. 89 PICDEM-2 Low-Cost PIC16CXX Demo Board ...................56
PIC16CR57B ........................................................... 117 PICDEM-3 Low-Cost PIC16CXXX Demo Board ................56
PIC16CR58A ........................................................... 145 PICMASTER In-Circuit Emulator ......................................55
External Power-On Reset Circuit ....................................... 37 PICSTART Plus Entry Level Development System .........55
Pin Configurations ................................................................2
F Pinout Description - PIC16C52s, PIC16C54s,
Family of Devices PIC16CR54s, PIC16C56s, PIC16CR56s,
PIC16C5X .................................................................... 6 PIC16C58s, PIC16CR58s ..................................................11
Features ............................................................................... 1 Pinout Description - PIC16C55s, PIC16C57s,
FSR .................................................................................... 36 PIC16CR57s .......................................................................12
FSR Register ..................................................................... 24 POR
Fuzzy Logic Dev. System (fuzzyTECH-MP) .................... 57 Device Reset Timer (DRT) .................................. 31, 39
PD ........................................................................ 35, 41
I Power-On Reset (POR) ................................. 31, 36, 37
I/O Interfacing .................................................................... 25 TO ........................................................................ 35, 41
I/O Ports ............................................................................. 25 PORTA ........................................................................ 25, 36
I/O Programming Considerations ....................................... 26 PORTB ........................................................................ 25, 36
Connecting to the Microchip BBS Trademarks: The Microchip name, logo, PIC, PICSTART,
PICMASTER and PRO MATE are registered trademarks
Connect worldwide to the Microchip BBS using either of Microchip Technology Incorporated in the U.S.A. and
the Internet or the CompuServe communications net- other countries. FlexROM, MPLAB and fuzzyLAB, are
work. trademarks and SQTP is a service mark of Microchip in
Internet: the U.S.A.
You can telnet or ftp to the Microchip BBS at the fuzzyTECH is a registered trademark of Inform Software
Corporation. IBM, IBM PC-AT are registered trademarks
address: mchipbbs.microchip.com of International Business Machines Corp. Pentium is a
trademark of Intel Corporation. Windows is a trademark
CompuServe Communications Network: and MS-DOS, Microsoft Windows are registered trade-
When using the BBS via the Compuserve Network, marks of Microsoft Corporation. CompuServe is a regis-
in most cases, a local call is your only expense. The tered trademark of CompuServe Incorporated.
Microchip BBS connection does not use CompuServe All other trademarks mentioned herein are the property of
membership services, therefore you do not need their respective companies.
CompuServe membership to join Microchip's BBS.
There is no charge for connecting to the Microchip BBS.
From: Name
Company
Address
City / State / ZIP / Country
Telephone: (_______) _________ - _________ FAX: (______) _________ - _________
Application (optional):
Would you like a reply? Y N
Questions:
2. How does this document meet your hardware and software development needs?
3. Do you find the organization of this data sheet easy to follow? If not, why?
4. What additions to the data sheet do you think would enhance the structure and subject?
5. What deletions from the data sheet could be made without affecting the overall usefulness?
8. How would you improve our software, systems, and silicon products?
Information contained in this publication regarding device applications and the like is intended through suggestion only and may be superseded by updates. No repre-
sentation 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 autho-
rized except with express written approval by Microchip. No licenses are conveyed, implicitly or otherwise, under any intellectual property rights. The Microchip logo and
name are registered trademarks of Microchip Technology Inc. All rights reserved. All other trademarks mentioned herein are the property of their respective companies.