SlideShare a Scribd company logo
2
Most read
3
Most read
5
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
Unit II Arm 7 Introduction
PPTX
Pic microcontroller architecture
PPTX
Introduction to arm processor
PDF
Introduction to arm architecture
PPT
Purpose of Embedded Systems
PPT
8051 instruction set
PDF
Introduction to pic microcontroller
PDF
Pic microcontroller architecture
Unit II Arm 7 Introduction
Pic microcontroller architecture
Introduction to arm processor
Introduction to arm architecture
Purpose of Embedded Systems
8051 instruction set
Introduction to pic microcontroller
Pic microcontroller architecture

What's hot (20)

PPTX
8051 Microcontroller PPT's By Er. Swapnil Kaware
PPTX
8051 microcontroller features
PPT
Interfacing stepper motor
PPTX
Electronics Microcontrollers for IoT applications
PPTX
ARM Processor
PPTX
Classification of embedded systems
PPT
8051 Microcontroller
PPT
Memory organization of 8051
PPTX
8085 microprocessor
PPSX
Lect 2 ARM processor architecture
PDF
AVR Microcontroller
PDF
Keypad Interfacing with 8051 Microcontroller
PPS
Arduino Uno Pin Description
PDF
Microcontroller pic 16 f877 registers memory ports
PPTX
I2C Protocol
PDF
Communication protocols - Embedded Systems
PPTX
Pic16cxx instruction set
PDF
Communication Protocols (UART, SPI,I2C)
PPT
8051 block diagram
PPTX
Data transfer techniques 8085
8051 Microcontroller PPT's By Er. Swapnil Kaware
8051 microcontroller features
Interfacing stepper motor
Electronics Microcontrollers for IoT applications
ARM Processor
Classification of embedded systems
8051 Microcontroller
Memory organization of 8051
8085 microprocessor
Lect 2 ARM processor architecture
AVR Microcontroller
Keypad Interfacing with 8051 Microcontroller
Arduino Uno Pin Description
Microcontroller pic 16 f877 registers memory ports
I2C Protocol
Communication protocols - Embedded Systems
Pic16cxx instruction set
Communication Protocols (UART, SPI,I2C)
8051 block diagram
Data transfer techniques 8085
Ad

Similar to Pic microcontroller architecture (20)

PDF
Overview of microcontroller and microprocessor
PPTX
LECT 2.pptx
PPTX
Microcontroller presentation
PDF
20838382 microprocessor-8085-notes
PPTX
microprocessor8085 power point presentation
PPTX
Microcontrollers and its applications unit 1
PPTX
Embedded systems 101 final
PPT
PIC Introduction and explained in detailed
PDF
1-AVR Introduction to Atmega32 good .pdf
PPTX
Microcontroller
PPTX
PDF
UNIT-V (PIC16F877-Microcontrollers).pdf
PDF
Microcontroller part 1
PDF
MI Unit-1.pdf a detailed presentation on microprocessors
PDF
MPMC PPT_MODULE 1&2 Jan202mmmmmmmmmmm4.pdf
PPTX
Microprocessors & Microcontrollers Architecture and Description
PPTX
8085microprocessor-functional block diagram, Arithmetic Logic Unit (ALU), Tim...
PDF
Introduction to arduino
PDF
Architecture Of TMS320C50 DSP Processor
Overview of microcontroller and microprocessor
LECT 2.pptx
Microcontroller presentation
20838382 microprocessor-8085-notes
microprocessor8085 power point presentation
Microcontrollers and its applications unit 1
Embedded systems 101 final
PIC Introduction and explained in detailed
1-AVR Introduction to Atmega32 good .pdf
Microcontroller
UNIT-V (PIC16F877-Microcontrollers).pdf
Microcontroller part 1
MI Unit-1.pdf a detailed presentation on microprocessors
MPMC PPT_MODULE 1&2 Jan202mmmmmmmmmmm4.pdf
Microprocessors & Microcontrollers Architecture and Description
8085microprocessor-functional block diagram, Arithmetic Logic Unit (ALU), Tim...
Introduction to arduino
Architecture Of TMS320C50 DSP Processor
Ad

More from DominicHendry (17)

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
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
Optical torsion meter
op amp
Ic 555 timer as astable
Hydraulics circuits
Friction
Basic principles of pneumatics

Recently uploaded (20)

PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
KodekX | Application Modernization Development
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Review of recent advances in non-invasive hemoglobin estimation
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Machine learning based COVID-19 study performance prediction
PPTX
Spectroscopy.pptx food analysis technology
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PPT
Teaching material agriculture food technology
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Electronic commerce courselecture one. Pdf
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
KodekX | Application Modernization Development
NewMind AI Weekly Chronicles - August'25 Week I
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Review of recent advances in non-invasive hemoglobin estimation
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Reach Out and Touch Someone: Haptics and Empathic Computing
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Machine learning based COVID-19 study performance prediction
Spectroscopy.pptx food analysis technology
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Teaching material agriculture food technology
Digital-Transformation-Roadmap-for-Companies.pptx
Unlocking AI with Model Context Protocol (MCP)
Per capita expenditure prediction using model stacking based on satellite ima...
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Electronic commerce courselecture one. Pdf
“AI and Expert System Decision Support & Business Intelligence Systems”
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Dropbox Q2 2025 Financial Results & Investor Presentation

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.