PIC16F84A-20I/P Microchip Technology Inc., PIC16F84A-20I/P Datasheet - Page 83
![no-image](/images/manufacturer_photos/0/4/440/microchip_technology_inc__sml.jpg)
PIC16F84A-20I/P
Manufacturer Part Number
PIC16F84A-20I/P
Description
18 PIN, 1.75 KB FLASH, 68 RAM, 13 I/O
Manufacturer
Microchip Technology Inc.
Datasheet
1.PIC16F84A-20IP.pdf
(88 pages)
Specifications of PIC16F84A-20I/P
Cpu Speed
5 MIPS
Eeprom Memory
64 Bytes
Input Output
13
Memory Type
Flash
Number Of Bits
8
Package Type
18-pin PDIP
Programmable Memory
1.75K Bytes
Ram Size
68 Bytes
Speed
20 MHz
Timers
1-8-bit
Voltage, Range
2-5.5 V
Lead Free Status / Rohs Status
RoHS Compliant part
Electrostatic Device
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC16F84A-20I/P
Manufacturer:
MICROCHIP
Quantity:
2 300
Part Number:
PIC16F84A-20I/P
Manufacturer:
MIC
Quantity:
20 000
Power-on Reset (POR) ..........................................21
Prescaler ............................................................................. 19
Prescaler, Timer0
PRO MATE II Universal Device Programmer ..................... 45
Program Counter ................................................................ 11
Program Memory .................................................................. 5
Programming, Device Instructions ...................................... 35
R
RAM. See Data Memory
Register File .......................................................................... 6
Register File Map .................................................................. 6
Registers
Reset............................................................................ 21
Revision History .................................................................. 75
RP1:RP0 (Bank Select) bits .................................................. 8
S
Saving W Register and STATUS in RAM ........................... 30
SLEEP ............................................................ 21
Software Simulator (MPLAB SIM)....................................... 44
Special Features of the CPU .............................................. 21
Special Function Registers .............................................. 6
Speed, Operating .............................................. 1
Stack ................................................................................... 11
STATUS Register ............................................... 7
2001 Microchip Technology Inc.
Oscillator Start-up Timer (OST) ........................... 21
PD Bit................................................. 8
Power-up Timer (PWRT) ..................................... 21
Time-out Sequence..................................................... 28
Time-out Sequence on Power-up ........................ 27
TO Bit...........................................8
Assignment (PSA Bit) ................................................. 19
Block Diagram............................................................. 20
Rate Select (PS2:PS0 Bits) ........................................ 19
Switching Prescaler Assignment................................. 20
Assignment (PSA Bit) ................................................... 9
Rate Select (PS2:PS0 Bits) .......................................... 9
PCL Register....................................................7
PCLATH Register ............................................7
Reset Conditions......................................................... 24
General Purpose Registers........................................... 6
Interrupt Vector ...................................................... 5
RESET Vector............................................................... 5
Special Function Registers ...................................... 6
Configuration Word ..................................................... 21
EECON1 (EEPROM Control)...................................... 13
INTCON ...................................................................... 10
OPTION ........................................................................ 9
STATUS........................................................................ 8
Block Diagram...................................................... 24
MCLR Reset. See MCLR
Power-on Reset (POR). See Power-on Reset (POR)
Reset Conditions for All Registers .............................. 25
Reset Conditions for Program Counter....................... 24
Reset Conditions for STATUS Register...................... 24
WDT Reset. See Watchdog Timer (WDT)
C Bit .............................................................................. 8
DC Bit............................................................................ 8
PD Bit................................................. 8
RESET Conditions ...................................................... 24
RP0 Bit.......................................................................... 6
TO Bit...........................................8
Z Bit............................................................................... 8
,
,
24
24
,
,
,
,
24
28
24
28
,
,
,
,
,
,
,
28
30
24
22
28
30
8
,
,
,
,
,
,
,
,
,
,
24
32
32
11
11
29
23
25
32
32
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
26
26
33
26
28
33
25
25
29
24
26
32
57
30
33
33
7
7
T
Time-out (TO) Bit. See Power-on Reset (POR)
Timer0 ................................................................................ 19
Timing Conditions ............................................................... 56
Timing Diagrams
Timing Parameter Symbology ............................................ 55
TO bit .................................................................................... 8
W
W Register ....................................................................25
Wake-up from SLEEP...............................21
Watchdog Timer (WDT)................................................21
WWW, On-Line Support ....................................................... 2
Z
Z (Zero) bit ............................................................................ 8
Associated Registers.................................................. 20
Block Diagram ............................................................ 19
Clock Source Edge Select (T0SE Bit) .......................... 9
Clock Source Select (T0CS Bit) ................................... 9
Overflow Enable (T0IE Bit) ...................................10
Overflow Flag (T0IF Bit) ................................ 10
Overflow Interrupt .................................................20
Prescaler. See Prescaler
RA4/T0CKI Pin, External Clock .................................. 19
TMR0 Register ................................................ 7
CLKOUT and I/O ........................................................ 58
Diagrams and Specifications ...................................... 57
External Clock ............................................................ 57
RESET, Watchdog Timer, Oscillator Start-up
Time-out Sequence on Power-up.........................27
Timer0 Clock .............................................................. 60
Wake-up From SLEEP Through Interrupt .................. 32
Interrupts ..............................................................32
MCLR Reset ............................................................... 32
WDT Reset ................................................................. 32
Block Diagram ............................................................ 31
Postscaler. See Prescaler
Programming Considerations ..................................... 31
RC Oscillator .............................................................. 30
Time-out Period .......................................................... 30
WDT Reset, Normal Operation................................... 24
WDT Reset, SLEEP .............................................24
CLKOUT and I/O Requirements......................... 58
External Clock Requirements ............................. 57
RESET, Watchdog Timer, Oscillator Start-up
Timer0 Clock Requirements ............................... 60
Timer and Power-up Timer................................. 59
Timer and Power-up
Timer Requirements................................... 59
PIC16F84A
DS35007B-page 81
,
26
,
28
,
,
,
20
20
29
,
,
,
,
,
,
,
,
,
,
29
29
29
25
28
30
32
33
30
32