Pic16F84A
PIC16F84A
18-pin Enhanced Flash/EEPROM 8-Bit Microcontroller
Devices Included in this Data Sheet:
Pin Diagrams
• PIC16F84A
• Extended voltage range device available
(PIC16LF84A)
PDIP, SOIC
RA1
17
RA0
3
16
OSC1/CLKIN
MCLR
4
15
OSC2/CLKOUT
VSS
5
14
VDD
RB0/INT
6
13
RB7
RB1
7
12
RB6
RB2
8
11
RB5RB3
• Only 35 single word instructions to learn
• All instructions single cycle except for program
branches which are two-cycle
• Operating speed: DC - 20 MHz clock input
DC - 200 ns instruction cycle
• 1024 words of program memory
• 68 bytes of data RAM
• 64 bytes of data EEPROM
• 14-bit wide instruction words
• 8-bit wide data bytes
• 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 interrupt on change
- Data EEPROM write complete
18
2
RA4/T0CKI
High Performance RISC CPU Features:
•1
RA3
9
10
RB4
SSOP
•1
20
RA1
RA3
2
19
RA0
RA4/T0CKI
3
18OSC1/CLKIN
MCLR
VSS
4
17
OSC2/CLKOUT
16
VSS
6
RB0/INT
7
14
VDD
VDD
RB7
RB1
8
13
RB6
RB2
9
10
12
11
RB5
RB3
• 13 I/O pins with individual direction control
• High current sink/source for direct LED drive
- 25 mA sink max. per pin
- 25 mA source max. per pin
• TMR0: 8-bit timer/counter with 8-bit
programmable prescaler
5PIC16F84A
RA2
Peripheral Features:
15
RB4
CMOS Enhanced Flash/EERPOM Technology:
Special Microcontroller Features:
• 1000 erase/write cycles Enhanced Flash program
memory
• 1,000,000 typical erase/write cycles EEPROM data
memory
• EEPROM Data Retention > 40 years
• In-Circuit Serial Programming (ICSP™) - via two
pins
• Power-on Reset (POR), Power-up Timer (PWRT),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
© 1998 Microchip Technology Inc.
PIC16F84A
RA2
• Low-power, high-speed technology
• Fully static design
• Wide operating voltage range:
- Commercial: 2.0V to 5.5V
- Industrial:
2.0V to5.5V
• Low power consumption:
- < 2 mA typical @ 5V, 4 MHz
- 15 µA typical @ 2V, 32 kHz
- < 0.5 µA typical standby current @ 2V
Preliminary
DS35007A-page 1
PIC16F84A
Table of Contents
1.0 Device Overview ............................................................................................................................................................................ 32.0 Memory Organization..................................................................................................................................................................... 5
3.0 I/O Ports....................................................................................................................................................................................... 134.0 Timer0 Module ............................................................................................................................................................................. 17
5.0 Data EEPROM Memory............................................................................................................................................................... 19
6.0 SpecialFeatures of the CPU ....................................................................................................................................................... 21
7.0 Instruction Set Summary.............................................................................................................................................................. 33
8.0 Development Support...
Regístrate para leer el documento completo.