
PIC16C5X
DS30453A-page 208
Preliminary
1997 Microchip Technology Inc.
PORTC .........................................................................25, 36
Power-Down Mode (SLEEP) ..............................................42
Prescaler ............................................................................30
PRO MATE
II Universal Programmer ..............................55
Program Counter ................................................................22
Q
Q cycles .............................................................................13
Quick-Turnaround-Production (QTP) Devices .....................7
R
RC Oscillator ......................................................................34
Read Only Memory (ROM) Devices .....................................7
Read-Modify-Write .............................................................26
Register File Map
PIC16C52, PIC16C54s, PIC16CR54s,
PIC16C55s, PIC16C56s, PIC16CR56s .....................17
PIC16C57s/CR57s .....................................................18
PIC16C58s/CR58s .....................................................18
Registers
Special Function ........................................................19
Reset ............................................................................31, 35
Reset on Brown-Out ...........................................................41
S
SEEVAL
Evaluation and Programming System ..............57
Serialized Quick-Turnaround-Production (SQTP)
Devices ................................................................................7
SLEEP ..........................................................................31, 42
Software Simulator (MPLAB
SIM) ...................................57
Special Features of the CPU ..............................................31
Special Function Registers ................................................19
Stack ..................................................................................23
STATUS .............................................................................36
STATUS Register ...........................................................9, 20
T
Timer0
Switching Prescaler Assignment ................................30
Timer0 (TMR0) Module ..............................................27
TMR0 with External Clock ..........................................29
Timing Diagrams and
Specifications .................63, 75, 97, 111, 125, 139, 153, 178
Timing Parameter Symbology and
Load Conditions .............62, 74, 96, 110, 124, 138, 152, 177
TMR0 .................................................................................36
TRIS ...................................................................................36
TRIS Registers ...................................................................25
U
UV Erasable Devices ...........................................................7
W
W ........................................................................................36
Wake-up from SLEEP ........................................................42
Watchdog Timer (WDT) ...............................................31, 39
Period .........................................................................39
Programming Considerations ....................................39
Z
Zero bit .................................................................................9
LIST OF EXAMPLES
Example 3-1: Instruction Pipeline Flow ............................ 13
Example 4-1: Indirect Addressing..................................... 24
Example 4-2: How To Clear RAM Using Indirect
Addressing ................................................. 24
Example 5-1: Read-Modify-Write Instructions on an
I/O Port....................................................... 26
Example 6-1: Changing Prescaler (Timer0
→
WDT).......... 30
Example 6-2: Changing Prescaler (WDT
→
Timer0).......... 30
LIST OF FIGURES
Figure 3-1:
Figure 3-2:
Figure 4-1:
PIC16C5X Series Block Diagram............... 10
Clock/Instruction Cycle............................... 13
PIC16C52 Program Memory Map
and Stack ................................................... 15
PIC16C54s/CR54s/C55s
Program Memory Map and Stack............... 15
PIC16C56s/CR56s Program Memory
Map and Stack ........................................... 15
PIC16C57s/CR57s/C58s/CR58s
Program Memory Map and Stack............... 16
PIC16C52, PIC16C54s, PIC16CR54s,
PIC16C55s, PIC16C56s, PIC16CR56s
Register File Map ....................................... 17
PIC16C57s/CR57s Register File Map........ 18
PIC16C58s/CR58s Register File Map........ 18
STATUS Register (Address:03h) ............... 20
OPTION Register ....................................... 21
Loading of PC Branch Instructions -
PIC16C52, PIC16C54s, PIC16CR54s,
PIC16C55s................................................. 22
Loading of PC Branch Instructions -
PIC16C56s/PIC16CR56s........................... 22
Loading of PC Branch Instructions -
PIC16C57s/PIC16CR57s, and
PIC16C58s/PIC16CR58s........................... 23
Direct/Indirect Addressing .......................... 24
Equivalent Circuit
for a Single I/O Pin ..................................... 25
Successive I/O Operation........................... 26
Timer0 Block Diagram................................ 27
Electrical Structure of T0CKI Pin................ 27
Timer0 Timing: Internal Clock/
No Prescale................................................ 28
Timer0 Timing: Internal Clock/
Prescale 1:2 ............................................... 28
Timer0 Timing With External Clock............ 29
Block Diagram of the Timer0/WDT
Prescaler .................................................... 30
Configuration Word for
PIC16CR54A/C54B/CR54B/C56A/
CR56A/CR57B/C58B/CR58A/CR58B........ 31
Configuration Word for
PIC16C52/C54/C54A/C55/C56/
C57/C58A................................................... 32
Crystal Operation (or Ceramic Resonator)
(HS, XT or LP OSC Configuration)............. 33
External Clock Input Operation
(HS, XT or LP OSC Configuration)............. 33
External Parallel Resonant Crystal
Oscillator Circuit (using XT, HS or
LP oscillator mode)..................................... 34
External Series Resonant Crystal
Oscillator Circuit (using XT, HS or
LP oscillator mode)..................................... 34
RC Oscillator Mode .................................... 35
Figure 4-2:
Figure 4-3:
Figure 4-4:
Figure 4-5:
Figure 4-6:
Figure 4-7:
Figure 4-8:
Figure 4-9:
Figure 4-10:
Figure 4-11:
Figure 4-12:
Figure 4-13:
Figure 5-1:
Figure 5-2:
Figure 6-1:
Figure 6-2:
Figure 6-3:
Figure 6-4:
Figure 6-5:
Figure 6-6:
Figure 7-1:
Figure 7-2:
Figure 7-3:
Figure 7-4:
Figure 7-5:
Figure 7-6:
Figure 7-7: