PIC16F5X
A
G
Absolute Maximum Ratings
GOTO ........................................................................... 19, 47
PIC1654/57................................................................. 57
PIC1659...................................................................... 58
ADDWF............................................................................... 43
ALU ....................................................................................... 7
ANDLW ............................................................................... 43
ANDWF............................................................................... 43
Applications........................................................................... 5
Architectural Overview .......................................................... 7
Assembler
H
High-Performance RISC CPU .............................................. 1
I
I/O Interfacing ..................................................................... 29
I/O Ports ............................................................................. 29
I/O Programming Considerations ....................................... 31
ID Locations.................................................................. 37, 39
INCF ................................................................................... 47
INCFSZ............................................................................... 47
INDF Register..................................................................... 20
Value on Reset........................................................... 24
Indirect Data Addressing .................................................... 20
Instruction Cycle ................................................................. 12
Instruction Flow/Pipelining.................................................. 12
Instruction Set Summary .................................................... 41
Internet Address ................................................................. 83
IORLW................................................................................ 48
IORWF................................................................................ 48
MPASM Assembler..................................................... 54
B
Block Diagram
On-Chip Reset Circuit................................................. 24
PIC16F5X Series .......................................................... 8
Timer0......................................................................... 33
TMR0/WDT Prescaler................................................. 36
Watchdog Timer.......................................................... 38
Brown-Out Protection Circuit .............................................. 27
BSF..................................................................................... 44
BTFSC ................................................................................ 44
BTFSS ................................................................................ 44
L
Loading of PC..................................................................... 19
C
M
C Compilers
MCLR Reset
MPLAB C18 ................................................................ 54
MPLAB C30 ................................................................ 54
CALL ............................................................................. 19, 45
Carry (C) bit .................................................................... 7, 17
Clocking Scheme ................................................................ 12
CLRF................................................................................... 45
CLRW ................................................................................. 45
CLRWDT............................................................................. 45
Code Protection ............................................................ 37, 39
COMF ................................................................................. 46
Configuration Bits................................................................ 37
Customer Change Notification Service ............................... 83
Customer Notification Service............................................. 83
Customer Support............................................................... 83
Register values on...................................................... 24
Memory Map
PIC16F54 ................................................................... 13
PIC16F57/59 .............................................................. 13
Memory Organization ......................................................... 13
Microchip Internet Web Site................................................ 83
MOVF ................................................................................. 48
MOVLW .............................................................................. 48
MOVWF.............................................................................. 49
MPLAB ASM30 Assembler, Linker, Librarian..................... 54
MPLAB ICD 2 In-Circuit Debugger ..................................... 55
MPLAB ICE 2000 High-Performance Universal
In-Circuit Emulator...................................................... 55
MPLAB Integrated Development Environment Software.... 53
MPLAB PM3 Device Programmer ...................................... 55
MPLAB REAL ICE In-Circuit Emulator System .................. 55
MPLINK Object Linker/MPLIB Object Librarian.................. 54
D
DC Characteristics
Commercial................................................................. 62
Extended..................................................................... 61
Industrial ............................................................... 60, 62
DECF .................................................................................. 46
DECFSZ.............................................................................. 46
Development Support ......................................................... 53
Device Reset Timer (DRT).................................................. 27
Digit Carry (DC) bit.......................................................... 7, 17
DRT..................................................................................... 27
N
NOP.................................................................................... 49
O
Option ................................................................................. 49
Option Register................................................................... 18
Value on Reset........................................................... 24
Oscillator Configurations..................................................... 21
Oscillator Types
E
HS............................................................................... 21
LP ............................................................................... 21
RC .............................................................................. 21
XT............................................................................... 21
Electrical Specifications
PIC16F54/57............................................................... 57
PIC16F59.................................................................... 58
Errata .................................................................................... 3
External Power-On Reset Circuit ........................................ 25
P
F
PA0 bit ................................................................................ 17
PA1 bit ................................................................................ 17
Paging ................................................................................ 19
PC....................................................................................... 19
Value on Reset........................................................... 24
FSR Register ...................................................................... 20
Value on Reset (PIC16F54)........................................ 24
Value on Reset (PIC16F57)........................................ 24
Value on Reset (PIC16F59)........................................ 24
© 2007 Microchip Technology Inc.
DS41213D-page 81