PIC16F84A-04/P Microchip Technology Inc., PIC16F84A-04/P Datasheet - Page 80

no-image

PIC16F84A-04/P

Manufacturer Part Number
PIC16F84A-04/P
Description
18 PIN, 1.75 KB FLASH, 68 RAM, 13 I/O
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC16F84A-04/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
Part Number:
PIC16F84A-04/P
Manufacturer:
MICROCHIP
Quantity:
1 450
PIC16F84A
APPENDIX C:
This section discusses how to migrate from a baseline
device (i.e., PIC16C5X) to a mid-range device (i.e.,
PIC16CXXX).
The following is the list of feature improvements over
the PIC16C5X microcontroller family:
1.
2.
3.
4.
5.
6.
7.
8.
9.
10. Wake-up from SLEEP through interrupt is
11. Two separate timers, the Oscillator Start-up
12. PORTB has weak pull-ups and interrupt-on-
13. T0CKI pin is also a port pin (RA4/T0CKI).
14. FSR is a full 8-bit register.
15. "In system programming" is made possible. The
DS35007B-page 78
Instruction word length is increased to 14-bits.
This allows larger page sizes, both in program
memory (2K now as opposed to 512K before)
and the register file (128 bytes now versus
32 bytes before).
A PC latch register (PCLATH) is added to han-
dle program memory paging. PA2, PA1 and PA0
bits are removed from the STATUS register and
placed in the OPTION register.
Data memory paging is redefined slightly. The
STATUS register is modified.
Four new instructions have been added:
RETURN, RETFIE, ADDLW, and SUBLW. Two
instructions, TRIS and OPTION, are being
phased out, although they are kept for
compatibility with PIC16C5X.
OPTION
addressable.
Interrupt capability is added. Interrupt vector is
at 0004h.
Stack size is increased to eight-deep.
RESET vector is changed to 0000h.
RESET of all registers is revisited. Five different
RESET (and wake-up) types are recognized.
Registers are reset differently.
added.
Timer (OST) and Power-up Timer (PWRT), are
included for more reliable power-up. These
timers
unnecessary delays on power-up and wake-up.
change features.
user can program PIC16CXX devices using only
five pins: V
(data in/out).
are
and
DD
, V
invoked
SS
TRIS
MIGRATION FROM
BASELINE TO
MID-RANGE DEVICES
, V
PP
, RB6 (clock) and RB7
selectively
registers
are
to
made
avoid
To convert code written for PIC16C5X to PIC16F84A,
the user should take the following steps:
1.
2.
3.
4.
5.
Remove any program memory page select
operations (PA2, PA1, PA0 bits) for CALL, GOTO.
Revisit any computed jump operations (write to
PC or add to PC, etc.) to make sure page bits
are set properly under the new scheme.
Eliminate any data memory page switching.
Redefine data variables for reallocation.
Verify all writes to STATUS, OPTION, and FSR
registers since these have changed.
Change RESET vector to 0000h.
2001 Microchip Technology Inc.

Related parts for PIC16F84A-04/P