SlideShare a Scribd company logo
3
Most read
5
Most read
7
Most read
PIC MICROCONTROLLER
ARCHITECTURE
PIC microcontroller architecture
Bock diagram
Advantages
ARCHITECTURE:
 IC Microcontroller architecture is based on Harvard
architecture and supports RISC architecture
(Reduced Instruction Set Computer).
 PIC microcontroller architecture consists of
memory organization (RAM, ROM, STACK), CPU,
timers, counter, ADC, DAC, serial communication,
CCP module and I/O ports.
 PIC microcontroller also supports the protocols like
CAN, SPI, UART for interfacing with other
peripherals.
PIC MICROCONTROLLER ARCHITECTURE
BLOCK DIAGRAM
CPU (Central Processing Unit):
PIC microcontroller’s CPU consists of
1. Arithmetic logic unit (ALU)
2. Memory unit (MU)
3. Control unit (CU)
4. Accumulator
 ALU is used for arithmetic operations and for logical decisions.
 Memory is used for storing the instructions after processing.
 Control unit is used to control the internal and external peripherals
which are connected to the CPU and accumulator is used for storing
the results.
MEMORY ORGANIZATION:
 PIC microcontroller memory module consists of mainly 3 types of
memories:
1. Program memory
2. Data memory
PROGRAM MEMORY:
 It contains the written program after we burned it in
microcontroller.
 Program Counter executes commands stored in the
program memory, one after the other.
 PIC microcontroller can have 8K words x 14 bits of
Flash program memory that can be electrically
erased and reprogrammed.
 Whenever we burn program into the micro, we
erase an old program and write a new one.
DATA MEMORY:
 It is a RAM type which is used to store the data
temporarily in its registers.
 The RAM memory is classified into banks. Each
bank extends up to 7Fh (128 bytes).
 Number of banks may vary depending on the
microcontroller.
 PIC16F84 has only two banks. Banks contain
Special Function Registers (SFR) and General
Purpose Registers (GPR).
 The lower locations of each bank are reserved for
the Special Function Registers and upper locations
are for General Purpose Registers.
General Purpose Registers (GPR):
oThese registers don’t have any special function.
o These are used for general purpose for multiplying, addition or
subtraction and then storing the results in other registers.
o CPU can easily access the data in these registers.
Special Function Registers (SFR):
oThese registers are used for special purposes and they cannot
be used as normal registers.
oTheir function is set at the time of manufacturing.
o They perform the function assigned to them and user cannot
change the function of SFR.
o Three important SFRs for programming are:
1. STATUS register : It changes the bank
2. PORT registers : It assigns logic values 0 or 1 to the ports
3. TRIS registers : It is a data direction register for input and
output
DATA EEPROM:
 This memory allows storing the variables as a result
of burning the written program.
 It is readable and writable during normal operation
(over the full VDD range).
 This memory is not directly mapped in the register
file.
 It is indirectly addressed through the SFRs.
 There are six SFRs which are used to read and
write to this memory (EECON1, EECON2,
EEDATA, EEDATH, EEADR, EEADRH).
ADVANTAGES
 Small instruction set to learn.
 RISC architecture.
 Built-in oscillator with selectable speeds.
 Easy entry level, in-circuit programming plus in-
circuit debugging PIC kit units available for less
than $50.
 Inexpensive microcontrollers.
 Wide range of interfaces including I²C, SPI, USB,
USART, A/D, programmable comparators, PWM,
LIN, CAN, PSP, and Ethernet.
 Availability of processors in DIL package make
them easy to handle for hobby use.

More Related Content

PDF
Pic microcontroller architecture
PPT
8051 block diagram
PPTX
INTRODUCTION TO MICROCONTROLLER
PPTX
8051 Microcontroller PPT's By Er. Swapnil Kaware
PPTX
Pic 18 microcontroller
PPTX
Microprocessor Fundamentals
DOC
PIC MICROCONTROLLERS -CLASS NOTES
PPT
PIC 16F877A by PARTHIBAN. S.
Pic microcontroller architecture
8051 block diagram
INTRODUCTION TO MICROCONTROLLER
8051 Microcontroller PPT's By Er. Swapnil Kaware
Pic 18 microcontroller
Microprocessor Fundamentals
PIC MICROCONTROLLERS -CLASS NOTES
PIC 16F877A by PARTHIBAN. S.

What's hot (20)

PPTX
Embedded system
PPTX
TMS320C6X Architecture
PDF
ARM CORTEX M3 PPT
PPTX
PIC-18 Microcontroller
PPTX
ARM Processors
PPT
Master synchronous serial port (mssp)
PPT
Memory & I/O interfacing
PDF
Introduction to Microcontroller
PPTX
Ec8791 arm 9 processor
PPTX
8257 DMA Controller
PPTX
Arm programmer's model
PPTX
Xilinx 4000 series
PPT
Semiconductor memory
PPTX
Introduction to arm processor
PDF
Memory interfacing of microprocessor 8085
PPTX
Arm cortex-m4 programmer model
PPTX
8255 PPI
DOCX
comparison between Microprocessor-Microcontroller
PDF
Unit 2 mpmc
Embedded system
TMS320C6X Architecture
ARM CORTEX M3 PPT
PIC-18 Microcontroller
ARM Processors
Master synchronous serial port (mssp)
Memory & I/O interfacing
Introduction to Microcontroller
Ec8791 arm 9 processor
8257 DMA Controller
Arm programmer's model
Xilinx 4000 series
Semiconductor memory
Introduction to arm processor
Memory interfacing of microprocessor 8085
Arm cortex-m4 programmer model
8255 PPI
comparison between Microprocessor-Microcontroller
Unit 2 mpmc
Ad

Similar to Pic microcontroller architecture (20)

PPTX
Class 5 an 8 bit embedded platform
PDF
UNIT-V (PIC16F877-Microcontrollers).pdf
PPTX
chapter2-part1-140329134839-phpapp02.pptx
PPTX
Seminar topic.on embeded system
PPT
Microprocessor and Microcontroller Based Systems.ppt
PDF
PIC1jjkkkkkkkjhgfvjitr c its GJ tagging hugg
PPTX
LECT 2.pptx
PPTX
Micro Controllers engineering - computer engineering
PPTX
PIC introduction + mapping
PDF
Embedded system (Chapter 2) part A
PPTX
Microcontroller presentation
PDF
introduction to embedded systems part 1
PDF
Microcontroller pic 16 f877 registers memory ports
PPTX
microcontroller-presentation-1-638 (30 files merged).pptx
PDF
Programming pic microcontrollers
PDF
Lecture 5-Embedde.pdf
PPTX
Chapter 1 Introductuon to Microcontrollers_2023.pptx
PPT
PIC Introduction and explained in detailed
PPTX
DSP Processor.pptx
Class 5 an 8 bit embedded platform
UNIT-V (PIC16F877-Microcontrollers).pdf
chapter2-part1-140329134839-phpapp02.pptx
Seminar topic.on embeded system
Microprocessor and Microcontroller Based Systems.ppt
PIC1jjkkkkkkkjhgfvjitr c its GJ tagging hugg
LECT 2.pptx
Micro Controllers engineering - computer engineering
PIC introduction + mapping
Embedded system (Chapter 2) part A
Microcontroller presentation
introduction to embedded systems part 1
Microcontroller pic 16 f877 registers memory ports
microcontroller-presentation-1-638 (30 files merged).pptx
Programming pic microcontrollers
Lecture 5-Embedde.pdf
Chapter 1 Introductuon to Microcontrollers_2023.pptx
PIC Introduction and explained in detailed
DSP Processor.pptx
Ad

More from DominicHendry (18)

PPTX
Venturi meter
PPTX
Rotameter
PPTX
PPTX
Part family
PPTX
Key board interfacing with 8051
PPTX
PPT
8051 timer and counter 1
PPTX
Rotameter
PPTX
2 d dimensioning
PPTX
Pmmc instruments
PPTX
Pic microcontroller architecture
PPTX
Optical torsion meter
PPTX
op amp
PPTX
Ic 555 timer as astable
PPTX
Hydraulics circuits
PPTX
Friction
PPTX
Basic principles of pneumatics
Venturi meter
Rotameter
Part family
Key board interfacing with 8051
8051 timer and counter 1
Rotameter
2 d dimensioning
Pmmc instruments
Pic microcontroller architecture
Optical torsion meter
op amp
Ic 555 timer as astable
Hydraulics circuits
Friction
Basic principles of pneumatics

Recently uploaded (20)

PPTX
Classification Systems_TAXONOMY_SCIENCE8.pptx
PDF
AlphaEarth Foundations and the Satellite Embedding dataset
PPTX
Derivatives of integument scales, beaks, horns,.pptx
PPTX
Vitamins & Minerals: Complete Guide to Functions, Food Sources, Deficiency Si...
PDF
The scientific heritage No 166 (166) (2025)
PPTX
2. Earth - The Living Planet Module 2ELS
PDF
CAPERS-LRD-z9:AGas-enshroudedLittleRedDotHostingaBroad-lineActive GalacticNuc...
PPTX
Introduction to Fisheries Biotechnology_Lesson 1.pptx
PDF
Sciences of Europe No 170 (2025)
PPTX
famous lake in india and its disturibution and importance
PPTX
7. General Toxicologyfor clinical phrmacy.pptx
PDF
. Radiology Case Scenariosssssssssssssss
PPTX
Cell Membrane: Structure, Composition & Functions
DOCX
Q1_LE_Mathematics 8_Lesson 5_Week 5.docx
PDF
Unveiling a 36 billion solar mass black hole at the centre of the Cosmic Hors...
PPT
Chemical bonding and molecular structure
PPTX
Comparative Structure of Integument in Vertebrates.pptx
PDF
HPLC-PPT.docx high performance liquid chromatography
PDF
ELS_Q1_Module-11_Formation-of-Rock-Layers_v2.pdf
PPTX
DRUG THERAPY FOR SHOCK gjjjgfhhhhh.pptx.
Classification Systems_TAXONOMY_SCIENCE8.pptx
AlphaEarth Foundations and the Satellite Embedding dataset
Derivatives of integument scales, beaks, horns,.pptx
Vitamins & Minerals: Complete Guide to Functions, Food Sources, Deficiency Si...
The scientific heritage No 166 (166) (2025)
2. Earth - The Living Planet Module 2ELS
CAPERS-LRD-z9:AGas-enshroudedLittleRedDotHostingaBroad-lineActive GalacticNuc...
Introduction to Fisheries Biotechnology_Lesson 1.pptx
Sciences of Europe No 170 (2025)
famous lake in india and its disturibution and importance
7. General Toxicologyfor clinical phrmacy.pptx
. Radiology Case Scenariosssssssssssssss
Cell Membrane: Structure, Composition & Functions
Q1_LE_Mathematics 8_Lesson 5_Week 5.docx
Unveiling a 36 billion solar mass black hole at the centre of the Cosmic Hors...
Chemical bonding and molecular structure
Comparative Structure of Integument in Vertebrates.pptx
HPLC-PPT.docx high performance liquid chromatography
ELS_Q1_Module-11_Formation-of-Rock-Layers_v2.pdf
DRUG THERAPY FOR SHOCK gjjjgfhhhhh.pptx.

Pic microcontroller architecture

  • 1. PIC MICROCONTROLLER ARCHITECTURE PIC microcontroller architecture Bock diagram Advantages
  • 2. ARCHITECTURE:  IC Microcontroller architecture is based on Harvard architecture and supports RISC architecture (Reduced Instruction Set Computer).  PIC microcontroller architecture consists of memory organization (RAM, ROM, STACK), CPU, timers, counter, ADC, DAC, serial communication, CCP module and I/O ports.  PIC microcontroller also supports the protocols like CAN, SPI, UART for interfacing with other peripherals.
  • 4. CPU (Central Processing Unit): PIC microcontroller’s CPU consists of 1. Arithmetic logic unit (ALU) 2. Memory unit (MU) 3. Control unit (CU) 4. Accumulator  ALU is used for arithmetic operations and for logical decisions.  Memory is used for storing the instructions after processing.  Control unit is used to control the internal and external peripherals which are connected to the CPU and accumulator is used for storing the results. MEMORY ORGANIZATION:  PIC microcontroller memory module consists of mainly 3 types of memories: 1. Program memory 2. Data memory
  • 5. PROGRAM MEMORY:  It contains the written program after we burned it in microcontroller.  Program Counter executes commands stored in the program memory, one after the other.  PIC microcontroller can have 8K words x 14 bits of Flash program memory that can be electrically erased and reprogrammed.  Whenever we burn program into the micro, we erase an old program and write a new one.
  • 6. DATA MEMORY:  It is a RAM type which is used to store the data temporarily in its registers.  The RAM memory is classified into banks. Each bank extends up to 7Fh (128 bytes).  Number of banks may vary depending on the microcontroller.  PIC16F84 has only two banks. Banks contain Special Function Registers (SFR) and General Purpose Registers (GPR).  The lower locations of each bank are reserved for the Special Function Registers and upper locations are for General Purpose Registers.
  • 7. General Purpose Registers (GPR): oThese registers don’t have any special function. o These are used for general purpose for multiplying, addition or subtraction and then storing the results in other registers. o CPU can easily access the data in these registers. Special Function Registers (SFR): oThese registers are used for special purposes and they cannot be used as normal registers. oTheir function is set at the time of manufacturing. o They perform the function assigned to them and user cannot change the function of SFR. o Three important SFRs for programming are: 1. STATUS register : It changes the bank 2. PORT registers : It assigns logic values 0 or 1 to the ports 3. TRIS registers : It is a data direction register for input and output
  • 8. DATA EEPROM:  This memory allows storing the variables as a result of burning the written program.  It is readable and writable during normal operation (over the full VDD range).  This memory is not directly mapped in the register file.  It is indirectly addressed through the SFRs.  There are six SFRs which are used to read and write to this memory (EECON1, EECON2, EEDATA, EEDATH, EEADR, EEADRH).
  • 9. ADVANTAGES  Small instruction set to learn.  RISC architecture.  Built-in oscillator with selectable speeds.  Easy entry level, in-circuit programming plus in- circuit debugging PIC kit units available for less than $50.  Inexpensive microcontrollers.  Wide range of interfaces including I²C, SPI, USB, USART, A/D, programmable comparators, PWM, LIN, CAN, PSP, and Ethernet.  Availability of processors in DIL package make them easy to handle for hobby use.