PIC16F84A-20/P Microchip Technology, PIC16F84A-20/P Datasheet - Page 17

IC MCU FLASH 1KX14 EE 18DIP

PIC16F84A-20/P

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

Specifications of PIC16F84A-20/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
20MHz
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
20 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-20/P
Manufacturer:
MICROCHI
Quantity:
12 240
Part Number:
PIC16F84A-20/P
Manufacturer:
MICROCHI
Quantity:
12 240
Part Number:
PIC16F84A-20/P
Manufacturer:
MICROCHIP
Quantity:
2
4.0
Some pins for these I/O ports are multiplexed with an
alternate function for the peripheral features on the
device. In general, when a peripheral is enabled, that
pin may not be used as a general purpose I/O pin.
Additional information on I/O ports may be found in the
PICmicro™ Mid-Range Reference Manual (DS33023).
4.1
PORTA is a 5-bit wide, bi-directional port. The corre-
sponding data direction register is TRISA. Setting a
TRISA bit (= 1) will make the corresponding PORTA pin
an input (i.e., put the corresponding output driver in a
Hi-Impedance mode). Clearing a TRISA bit (= 0) will
make the corresponding PORTA pin an output (i.e., put
the contents of the output latch on the selected pin).
Reading the PORTA register reads the status of the
pins, whereas writing to it will write to the port latch. All
write operations are read-modify-write operations.
Therefore, a write to a port implies that the port pins are
read. This value is modified and then written to the port
data latch.
Pin RA4 is multiplexed with the Timer0 module clock
input to become the RA4/T0CKI pin. The RA4/T0CKI
pin is a Schmitt Trigger input and an open drain output.
All other RA port pins have TTL input levels and full
CMOS output drivers.
EXAMPLE 4-1:
BCF
CLRF
BSF
MOVLW
MOVWF
Note:
2001 Microchip Technology Inc.
I/O PORTS
PORTA and TRISA Registers
STATUS, RP0 ;
PORTA
STATUS, RP0 ; Select Bank 1
0x0F
TRISA
On a Power-on Reset, these pins are con-
figured as inputs and read as '0'.
INITIALIZING PORTA
; Initialize PORTA by
; clearing output
; data latches
; Value used to
; initialize data
; direction
; Set RA<3:0> as inputs
; RA4 as output
; TRISA<7:5> are always
; read as ’0’.
FIGURE 4-1:
FIGURE 4-2:
Note:
Note:
Data
Bus
WR
Port
WR
TRIS
RD Port
Data
Bus
WR
Port
WR
TRIS
RD Port
TMR0 Clock Input
I/O pins have protection diodes to V
I/O pins have protection diodes to V
D
TRIS Latch
Data Latch
D
CK
CK
TRIS Latch
Data Latch
D
D
CK
CK
RD TRIS
Q
Q
Q
Q
Q
Q
Q
Q
RD TRIS
BLOCK DIAGRAM OF
PINS RA3:RA0
BLOCK DIAGRAM OF PIN
RA4
PIC16F84A
Q
Q
EN
Schmitt
Trigger
Input
Buffer
EN
D
EN
DS35007B-page 15
TTL
Input
Buffer
D
V
N
SS
V
V
P
N
DD
SS
DD
DD
and V
and V
RA4 pin
I/O pin
SS
SS
.
.

Related parts for PIC16F84A-20/P