Digchip : Database on electronics components
 
Member, Distributor  
Log In
Email:
Password:


Part: PIC16F84A-04/SO

Category:

Description: Ic-sm-8-bit MCU

Company:

Datasheet: Download PIC16F84A-04/SO datasheet     File size : 5289 kB

Request For quote: Find where to buy PIC16F84A-04/SO



Datasheet text preview:
M
PIC16F84A
Pin Diagrams
PDIP, SOIC
RA2 RA3 RA4/T0CKI MCLR VSS RB0/INT RB1 RB2 RB3
·1
18-pin Enhanced Flash/EEPROM 8-Bit Microcontroller
Devices Included in this Data Sheet:
· PIC16F84A · Extended voltage range device available (PIC16LF84A)
18 17 16 15 14 13 12 11 10
RA1 RA0 OSC1/CLKIN OSC2/CLKOUT VDD RB7 RB6 RB5 RB4
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 - 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
2 3 4 5 6 7 8 9
SSOP
RA2 RA3 RA4/T0CKI MCLR VSS VSS RB0/INT RB1 RB2 RB3
·1
PIC16F84A PIC16F84A
20 19 18 17 16 15 14 13 12 11
RA1 RA0 OSC1/CLKIN OSC2/CLKOUT VDD VDD RB7 RB6 RB5 RB4
2 3 4 5 6 7 8 9 10
Peripheral Features:
· 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
CMOS Enhanced Flash/EERPOM Technology:
· Low-power, high-speed technology · Fully static design · Wide operating voltage range: - Commercial: 2.0V to 5.5V - Industrial: 2.0V to 5.5V · Low power consumption: - < 2 mA typical @ 5V, 4 MHz - 15 µA typical @ 2V, 32 kHz - < 0.5 µA typical standby current @ 2V
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 (ICSPTM) - 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.
Preliminary
DS35007A-page 1
PIC16F84A
Table of Contents
1.0 Device Overview .......... 3 2.0 Memory Organization............ 5 3.0 I/O Ports...... 13 4.0 Timer0 Module ........... 17 5.0 Data EEPROM Memory...... 19 6.0 Special Features of the CPU ............. 21 7.0 Instruction Set Summary..... 33 8.0 Development Support ......... 35 9.0 Electrical Characteristics for PIC16F84A.... 41 10.0 DC & AC Characteristics Graphs/Tables .... 53 11.0 Packaging Information ........ 55 Appendix A: Revision History ........ 59 Appendix B: Conversion Considerations......... 59 Appendix C: Migration from Baseline to Midrange Devices .... 62 Index ......... 63 On-Line Support........ 65 Reader Response .............. 66 PIC16F84A Product Identification System .......... 67
To Our Valued Customers
Most Current Data Sheet
To obtain the most up-to-date version of this data sheet, please check our Worldwide Web site at: http://www.microchip.com You can determine the version of a data sheet by examining its literature number found on the bottom outside corner of any page. The last character of the literature number is the version number. e.g., DS30000A is version A of document DS30000.
Errata
An errata sheet may exist for current devices, describing minor operational differences (from the data sheet) and recommended workarounds. As device/documentation issues become known to us, we will publish an errata sheet. The errata will specify the revision of silicon and revision of document to which it applies. To determine if an errata sheet exists for a particular device, please check with one of the following: · Microchip's Worldwide Web site; http://www.microchip.com · Your local Microchip sales office (see last page) · The Microchip Corporate Literature Center; U.S. FAX: (602) 786-7277 When contacting a sales office or the literature center, please specify which device, revision of silicon and data sheet (include literature number) you are using.
Corrections to this Data Sheet
We constantly strive to improve the quality of all our products and documentation. We have spent a great deal of time to ensure that this document is correct. However, we realize that we may have missed a few things. If you find any information that is missing or appears in error, please: · Fill out and mail in the reader response form in the back of this data sheet. · E-mail us at webmaster@microchip.com. We appreciate your assistance in making this a better document.
DS35007A-page 2
Preliminary
© 1998 Microchip Technology Inc.
PIC16F84A
1.0 DEVICE OVERVIEW
This document contains device-specific information for the operation of the PIC16F84A device. Additional information may be found in the PICmicroTM Mid-Range Reference Manual, (DS33023), which may be downloaded from the Microchip website. The Reference Manual should be considered a complementary document to this data sheet, and is highly recommended reading for a better understanding of the device architecture and operation of the peripheral modules. The PIC16F84A belongs to the mid-range family of the PICmicroTM microcontroller devices. A block diagram of the device is shown in Figure 1-1. The program memory contains 1K words, which translates to 1024 instructions, since each 14-bit program memory word is the same width as each device instruction. The data memory (RAM) contains 68 bytes. Data EEPROM is 64 bytes. There are also 13 I/O pins that are user-configured on a pin-to-pin basis. Some pins are multiplexed with other device functions. These functions include: · External interrupt · Change on PORTB interrupt · Timer0 clock input Table 1-1 details the pinout of the device with descriptions and details for each pin.
FIGURE 1-1:
PIC16F84A BLOCK DIAGRAM
13 Data Bus Program Counter 8 EEPROM Data Memory
Flash Program Memor y PIC16F84A 1K x 14 Program Bus 8 Level Stack (13-bit) RAM File Registers PIC16F84A 68 x 8 7 RAM Addr
EEDATA
EEPROM Data Memory 64 x 8
14
EEADR
Instruction reg 5 Direct Addr
Addr Mux 7 Indirect Addr TMR0
FSR reg RA4/T0CKI STATUS reg 8
Power-up Timer Instruction Decode & Control Oscillator Star t-up Timer Power-on Reset Watchdog Timer W reg ALU
MUX 8 I/O Ports
RA3:RA0 RB7:RB1
Timing Generation
RB0/INT
OSC2/CLKOUT OSC1/CLKIN
MCLR
VDD, VSS
© 1998 Microchip Technology Inc.
Preliminary
DS35007A-page 3


Others parts begin by pi
PI-1   PI-2   PI-3   PI-4   PI-5   PI-6   PI-7   PI-8   PI-9   PI-10   PI-11   PI-12   PI-13   PI-14   PI-15   PI-16   PI-17   PI-18   PI-19   PI-20   PI-21   PI-22   PI-23   PI-24   PI-25   PI-26   PI-27   PI-28   PI-29   PI-30   PI-31   PI-32   PI-33   PI-34   PI-35   PI-36   PI-37   PI-38   PI-39   PI-40   PI-41   PI-42   PI-43   PI-44   PI-45   PI-46   PI-47   PI-48   PI-49   PI-50   PI-51   PI-52   PI-53   PI-54   PI-55   PI-56   PI-57   PI-58   PI-59   PI-60   PI-61   PI-62   PI-63   PI-64   PI-65   PI-66