PIC16F84A-04E/SO Microchip Technology, PIC16F84A-04E/SO Datasheet - Page 8
![IC MCU CMOS 4MHZ 1K FLASH 18SOIC](/photos/6/76/67656/150-18-soic_sml.jpg)
PIC16F84A-04E/SO
Manufacturer Part Number
PIC16F84A-04E/SO
Description
IC MCU CMOS 4MHZ 1K FLASH 18SOIC
Manufacturer
Microchip Technology
Series
PIC® 16Fr
Datasheets
1.PIC16F688T-ISL.pdf
(688 pages)
2.PIC16F84A-04P.pdf
(88 pages)
3.PIC16F84A-04P.pdf
(6 pages)
Specifications of PIC16F84A-04E/SO
Core Processor
PIC
Core Size
8-Bit
Speed
4MHz
Peripherals
POR, WDT
Number Of I /o
13
Program Memory Size
1.75KB (1K x 14)
Program Memory Type
FLASH
Eeprom Size
64 x 8
Ram Size
68 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 5.5 V
Oscillator Type
External
Operating Temperature
-40°C ~ 125°C
Package / Case
18-SOIC (7.5mm Width)
For Use With
I3-DB16F84A - BOARD DAUGHTER ICEPIC3
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Data Converters
-
Connectivity
-
PIC16F84A
2.2
The data memory is partitioned into two areas. The first
is the Special Function Registers (SFR) area, while the
second is the General Purpose Registers (GPR) area.
The SFRs control the operation of the device.
Portions of data memory are banked. This is for both
the SFR area and the GPR area. The GPR area is
banked to allow greater than 116 bytes of general
purpose RAM. The banked areas of the SFR are for the
registers that control the peripheral functions. Banking
requires the use of control bits for bank selection.
These control bits are located in the STATUS Register.
Figure 2-2 shows the data memory map organization.
Instructions MOVWF and MOVF can move values from
the W register to any location in the register file (“F”),
and vice-versa.
The entire data memory can be accessed either
directly using the absolute address of each register file
or indirectly through the File Select Register (FSR)
(Section 2.5). Indirect addressing uses the present
value of the RP0 bit for access into the banked areas of
data memory.
Data memory is partitioned into two banks which
contain the general purpose registers and the special
function registers. Bank 0 is selected by clearing the
RP0 bit (STATUS<5>). Setting the RP0 bit selects Bank
1. Each Bank extends up to 7Fh (128 bytes). The first
twelve locations of each Bank are reserved for the
Special Function Registers. The remainder are Gen-
eral Purpose Registers, implemented as static RAM.
2.2.1
Each General Purpose Register (GPR) is 8-bits wide
and is accessed either directly or indirectly through the
FSR (Section 2.5).
The GPR addresses in Bank 1 are mapped to
addresses in Bank 0. As an example, addressing loca-
tion 0Ch or 8Ch will access the same GPR.
DS35007B-page 6
Data Memory Organization
GENERAL PURPOSE REGISTER
FILE
FIGURE 2-2:
File Address
Note 1: Not a physical register.
0Ch
0Ah
0Bh
4Fh
7Fh
00h
01h
02h
03h
04h
05h
06h
07h
08h
09h
50h
Unimplemented data memory location, read as ’0’.
Indirect addr.
Registers
EEDATA
STATUS
PCLATH
INTCON
Purpose
General
(SRAM)
PORTA
PORTB
EEADR
Bank 0
TMR0
FSR
PCL
68
—
REGISTER FILE MAP -
PIC16F84A
(1)
2001 Microchip Technology Inc.
Indirect addr.
OPTION_REG
EECON2
(accesses)
EECON1
in Bank 0
Bank 1
STATUS
PCLATH
INTCON
Mapped
TRISA
TRISB
PCL
FSR
—
(1)
(1)
File Address
80h
81h
82h
83h
84h
85h
86h
87h
88h
89h
8Ah
8Bh
8Ch
CFh
D0h
FFh