PIC16LF84A-04/P Microchip Technology, PIC16LF84A-04/P Datasheet

IC MCU FLASH 1KX14 EE 18DIP

PIC16LF84A-04/P

Manufacturer Part Number
PIC16LF84A-04/P
Description
IC MCU FLASH 1KX14 EE 18DIP
Manufacturer
Microchip Technology
Series
PIC® 16Fr

Specifications of PIC16LF84A-04/P

Core Size
8-Bit
Program Memory Size
1.75KB (1K x 14)
Core Processor
PIC
Speed
4MHz
Peripherals
POR, WDT
Number Of I /o
13
Program Memory Type
FLASH
Eeprom Size
64 x 8
Ram Size
68 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Oscillator Type
External
Operating Temperature
0°C ~ 70°C
Package / Case
18-DIP (0.300", 7.62mm)
Controller Family/series
PIC16LF
No. Of I/o's
13
Eeprom Memory Size
64Byte
Ram Memory Size
68Byte
Cpu Speed
4MHz
No. Of Timers
1
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Data Converters
-
Connectivity
-
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant
M
PIC16F84A
Data Sheet
18-pin Enhanced FLASH/EEPROM
8-bit Microcontroller
2001 Microchip Technology Inc.
DS35007B

Related parts for PIC16LF84A-04/P

PIC16LF84A-04/P Summary of contents

Page 1

... Enhanced FLASH/EEPROM 2001 Microchip Technology Inc. M PIC16F84A Data Sheet 8-bit Microcontroller DS35007B ...

Page 2

... Serialized Quick Term Programming (SQTP service mark of Microchip Technology Incorporated in the U.S.A. All other trademarks mentioned herein are property of their respective companies. © 2001, Microchip Technology Incorporated, Printed in the U.S.A., All Rights Reserved. Printed on recycled paper. Microchip received QS-9000 quality system ...

Page 3

... 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 2001 Microchip Technology Inc. PIC16F84A Pin Diagrams PDIP, SOIC RA2 1 18 ...

Page 4

... When contacting a sales office or the literature center, please specify which device, revision of silicon and data sheet (include liter- ature number) you are using. Customer Notification System Register on our web site at www.microchip.com/cn to receive the most current information on all of our products. DS35007B-page 2 2001 Microchip Technology Inc. ...

Page 5

... Timer Generation MCLR OSC2/CLKOUT OSC1/CLKIN 2001 Microchip Technology Inc. The program memory contains 1K words, which trans- lates to 1024 instructions, since each 14-bit program memory word is the same width as each device instruc- tion. The data memory (RAM) contains 68 bytes. Data EEPROM is 64 bytes. ...

Page 6

... Interrupt-on-change pin. Serial programming clock. (2) I/O TTL/ST Interrupt-on-change pin. Serial programming data. P — Ground reference for logic and I/O pins. P — Positive supply for logic and I/O pins. I/O = Input/Output P = Power TTL = TTL input ST = Schmitt Trigger input Description 2001 Microchip Technology Inc. ...

Page 7

... For example, for locations 20h, 420h, 820h, C20h, 1020h, 1420h, 1820h, and 1C20h, the instruction will be the same. The RESET vector is at 0000h and the interrupt vector is at 0004h. 2001 Microchip Technology Inc. PIC16F84A FIGURE 2-1: PROGRAM MEMORY MAP AND STACK - PIC16F84A PC< ...

Page 8

... General Mapped Purpose (accesses) in Bank 0 Registers (SRAM) 4Fh 50h 7Fh Bank 0 Bank 1 Unimplemented data memory location, read as ’0’. Note 1: Not a physical register. 2001 Microchip Technology Inc. File Address (1) 80h 81h 82h 83h 84h 85h 86h 87h 88h (1) 89h 8Ah 8Bh ...

Page 9

... Other (non power-up) RESETS include: external RESET through MCLR and the Watchdog Timer Reset any device RESET, these pins are configured as inputs. 5: This is the value that will be in the port output latch. 2001 Microchip Technology Inc. The special function registers can be classified into two sets, core and peripheral. Those associated with the core functions are described in this section ...

Page 10

... The specified bit(s) will be updated according to device logic R/W-0 R-1 R-1 RP1 RP0 Writable bit U = Unimplemented bit, read as ‘0’ ’1’ = Bit is set ’0’ = Bit is cleared R/W-x R/W-x R/W bit Bit is unknown 2001 Microchip Technology Inc. ...

Page 11

... Legend Readable bit - n = Value at POR 2001 Microchip Technology Inc. Note: When the prescaler is assigned to the WDT (PSA = ’1’), TMR0 has a 1:1 prescaler assignment. R/W-1 R/W-1 R/W-1 R/W-1 T0CS T0SE PSA PS2 ...

Page 12

... GIE (INTCON<7>). R/W-0 R/W-0 R/W-0 T0IE INTE RBIE W = Writable bit U = Unimplemented bit, read as ‘0’ ’1’ = Bit is set ’0’ = Bit is cleared R/W-0 R/W-0 R/W-x T0IF INTF RBIF bit Bit is unknown 2001 Microchip Technology Inc. ...

Page 13

... After the stack has been PUSHed eight times, the ninth push overwrites the value that was stored from the first push. The tenth push overwrites the second push (and so on). 2001 Microchip Technology Inc. PIC16F84A 2.5 Indirect Addressing; INDF and FSR Registers The INDF register is not a physical register ...

Page 14

... Note 1: For memory map detail, see Figure 2-2. 2: Maintain as clear for upward compatibility with future products. 3: Not implemented. DS35007B-page 12 0 IRP (2) Bank Select 00 01 80h Addresses map back to Bank 0 (3) (3) FFh Bank 0 Bank 1 Indirect Addressing (FSR Location Select 2001 Microchip Technology Inc. ...

Page 15

... Does not initiate an EEPROM read Legend Readable bit - n = Value at POR 2001 Microchip Technology Inc. The EEPROM data memory allows byte read and write. A byte write automatically erases the location and writes the new data (erase before write). The EEPROM data memory is rated for high erase/write cycles. The write time is controlled by an on-chip timer ...

Page 16

... YES, Read the ; value written ; ; Is the value written ; (in W reg) and ; read (in EEDATA) ; the same difference 0? ; NO, Write error Value on Value on Bit 0 Power-on all other Reset RESETS xxxx xxxx uuuu uuuu xxxx xxxx uuuu uuuu RD ---0 x000 ---0 q000 ---- ---- ---- ---- 2001 Microchip Technology Inc. ...

Page 17

... BSF STATUS, RP0 ; Select Bank 1 MOVLW 0x0F ; Value used to ; initialize data ; direction MOVWF TRISA ; Set RA<3:0> as inputs ; RA4 as output ; TRISA<7:5> are always ; read as ’0’. 2001 Microchip Technology Inc. PIC16F84A FIGURE 4-1: BLOCK DIAGRAM OF PINS RA3:RA0 Data Bus Port Q CK Data Latch ...

Page 18

... Input/output or external clock input for TMR0. Output is open drain type. Bit 5 Bit 4 Bit 3 Bit 2 — RA4/T0CKI RA3 RA2 — TRISA4 TRISA3 TRISA2 TRISA1 TRISA0 ---1 1111 ---1 1111 Function Value on Value on all Bit 1 Bit 0 Power-on other Reset RESETS RA1 RA0 ---x xxxx ---u uuuu 2001 Microchip Technology Inc. ...

Page 19

... RBIF to be cleared. The interrupt-on-change feature is recommended for wake-up on key depression operation and operations where PORTB is only used for the interrupt-on-change feature. Polling of PORTB is not recommended while using the interrupt-on-change feature. 2001 Microchip Technology Inc. PIC16F84A FIGURE 4-3: BLOCK DIAGRAM OF PINS RB7:RB4 (1) ...

Page 20

... T0SE PSA PS2 PS1 T0IE INTE RBIE T0IF INTF Value on Value on Bit 0 Power-on all other Reset RESETS RB0/INT xxxx xxxx uuuu uuuu TRISB0 1111 1111 1111 1111 PS0 1111 1111 1111 1111 RBIF 0000 000x 0000 000u 2001 Microchip Technology Inc. ...

Page 21

... T0CS Note 1: T0CS, T0SE, PSA, PS2:PS0 (OPTION_REG<5:0>). 2: The prescaler is shared with Watchdog Timer (refer to Figure 5-2 for detailed block diagram). 2001 Microchip Technology Inc. When an external clock input is used for Timer0, it must meet certain requirements. The requirements ensure the external clock can be synchronized with the internal ...

Page 22

... PORTA Data Direction Register Data Bus 8 TMR0 reg Set Flag bit T0IF on Overflow Value on Value on all Bit 1 Bit 0 POR, other BOR RESETS xxxx xxxx uuuu uuuu INTF RBIF 0000 000x 0000 000u PS1 PS0 1111 1111 1111 1111 ---1 1111 ---1 1111 2001 Microchip Technology Inc. ...

Page 23

... FOSC1:FOSC0: Oscillator Selection bits oscillator oscillator oscillator oscillator 2001 Microchip Technology Inc. the chip in RESET until the crystal oscillator is stable. The other is the Power-up Timer (PWRT), which pro- vides a fixed delay (nominal) on power-up only. This design keeps the device in RESET while the power supply stabilizes ...

Page 24

... V controller is rated. EXTERNAL CLOCK INPUT OPERATION (HS OSC CONFIGURATION) OSC1 PIC16FXX Open OSC2 CAPACITOR SELECTION FOR CERAMIC RESONATORS Freq OSC1/C1 OSC2/C2 455 kHz 47 - 100 100 pF 2.0 MHz 4.0 MHz 8.0 MHz 10.0 MHz for which the DD 2001 Microchip Technology Inc. ...

Page 25

... For V > 4.5V mended. 2001 Microchip Technology Inc. 6.2.3 RC OSCILLATOR For timing insensitive applications, the RC device option offers additional cost savings. The RC oscillator OSC2/C2 frequency is a function of the supply voltage, the 68 - 100 pF resistor (R ...

Page 26

... RESET situations (Section 6.7). These bits are used in software to determine the nature of the RESET See Table 6-5 Enable PWRT Enable OST Program Counter STATUS Register 000h 000h 000h 000h ( 2001 Microchip Technology Inc. Chip_Reset Q 0001 1xxx 000u uuuu 0001 0uuu 0000 1uuu uuu0 0uuu uuu1 0uuu ...

Page 27

... Table 6-3 lists the RESET value for each specific condition any device RESET, these pins are configured as inputs. 5: This is the value that will be in the port output latch. 2001 Microchip Technology Inc. MCLR during: – normal operation – SLEEP WDT Reset during ...

Page 28

... MCLR pin breakdown due to ESD or EOS invoked only for XT, LP and OST time-out will expire before OST EXTERNAL POWER-ON RESET CIRCUIT (FOR SLOW V POWER-UP MCLR PIC16FXX C power-up rate is too slow. The DD powers down recommended to make sure level on the MCLR pin. IH 2001 Microchip Technology Inc. ...

Page 29

... MCLR INTERNAL POR PWRT TIME-OUT OST TIME-OUT INTERNAL RESET FIGURE 6-8: TIME-OUT SEQUENCE ON POWER-UP (MCLR TIED TO V TIME V DD MCLR INTERNAL POR PWRT TIME-OUT OST TIME-OUT INTERNAL RESET 2001 Microchip Technology Inc. PIC16F84A DD T PWRT T OST DD T PWRT T OST ): FAST PWRT ...

Page 30

... Illegal set on POR x 0 SLEEP WDT Reset (during normal operation WDT Wake- 1024T OSC MCLR during normal operation 1 1 MCLR during SLEEP or interrupt — wake-up from SLEEP ): OST DD V min. DD STATUS BITS AND THEIR SIGNIFICANCE Condition 2001 Microchip Technology Inc. ...

Page 31

... T0IE INTF INTE RBIF RBIE EEIF EEIE GIE 2001 Microchip Technology Inc. 6.8.1 INT INTERRUPT External interrupt on RB0/INT pin is edge triggered: either rising if INTEDG bit (OPTION_REG<6>) is set, or falling if INTEDG bit is clear. When a valid edge appears on (INTCON<1>) is set. This interrupt can be disabled by clearing control bit INTE (INTCON< ...

Page 32

... The CLRWDT and SLEEP instructions clear the WDT and the postscaler (if assigned to the WDT) and pre- vent it from timing out and generating a device RESET condition. The TO bit in the STATUS register will be cleared upon a WDT time-out. and process variations from part to 2001 Microchip Technology Inc. ...

Page 33

... OPTION_REG RBPU INTEDG Legend unknown. Shaded cells are not used by the WDT. Note 1: See Register 6-1 for operation of the PWRTE bit. 2: See Register 6-1 and Section 6.12 for operation of the code and data protection bits. 2001 Microchip Technology Inc. (Figure 5- Postscaler ...

Page 34

... In cases where the execution of the instruction following SLEEP is not desirable, the user should have a NOP after the SLEEP instruction (2) T OST Interrupt Latency (Note 2) Processor in SLEEP PC PC+2 Inst( Inst( Dummy cycle 0004h 0005h Inst(0004h) Inst(0005h) Dummy cycle Inst(0004h) 2001 Microchip Technology Inc. ...

Page 35

... SLEEP instruction executed, test the PD bit. If the PD bit is set, the SLEEP instruction was executed as a NOP. To ensure that the WDT is cleared, a CLRWDT instruc- tion should be executed before a SLEEP instruction. 2001 Microchip Technology Inc. PIC16F84A 6.12 Program Verification/Code Protection If the code protection bit(s) have not been pro- grammed, the on-chip program memory can be read out for verification purposes ...

Page 36

... PIC16F84A NOTES: DS35007B-page 34 2001 Microchip Technology Inc. ...

Page 37

... Byte-oriented operations • Bit-oriented operations • Literal and control operations 2000 Microchip Technology Inc. PIC16F84A All instructions are executed within one single instruc- tion cycle, unless a conditional test is true or the pro- gram counter is changed as a result of an instruction. ...

Page 38

... TO,PD 0000 0110 0100 1kkk kkkk kkkk Z 1000 kkkk kkkk 00xx kkkk kkkk 0000 0000 1001 01xx kkkk kkkk 0000 0000 1000 TO,PD 0000 0110 0011 C,DC,Z 110x kkkk kkkk Z 1010 kkkk kkkk Mid-Range MCU ™ 2000 Microchip Technology Inc. ...

Page 39

... Operands 127 d Operation: (W) .AND. (f) (destination) Status Affected: Z Description: AND the W register with register 'f the result is stored in the W register the result is stored back in register 'f'. 2000 Microchip Technology Inc. PIC16F84A BCF Bit Clear f Syntax: [ label ] BCF f,b Operands 127 Operation: 0 (f<b>) ...

Page 40

... W. If ’d’ the result is stored back in register ’f’. Decrement f [ label ] DECF f 127 d [0,1] ( (destination) Z Decrement register ’f’. If ’d’ the result is stored in the W regis- ter. If ’d’ the result is stored back in register ’f’. 2000 Microchip Technology Inc. ...

Page 41

... Status Affected: Z Description: The contents of register ’f’ are incremented. If ’d’ the result is placed in the W register. If ’d’ the result is placed back in register ’f’. 2000 Microchip Technology Inc. PIC16F84A INCFSZ Increment f, Skip if 0 Syntax: [ label ] INCFSZ f,d Operands: 0 ...

Page 42

... This is a two-cycle instruction. Return from Subroutine [ label ] RETURN None TOS PC None Return from subroutine. The stack is POPed and the top of the stack (TOS) is loaded into the program counter. This is a two-cycle instruction. 2000 Microchip Technology Inc. ...

Page 43

... TO, PD Description: The power-down status bit cleared. Time-out status bit set. Watchdog Timer and its prescaler are cleared. The processor is put into SLEEP mode with the oscillator stopped. 2000 Microchip Technology Inc. PIC16F84A SUBLW Subtract W from Literal [ label ] SUBLW k Syntax: Operands: 0 ...

Page 44

... W register. DS35007B-page 42 XORWF Exclusive OR W with f Syntax: [ label ] XORWF Operands 127 d [0,1] Operation: (W) .XOR. (f) destination) Status Affected: Z Description: Exclusive OR the contents of the W register with register 'f the result is stored in the W register the result is stored back in register 'f'. 2000 Microchip Technology Inc. f,d ...

Page 45

... A project manager • Customizable toolbar and key mapping • A status bar • On-line help 2001 Microchip Technology Inc. The MPLAB IDE allows you to: • Edit your source files (either assembly or ‘C’) • One touch assemble (or compile) and download to PICmicro emulator and simulator tools (auto- matically updates all project information) • ...

Page 46

... ICEPIC In-Circuit Emulator The ICEPIC low cost, in-circuit emulator is a solution for the Microchip Technology PIC16C5X, PIC16C6X, PIC16C7X and PIC16CXXX families of 8-bit One- Time-Programmable (OTP) microcontrollers. The mod- ular system can support different subsets of PIC16C5X or PIC16CXXX products through the use of inter- changeable personality modules, or daughter boards ...

Page 47

... PIC16C92X PIC17C76X, may be supported with an adapter socket. The PICSTART Plus development programmer is CE compliant. 2001 Microchip Technology Inc. 8.11 PICDEM 1 Low Cost PICmicro Demonstration Board The PICDEM 1 demonstration board is a simple board which demonstrates the capabilities of several of Microchip’s microcontrollers. The microcontrollers sup- ...

Page 48

... EE OQ Programming Tools K L evaluation and programming tools support EE OQ Microchip’s HCS Secure Data Products. The HCS eval- uation kit includes a LCD display to show changing codes, a decoder to decode transmissions and a pro- gramming interface to program test transmitters. 2001 Microchip Technology Inc. ...

Page 49

... DEVELOPMENT TOOLS FROM MICROCHIP MCP2510 MCRFXXX HCSXXX 93CXX 25CXX/ 24CXX/ PIC18FXXX PIC18CXX2 PIC17C7XX PIC17C4X PIC16C9XX PIC16F8XX PIC16C8X PIC16C7XX PIC16C7X PIC16F62X PIC16CXXX PIC16C6X PIC16C5X PIC14000 PIC12CXXX Tools Software Emulators Debugger Programmers 2001 Microchip Technology Inc. PIC16F84A Kits Eval and Boards Demo DS35007B-page 47 ...

Page 50

... PIC16F84A NOTES: DS35007B-page 48 2001 Microchip Technology Inc. ...

Page 51

... This is a stress rating only and functional operation of the device at those or any other conditions above those indicated in the operation listings of this specification is not implied. Exposure to maximum rating conditions for extended periods may affect device reliability. 2001 Microchip Technology Inc. (except V , MCLR, and RA4) ......................................... -0. ...

Page 52

... PIC16F84A FIGURE 9-1: PIC16F84A-20 VOLTAGE-FREQUENCY GRAPH 6.0V 5.5V 5.0V 4.5V 4.0V 3.5V 3.0V 2.5V 2.0V FIGURE 9-2: PIC16LF84A-04 VOLTAGE- FREQUENCY GRAPH 6.0V 5.5V 5.0V 4.5V 4.0V 3.5V 3.0V 2.5V 2.0V 4 MHz 10 MHz Frequency F = (6.0 MHz/ 2.0V MHz MAX DDAPPMIN Note the minimum voltage of the DDAPPMIN ® ...

Page 53

... DC Characteristics PIC16LF84A-04 (Commercial, Industrial) PIC16F84A-04 (Commercial, Industrial, Extended) PIC16F84A-20 (Commercial, Industrial, Extended) Param Symbol Characteristic No. V Supply Voltage DD D001 D001 D001A D002 V RAM Data Retention DR Voltage (Note 1) D003 V V Start Voltage to ensure POR DD internal Power-on Reset signal D004 S V Rise Rate to ensure ...

Page 54

... PIC16F84A 9.1 DC Characteristics (Continued) PIC16LF84A-04 (Commercial, Industrial) PIC16F84A-04 (Commercial, Industrial, Extended) PIC16F84A-20 (Commercial, Industrial, Extended) Param Symbol Characteristic No. I Power-down Current (Note 3) PD D020 D020 16F84A-20 16F84A-04 D021A D021A 16F84A-20 16F84A-04 D021B 16F84A-20 16F84A-04 Module Differential Current (Note 5) D022 I Watchdog Timer WDT Legend: Rows with standard voltage device data only are shaded for improved readability ...

Page 55

... Negative current is defined as coming out of the pin. 4: The user may choose the better of the two specs. 2001 Microchip Technology Inc. PIC16F84A-04 (Commercial, Industrial) PIC16F84A-20 (Commercial, Industrial) PIC16LF84A-04 (Commercial, Industrial) Standard Operating Conditions (unless otherwise stated) Operating temperature 0 C -40 C Operating voltage V ...

Page 56

... Negative current is defined as coming out of the pin. 4: The user may choose the better of the two specs. DS35007B-page 54 PIC16F84A-04 (Commercial, Industrial) PIC16F84A-20 (Commercial, Industrial) PIC16LF84A-04 (Commercial, Industrial) (Continued) Standard Operating Conditions (unless otherwise stated) Operating temperature 0 C -40 C Operating voltage V range as described in DC specifications DD (Section 9 ...

Page 57

... I/O port inp INT pin mp MCLR Uppercase letters and their meanings Fall H High I Invalid (high impedance) L Low 2001 Microchip Technology Inc. PIC16F84A T Time os, osc OSC1 ost oscillator start-up timer pwrt power-up timer rbt RBx pins t0 T0CKI wdt watchdog timer P ...

Page 58

... OSC2 output DS35007B-page 56 0°C T +70°C for commercial A -40°C T +85°C for industrial A range as described in DC specifications (Section 9.1) DD XTAL DD (High XTAL DD (Low I/O Port Measurement Points Load Condition 2 Pin 0.9 V (High) DD 0.1 V (Low 2001 Microchip Technology Inc. ...

Page 59

... All devices are tested to operate at "Min." values with an external clock applied to the OSC1 pin. When an external clock input is used, the "Max." cycle time limit is "DC" (no clock) for all devices. 2001 Microchip Technology Inc ...

Page 60

... Max Units Conditions 30 ns (Note 1) 120 ns (Note (Note 1) 120 ns (Note (Note 1) 100 ns (Note (Note 1) 100 ns (Note 1) 0.5T +20 ns (Note 1) CY — ns (Note 1) — ns (Note 1) — ns (Note 1) 125 ns 250 ns — ns — ns — ns — — ns — ns — ns — ns 2001 Microchip Technology Inc. ...

Page 61

... Power-up Timer Period PWRT I/O hi-impedance from MCLR 34 T IOZ Low or RESET † Data in "Typ" column unless otherwise stated. These parameters are for design guidance only and are not tested. 2001 Microchip Technology Inc. PIC16F84A Min Typ† Max Units 2 — ...

Page 62

... Typ† Max Units No Prescaler 0. — — CY With Prescaler 50 — — 30 — — No Prescaler 0. — — CY With Prescaler 50 — — 20 — — — — Conditions ns ns 2. 3. 2. 3. prescale value (2, 4, ..., 256) 2001 Microchip Technology Inc. ...

Page 63

... The data presented in this section is a statistical summary of data collected on units from different lots over a period of time and matrix samples. ‘Typical’ represents the mean of the distribution ‘Max’ or ‘Min’ represents (mean + (mean - 3 ), respectively, where 2001 Microchip Technology Inc standard deviation over the whole temperature range. PIC16F84A range) ...

Page 64

... V 0.5 2 DS35007B-page 62 vs. F OVER V (HS MODE, 25°C) OSC DD 3 (MHz) OSC vs. F OVER V (HS MODE, -40° TO +125°C) OSC DD 4.0 V 3 (MHz) OSC 5.5 V 5.0 V 4 5.5 V 5 © 2001 Microchip Technology Inc. ...

Page 65

... FIGURE 10-4: MAXIMUM I DD 1.0 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0.0 0.0 0.5 1.0 2001 Microchip Technology Inc. vs. F OVER V (XT MODE, 25°C) OSC DD 1.5 2.0 2.5 F (MHz) OSC vs. F OVER V (XT MODE, -40° TO +125°C) OSC DD 1 ...

Page 66

... OSC vs. F OVER V (LP MODE, -40° TO +125°C) OSC DD 5.0 V 4.5 V 3.5 V 3.0 V 2.5 V 2.0 V 100 125 F (kHz) OSC 5.5 V 5.0 V 4.5 V 4.0 V 3.5 V 3.0 V 2.5 V 2.0 V 150 175 200 5.5 V 4.0 V 150 175 200 © 2001 Microchip Technology Inc. ...

Page 67

... FIGURE 10-8: AVERAGE F OSC 2000 1800 1600 1400 1200 1000 800 600 400 200 0 2.0 2.5 2001 Microchip Technology Inc. vs. V FOR R (RC MODE pF 3 100 k 3.0 3.5 4.0 V (V) DD vs. V FOR R (RC MODE 100 pF 3.3 k 5.1 k ...

Page 68

... DS35007B-page 66 vs. V FOR R (RC MODE 300 pF 3 100 k V (V) 3.5 DD 4.0 3.0 3.5 4.0 V (V) DD 4.5 5.0 5.5 Max Typ 4.5 5.0 5.5 © 2001 Microchip Technology Inc. ...

Page 69

... TYPICAL, MINIMUM, AND MAXIMUM WDT PERIOD vs Typical: statistical mean @ 25°C Maximum: mean + 3 (-40°C to +125°C) Minimum: mean – 3 (-40°C to +125°C) 0 2.0 2.5 3.0 2001 Microchip Technology Inc. PIC16F84A Max Typ 3.5 4.0 4 Max Typ Min 3.5 4.0 4 ...

Page 70

... Maximum: mean + 3 (-40°C to +125°C) Minimum: mean – 3 (-40°C to +125°C) 0 DS35007B-page 68 vs 7.5 10.0 12.5 15.0 I (mA Max Typ Min (mA 5V, - +125 Typ Min 17.5 20.0 22.5 25 3V, - +125 © 2001 Microchip Technology Inc. ...

Page 71

... TYPICAL, MINIMUM AND MAXIMUM V 1.8 Typical: statistical mean @ 25°C Maximum: mean + 3 (-40°C to +125°C) Minimum: mean – 3 (-40°C to +125°C) 1.6 1.4 1.2 1.0 0.8 0.6 0.4 0.2 0.0 0.0 2.5 5.0 2001 Microchip Technology Inc. vs (mA) vs 7.5 10.0 12.5 15.0 I (mA) OL ...

Page 72

... DS35007B-page 70 vs (TTL INPUT, - +125 3.5 4.0 4.5 V (V) DD vs. V (ST INPUT, - +125 Max 3.5 4.0 4.5 V (V) DD © 2001 Microchip Technology Inc. 5.0 5.5 Typ V Min IH Max V Typ IL V Min IL 5.0 5.5 ...

Page 73

... Standard PICmicro device marking consists of Microchip part number, year code, week code, and traceability code. For PICmicro device marking beyond this, certain price adders apply. Please check with your Microchip sales office. For QTP devices, any special marking adders are included in QTP price. 2001 Microchip Technology Inc. PIC16F84A Example PIC16F84A-04I/P ...

Page 74

... MILLIMETERS MIN NOM MAX 18 2.54 3.56 3.94 4.32 2.92 3.30 3.68 0.38 7.62 7.94 8.26 6.10 6.35 6.60 22.61 22.80 22.99 3.18 3.30 3.43 0.20 0.29 0.38 1.14 1.46 1.78 0.36 0.46 0.56 7.87 9.40 10. 2001 Microchip Technology Inc. ...

Page 75

... Mold Draft Angle Top Mold Draft Angle Bottom * Controlling Parameter § Significant Characteristic Notes: Dimensions D and E1 do not include mold flash or protrusions. Mold flash or protrusions shall not exceed .010” (0.254mm) per side. JEDEC Equivalent: MS-013 Drawing No. C04-051 2001 Microchip Technology Inc Units INCHES* ...

Page 76

... A2 MILLIMETERS MIN NOM MAX 20 0.65 1.73 1.85 1.98 1.63 1.73 1.83 0.05 0.15 0.25 7.59 7.85 8.18 5.11 5.25 5.38 7.06 7.20 7.34 0.56 0.75 0.94 0.10 0.18 0.25 0.00 101.60 203.20 0.25 0.32 0. 2001 Microchip Technology Inc. ...

Page 77

... Date A 9/98 This is a new data sheet. However, the devices described in this data sheet are the upgrades to the devices found in the PIC16F8X Data Sheet , DS30430. B 8/01 Added DC and AC Characteristics Graphs and Tables to Section 10. 2001 Microchip Technology Inc. PIC16F84A Revision Description DS35007B-page 75 ...

Page 78

... 2.0V 2.0V, DD WDT disabled, industrial) V (max (OSC1, RC mode) V (min) = 2.4V IH (I/O Ports with TTL, V 5.5V) 4.5V V 5.5V (typ (typ DEW (max (max DEW TioR, TioF (max (C84) TioR, TioF (max (LC84) Yes N/A TTL/ST* (*Schmitt Trigger) 2001 Microchip Technology Inc. ...

Page 79

... Enable (GIE) bit is being cleared, the GIE bit may unintentionally be re- enabled by the user’s Interrupt Service Routine (the RETFIE instruction). Packages PDIP, SOIC Open Drain High 14V Voltage ( 2001 Microchip Technology Inc. PIC16CR83/ PIC16F83/F84 CR84 N/A N/A PWRTE PWRTE 100k ...

Page 80

... Eliminate any data memory page switching. Redefine data variables for reallocation. 4. Verify all writes to STATUS, OPTION, and FSR registers since these have changed. 5. Change RESET vector to 0000h. are made to avoid 2001 Microchip Technology Inc. ...

Page 81

... EEIF Bit ...................................................................... 29 Electrical Characteristics .................................................... 49 Load Conditions.......................................................... 56 Parameter Measurement Information......................... 56 PIC16F84A-04 Voltage-Frequency Graph ................. 50 PIC16F84A-20 Voltage-Frequency Graph ................. 50 PIC16LF84A-04 Voltage-Frequency Graph ............... 50 Temperature and Voltage Specifications - AC ........... 56 Endurance ............................................................................ 1 Errata .................................................................................... 2 External Clock Input (RA4/T0CKI). See Timer0 External Interrupt Input (RB0/INT). See Interrupt Sources External Power-on Reset Circuit......................................... 26 F Firmware Instructions ...

Page 82

... RB7:RB4 Block Diagram ............................................ 17 RB7:RB4 Interrupt-on-Change ........................ 4 RB7:RB4 Interrupt-on-Change Enable (RBIE Bit) ............................................... 10 RB7:RB4 Interrupt-on-Change Flag (RBIF Bit)..............................................10 TRISB Register......................................... 7 Postscaler, WDT Assignment (PSA Bit) ................................................... 9 Rate Select (PS2:PS0 Bits) .......................................... 9 Postscaler. See Prescaler Power-down (PD) Bit. See Power-on Reset (POR) Power-down Mode. See SLEEP , , , 2001 Microchip Technology Inc. ...

Page 83

... 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 C Bit .............................................................................. 8 DC Bit............................................................................ 8 PD Bit................................................. 8 RESET Conditions ...................................................... 24 RP0 Bit.......................................................................... Bit........................................... Bit............................................................................... 8 2001 Microchip Technology Inc Time-out (TO) Bit. See Power-on Reset (POR Timer0 ...

Page 84

... PIC16F84A NOTES: DS35007B-page 82 2001 Microchip Technology Inc. ...

Page 85

... Microchip Products • Conferences for products, Development Systems, technical information and more • Listing of seminars and events 2001 Microchip Technology Inc. Systems Information and Upgrade Hot Line The Systems Information and Upgrade Line provides system users a listing of the latest versions of all of Microchip's development systems software products ...

Page 86

... What deletions from the data sheet could be made without affecting the overall usefulness there any incorrect or misleading information (what and where)? 7. How would you improve this document? 8. How would you improve our software, systems, and silicon products? DS35007B-page 84 Total Pages Sent FAX: (______) _________ - _________ N Literature Number: DS35007B 2001 Microchip Technology Inc. ...

Page 87

... XXX Examples: a) PIC16F84A -04/P 301 = Commercial Package Pattern temp., PDIP package, 4 MHz, normal V limits, QTP pattern #301. b) PIC16LF84A - 04I/SO = Industrial temp., (2) SOIC package, 200 kHz, Extended V (2) limits. c) PIC16F84A - 20I/P = Industrial temp., PDIP package, 20 MHz, normal V Note Blank for OTP and ...

Page 88

... Korea Microchip Technology Korea 168-1, Youngbo Bldg. 3 Floor Samsung-Dong, Kangnam-Ku Seoul, Korea 135-882 Tel: 82-2-554-7200 Fax: 82-2-558-5934 Singapore Microchip Technology Singapore Pte Ltd. 200 Middle Road #07-02 Prime Centre Singapore, 188980 Tel: 65-334-8870 Fax: 65-334-8850 Taiwan Microchip Technology Taiwan 11F-3, No. 207 ...

Related keywords