Professional Documents
Culture Documents
ECE 513 - PART1-Introduction To PIC16F84A
ECE 513 - PART1-Introduction To PIC16F84A
Register
A register or a memory cell is an electronic
circuit which can memorize the state of
one byte.
Basic Concepts
Input/Output Ports
registers (called a “port”) connected to the
microcontroller pins.
Basic Concepts
Memory Unit
part of the microcontroller used for data
storage.
Each memory address
corresponds to one
memory location.
The content of any location
becomes known by its
addressing. Memory can
either be written to or read
From.
…types of memory within the
microcontroller
Read Only Memory (ROM)
is used to permanently save the program
being executed.
Masked ROM
this ROM are reserved for the great
manufacturers.
One Time Programmable ROM (OTP
ROM)
Programming the chip can be done only
once
…types of memory within the
microcontroller
UV Erasable Programmable ROM (UV
EPROM)
Flash memory
the successor to the UV EPROM.
contents of this memory can be written and
cleared practically an unlimited number of
times
…types of memory within the
microcontroller
Random Access Memory (RAM)
It is used for temporary storing data and
intermediate results created and used
during the operation of the microcontroller
Electrically Erasable Programmable
ROM (EEPROM)
The contents of the EEPROM may be
changed during operation (similar to RAM),
but remains permanently saved even upon
the power supply goes off (similar to ROM)
Basic Concepts
BASELINE ARCHITECTURE
The Baseline Architecture includes the
PIC10 family and portions of the PIC12
and PIC16 families.
These devices utilize a 12-bit program
word architecture with 6 to 28-pin package
options and support 33 instructions.
12-bit instruction word (e.g., 12C5XX,
16C5X) (aka 12 Series and the 16C5X
Series)
Microcontroller Core Families
MID-RANGE ARCHITECTURE
The Mid-Range Architecture includes
members of the PIC12 and PIC16 families
that feature a 14-bit program word
architecture.
Have 35 instructions. The nice thing is that
the same 33 instructions available on the
Baseline units are still available
14-bit instruction word (e.g., 16F8X,
16F87X) (aka 16 Series)
Microcontroller Core Families
PIC 16F84A
Introduction
Pin Diagram
Features
Memory Organization
Introduction
PIC 16F84A
• PIC16F84
belongs to a class
of 8-bit
microcontrollers
of RISC
architecture. Its
general structure
is shown on the
following map
representing
basic blocks.
PIC 16F84A
Pin Diagram
Features
Memory Organization
Types of Oscillators: