PIC16F84A-04/P Microchip Technology, PIC16F84A-04/P Datasheet - Page 46

IC MCU FLASH 1KX14 EE 18DIP

PIC16F84A-04/P

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

Specifications of PIC16F84A-04/P

Program Memory Type
FLASH
Program Memory Size
1.75KB (1K x 14)
Package / Case
18-DIP (0.300", 7.62mm)
Core Processor
PIC
Core Size
8-Bit
Speed
4MHz
Peripherals
POR, WDT
Number Of I /o
13
Eeprom Size
64 x 8
Ram Size
68 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 5.5 V
Oscillator Type
External
Operating Temperature
0°C ~ 70°C
Processor Series
PIC16F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
68 B
Maximum Clock Frequency
4 MHz
Number Of Programmable I/os
13
Number Of Timers
1
Operating Supply Voltage
2 V to 5.5 V
Maximum Operating Temperature
+ 70 C
Mounting Style
Through Hole
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
ICE2000
Minimum Operating Temperature
0 C
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
I3-DB16F84A - BOARD DAUGHTER ICEPIC3DVA16XP180 - ADAPTER DEVICE FOR MPLAB-ICEAC164010 - MODULE SKT PROMATEII DIP/SOIC
Data Converters
-
Connectivity
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F84A-04/P
Manufacturer:
MICROCHIP
Quantity:
1 450
PICmicro MID-RANGE MCU FAMILY
2.5.1
DS31002A-page 2-16
Clock Out
A calibration instruction is programmed into the last address of the implemented program
memory. This instruction contains the calibration value for the internal RC oscillator. This value
is programmed as a RETLW XX instruction where XX is the calibration value. In order to retrieve
the calibration value, issue a CALL YY instruction where YY is the last location in the device’s user
accessible program memory. The calibration value is now loaded in the W register. The program
should then perform a MOVWF OSCCAL instruction to load the value into the internal RC oscillator
calibration register.
of the program memory.
Table 2-5:
The internal RC oscillator can be configured to provide a clock out signal on the CLKOUT pin
when the configuration word address (2007h) is programmed with FOSC2, FOSC1, FOSC0
equal to ‘101’ for Internal RC or ‘111’ for External RC. CLKOUT, which is divided by 4, can be
used for test purposes or to synchronize other logic.
When the calibration value of the internal RC oscillator is accidently erased, the clock out feature
allows the user to determine what the calibration value should be. This is achieved by writing a
program which modifies (increments/decrements) the value of the OSCCAL register. When the
CLKOUT pin is at 4 MHz ( 1.5%) at 5V and 25˚C, the OSCCAL register has the correct calibra-
tion value. This value then needs to be written to a port or shifted out serially, so that the value
can be written down and programmed into the calibration location.
Memory Size
Note 1: Erasing the device (windowed devices) will also erase the factory programmed
Note 2: OSCCAL<1:0> are unimplemented and should be written as ‘0’. This will help
Program
(Words)
512
1K
2K
4K
8K
calibration value for the internal oscillator.
Prior to erasing a windowed device, the internal oscillator calibration value must be
saved. It is a good idea to write this value on the package of the device to ensure
that the calibration value is not accidently lost.
This saved valued must be restored into program memory calibration location before
programming the device.
ensure compatibility with future devices.
Calibration Value Location
Calibration Value
Table 2-5
Location
1FFFh
FFFh
1FFh
3FFh
7FFh
shows the location of the calibration value depending on the size
1997 Microchip Technology Inc.

Related parts for PIC16F84A-04/P