Datasheet
PIC16C9XX
DS30444E - page 182 1997 Microchip Technology Inc.
Figure 14-4: External Parallel Resonant Crystal
Oscillator Circuit........................................ 105
Figure 14-5: External Series Resonant Crystal
Oscillator Circuit........................................ 105
Figure 14-6: RC Oscillator Mode................................... 105
Figure 14-7: Simplified Block Diagram of On-chip
Reset Circuit ............................................. 106
Figure 14-8: Time-out Sequence on Power-up
(MCLR not Tied to VDD): Case 1 .............. 111
Figure 14-9: Time-out Sequence on Power-up
(MCLR Not Tied To VDD): Case 2.............111
Figure 14-10: Time-out Sequence on Power-up
(MCLR Tied to VDD).................................. 111
Figure 14-11: External Power-on Reset Circuit
(for Slow VDD Power-up)...........................112
Figure 14-12: External Brown-out Protection Circuit 1.... 112
Figure 14-13: External Brown-out Protection Circuit 2.... 112
Figure 14-14: Interrupt Logic........................................... 114
Figure 14-15: INT Pin Interrupt Timing............................114
Figure 14-16: Watchdog Timer Block Diagram ...............116
Figure 14-17: Summary of Watchdog Timer Registers... 116
Figure 14-18: Wake-up from Sleep Through Interrupt ....118
Figure 14-19: Typical In-Circuit Serial Programming
Connection................................................118
Figure 15-1: General Format for Instructions ................119
Figure 17-1: LCD Voltage Waveform ............................145
Figure 17-2: Load Conditions........................................ 147
Figure 17-3: External Clock Timing...............................148
Figure 17-4: CLKOUT and I/O Timing........................... 149
Figure 17-5: Reset, Watchdog Timer, Oscillator Start-up
Timer and Power-up Timer Timing ........... 150
Figure 17-6: Timer0 and Timer1 External Clock
Timings ..................................................... 151
Figure 17-7: Capture/Compare/PWM Timings..............152
Figure 17-8: SPI Master Mode Timing (CKE = 0) .........153
Figure 17-9: SPI Master Mode Timing (CKE = 1) .........153
Figure 17-10: SPI Slave Mode Timing (CKE = 0) ...........154
Figure 17-11: SPI Slave Mode Timing (CKE = 1) ...........154
Figure 17-12: I
2
C Bus Start/Stop Bits Timing.................. 156
Figure 17-13: I
2
C Bus Data Timing .................................157
Figure 17-14: A/D Conversion Timing............................. 159
Figure 18-1: Typical IPD vs. VDD (WDT Disabled,
RC Mode @ 25°C)....................................161
Figure 18-2: Maximum IPD vs. VDD (WDT Disabled,
RC Mode -40°C to +85°C) ........................161
Figure 18-3: Typical IPD vs. VDD (WDT Enabled,
RC Mode @ 25°C)....................................161
Figure 18-4: Maximum IPD vs. VDD (WDT Enabled,
RC Mode -40°C to +85°C) ........................161
Figure 18-5: Typical IPD vs. VDD (LCD on(1), Internal
RC(2), RC Mode @ 25°C) ........................ 162
Figure 18-6: Maximum IPD vs. VDD (LCD on (32 kHz(1)),
Internal RC (32 kHz(2)), RC Mode -40°C to
+85°C).......................................................162
Figure 18-7: Typical IPD vs. VDD (LCD On(1), Timer1
(32 kHz(2)), RC Mode @ 25°C)................162
Figure 18-8: Maximum IPD vs. VDD (LCD On(1), Timer1
(32 kHz(2)), RC Mode -40°C to +85°C) ....162
Figure 18-9: Typical RC Oscillator Frequency vs. VDD .163
Figure 18-10: Typical RC Oscillator Frequency vs. VDD .163
Figure 18-11: Typical RC Oscillator Frequency vs. V
DD . 163
Figure 18-12: Typical IPD vs. Timer1 Enabled (32 kHz,
RC0/RC1 = 33 pF/33 pF, RC Mode)......... 163
Figure 18-13: Maximum IPD vs. Timer1 Enabled
(32 kHz, RC0/RC1 = 33 pF/33 pF, 85°C to
-40°C, RC Mode) ......................................163
Figure 18-14: Typical I
DD vs. Frequency
(RC Mode @ 20 pF, 25°C)....................... 164
Figure 18-15: Maximum IDD vs. Frequency
(RC Mode @ 20 pF, -40°C to +85°C)....... 164
Figure 18-16: Typical IDD vs. Frequency
(RC Mode @ 100 pF, 25°C)..................... 165
Figure 18-17: Maximum IDD vs. Frequency
(RC Mode @ 100 pF, -40°C to +85°C)..... 165
Figure 18-18: Typical IDD vs. Frequency
(RC Mode @ 300 pF, 25°C)..................... 166
Figure 18-19: Maximum IDD vs. Frequency
(RC Mode @ 300 pF, -40°C to +85°C)..... 166
Figure 18-20: Transconductance(gm) of HS Oscillator
vs. VDD ..................................................... 167
Figure 18-21: Transconductance(gm) of LP Oscillator
vs. VDD ..................................................... 167
Figure 18-22: Transconductance(gm) of XT Oscillator
vs. VDD ..................................................... 167
Figure 18-23: Typical XTAL Startup Time vs. VDD
(LP Mode, 25°C)....................................... 168
Figure 18-24: Typical XTAL Startup Time vs. VDD
(HS Mode, 25°C)...................................... 168
Figure 18-25: Typical XTAL Startup Time vs. VDD
(XT Mode, 25°C) ..................................... 168
Figure 18-26: Typical IDD vs. VDD
(LP Mode @ 25°C)................................... 168
Figure 18-27: Maximum IDD vs. VDD
(LP Mode -40°C to +85°C) ....................... 168
Figure 18-28: Typical I
DD vs. VDD
(XT Mode @ 25°C)................................... 169
Figure 18-29: Maximum IDD vs. VDD
(XT Mode -40°C to +85°C) ....................... 169
Figure 18-30: Typical IDD vs. VDD
(HS Mode @ 25°C) .................................. 169
Figure 18-31: Maximum IDD vs. VDD
(HS Mode -40°C to +85°C)....................... 169
List of Tables
Table 1-1: PIC16C9XX Family of Devices..................... 6
Table 3-1: PIC16C9XX Pinout Description.................. 12
Table 4-1: Special Function Register Summary .......... 19
Table 5-1: PORTA Functions ...................................... 32
Table 5-2: Summary of Registers Associated with
PORTA ....................................................... 32
Table 5-3: PORTB Functions ...................................... 34
Table 5-4: Summary of Registers Associated with
PORTB ....................................................... 34
Table 5-5: PORTC Functions ...................................... 35
Table 5-6: Summary of Registers Associated with
PORTC....................................................... 35
Table 5-7: PORTD Functions ...................................... 37
Table 5-8: Summary of Registers Associated with
PORTD....................................................... 37
Table 5-9: PORTE Functions ...................................... 38
Table 5-10: Summary of Registers Associated with
PORTE ....................................................... 38
Table 5-11: PORTF Functions....................................... 39
Table 5-12: Summary of Registers Associated with
PORTF ....................................................... 39
Table 5-13: PORTG Functions ...................................... 40
Table 5-14: Summary of Registers Associated with
PORTG....................................................... 40
Table 7-1: Registers Associated with Timer0 .............. 49
Table 8-1: Capacitor Selection for the Timer1
Oscillator .................................................... 53