PIC16F84A-04/P Microchip Technology Inc., PIC16F84A-04/P Datasheet - Page 23
![no-image](/images/manufacturer_photos/0/4/440/microchip_technology_inc__sml.jpg)
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
1.PIC16F84A-04P.pdf
(88 pages)
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
Company:
Part Number:
PIC16F84A-04/P
Manufacturer:
MICROCHIP
Quantity:
1 450
6.0
What sets a microcontroller apart from other
processors are special circuits to deal with the needs of
real time applications. The PIC16F84A has a host of
such features intended to maximize system reliability,
minimize
components, provide power saving operating modes
and offer code protection. These features are:
• OSC Selection
• RESET
• Interrupts
• Watchdog Timer (WDT)
• SLEEP
• Code Protection
• ID Locations
• In-Circuit Serial Programming™ (ICSP™)
The PIC16F84A has a Watchdog Timer which can be
shut-off only through configuration bits. It runs off its
own RC oscillator for added reliability. There are two
timers that offer necessary delays on power-up. One is
the Oscillator Start-up Timer (OST), intended to keep
REGISTER 6-1:
bit 13-4
bit 3
bit 2
bit 1-0
bit13
R/P-u
- Power-on Reset (POR)
- Power-up Timer (PWRT)
- Oscillator Start-up Timer (OST)
2001 Microchip Technology Inc.
CP
SPECIAL FEATURES OF THE
CPU
R/P-u R/P-u R/P-u
cost
CP
CP: Code Protection bit
1 = Code protection disabled
0 = All program memory is code protected
PWRTE: Power-up Timer Enable bit
1 = Power-up Timer is disabled
0 = Power-up Timer is enabled
WDTE: Watchdog Timer Enable bit
1 = WDT enabled
0 = WDT disabled
FOSC1:FOSC0: Oscillator Selection bits
11 = RC oscillator
10 = HS oscillator
01 = XT oscillator
00 = LP oscillator
through
CP
PIC16F84A CONFIGURATION WORD
CP
elimination
R/P-u R/P-u R/P-u R/P-u R/P-u
CP
of
CP
external
CP
CP
the chip in RESET until the crystal oscillator is stable.
The other is the Power-up Timer (PWRT), which pro-
vides a fixed delay of 72 ms (nominal) on power-up
only. This design keeps the device in RESET while the
power supply stabilizes. With these two timers on-chip,
most applications need no external RESET circuitry.
SLEEP mode offers a very low current power-down
mode. The user can wake-up from SLEEP through
external RESET, Watchdog Timer Time-out or through
an interrupt. Several oscillator options are provided to
allow the part to fit the application. The RC oscillator
option saves system cost while the LP crystal option
saves power. A set of configuration bits are used to
select the various options.
Additional information on special features is available
in the PICmicro™ Mid-Range Reference Manual
(DS33023).
6.1
The configuration bits can be programmed (read as '0'),
or left unprogrammed (read as '1'), to select various
device configurations. These bits are mapped in
program memory location 2007h.
Address 2007h is beyond the user program memory
space and it belongs to the special test/configuration
memory space (2000h - 3FFFh). This space can only
be accessed during programming.
CP
Configuration Bits
R/P-u
CP
PWRTE WDTE F0SC1 F0SC0
R/P-u
PIC16F84A
R/P-u
DS35007B-page 21
R/P-u
R/P-u
bit0