PIC16F84

Manufacturer Part NumberPIC16F84
ManufacturerMicrochip Technology Inc.
PIC16F84 datasheet
 


1
Page 1
2
Page 2
3
Page 3
4
Page 4
5
Page 5
6
Page 6
7
Page 7
8
Page 8
9
Page 9
10
Page 10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
Page 1/125

Download datasheet (3Mb)Embed
Next
18-pin Flash/EEPROM 8-Bit Microcontrollers
Devices Included in this Data Sheet:
• PIC16F83
• PIC16F84
• PIC16CR83
• PIC16CR84
• Extended voltage range devices available
(PIC16LF8X, PIC16LCR8X)
High Performance RISC CPU Features:
• Only 35 single word instructions to learn
• All instructions single cycle except for program
branches which are two-cycle
• Operating speed: DC - 10 MHz clock input
DC - 400 ns instruction cycle
Program
Data
Data
Device
Memory
RAM
EEPROM
(words)
(bytes)
(bytes)
PIC16F83
512 Flash
36
PIC16F84
1 K Flash
68
PIC16CR83 512 ROM
36
PIC16CR84 1 K ROM
68
• 14-bit wide instructions
• 8-bit wide data path
• 15 special function hardware registers
• Eight-level deep hardware stack
• Direct, indirect and relative addressing modes
• Four interrupt sources:
- External RB0/INT pin
- TMR0 timer overflow
- PORTB<7:4> interrupt on change
- Data EEPROM write complete
• 1000 erase/write cycles Flash program memory
• 10,000,000 erase/write cycles EEPROM data mem-
ory
• EEPROM Data Retention > 40 years
Peripheral Features:
• 13 I/O pins with individual direction control
• High current sink/source for direct LED drive
- 25 mA sink max. per pin
- 20 mA source max. per pin
• TMR0: 8-bit timer/counter with 8-bit
programmable prescaler
1998 Microchip Technology Inc.
PIC16F8X
Pin Diagrams
RA2
RA3
RA4/T0CKI
MCLR
V
SS
RB0/INT
RB1
RB2
RB3
Special Microcontroller Features:
Max.
Freq
• In-Circuit Serial Programming (ICSP™) - via two
(MHz)
pins (ROM devices support only Data EEPROM
programming)
64
10
• Power-on Reset (POR)
64
10
64
10
• Power-up Timer (PWRT)
64
10
• Oscillator Start-up Timer (OST)
• Watchdog Timer (WDT) with its own on-chip RC
oscillator for reliable operation
• Code-protection
• Power saving SLEEP mode
• Selectable oscillator options
CMOS Flash/EEPROM Technology:
• Low-power, high-speed technology
• Fully static design
• Wide operating voltage range:
- Commercial: 2.0V to 6.0V
- Industrial:
• Low power consumption:
- < 2 mA typical @ 5V, 4 MHz
- 15 A typical @ 2V, 32 kHz
- < 1 A typical standby current @ 2V
PDIP, SOIC
1
18
RA1
2
17
RA0
3
16
OSC1/CLKIN
4
15
OSC2/CLKOUT
5
14
V
DD
6
13
RB7
7
12
RB6
8
11
RB5
9
10
RB4
2.0V to 6.0V
DS30430C-page 1

PIC16F84 Summary of contents