SlideShare a Scribd company logo
1 of 25
SEMINARTOPIC
ON
MICROCONTROLLER PIC16F877A,
CPUARCHITECTURE ,REGISTER FILE STRUCTURE
Present To: Present By:
Dr. Kanika Sharma Sachin Maithani
ME(Regular) ECE
202604
TABLE OF CONETENT
â—¦ 1.INTRODUCTION
â—¦ 2. VON-NEUMAN ARCHITECTURE
â—¦ 3. HARVARD ARCHITECTURE
â—¦ 4. CISC,RISC
â—¦ 5.PIN DIAGRAM
â—¦ 6. FEATURES
â—¦ 7. I/O PORTS
â—¦ 8. CPU ARCHITECTURE
â—¦ 9.REGISTER FILE STRUCTURE
â—¦ 10.APPLICATION
â—¦ 11.REFRENCES
INTRODUCTION:
â—¦ The term PIC or Peripheral Interface Controller, has been coined by Microchip
Technology Inc.
â—¦ Low-end range, mid-range and high end range of controllers.
â—¦ Its operational flexibility, availability and cheapness.
â—¦ PIC16F877A is a 40-pin PIC Microcontroller
Von-Neuman Architecture
MEMORY &
DATA
CPU
â—¦ Used in: 80X86 (PCs), 8051, 68HC11, etc.)
â—¦ Only one bus between CPU and memory
â—¦ RAM and program memory share the same bus and the same memory, and so
must have the same bit width
â—¦
Harvard Architecture
â—¦ PICs use the Harvard Architecture Used mostly in RISC
â—¦ Separate program bus and data bus: can be different widths!
For example, PICs use:
â—¦ Data memory (RAM): a small number of 8bit registers
â—¦ Program memory (ROM): 12bit, 14bit or 16bit wide (in EPROM, FLASH, or
ROM)
â—¦ 8 12 ,14 ,16
MEMORY
(DATA)
CPU
MEMORY
(PROGRAM)
CISC:
◦ Traditionally, CPUs are “CISC”
â—¦ Complex Instruction Set Computer (CISC)
â—¦ Used in: 80X86, 8051, 68HC11, etc.
â—¦ Many instructions (usually > 100)
â—¦ Many, many addressing modes
â—¦ Usually takes more than 1 internal clock cycle (T cycle) to execute
â—¦ Example: MC68HC05
RICS
◦ PICs and most Harvard chips are “RISC”
â—¦ Reduced Instruction Set Computer (RISC)
â—¦ Used in: SPARC, ALPHA, Atmel AVR, etc.
â—¦ Few instructions (usually < 50)
â—¦ Only a few addressing modes
â—¦ Executes 1 instruction in 1 internal clock cycle (Tcyc)
â—¦ Example: PIC16CXXX
WHAT IS NEW IN PIC?
â—¦ High performance RISC CPU with 30 no. of instruction set only
â—¦ Harvard Architecture Pipelined Instructions
â—¦ And a large number of Peripherals In-built
PIN DIAGRAM
FEATURES
â—¦ 8kB of flash program memory
â—¦ 368bytes of Data memory
â—¦ 256-EEPROM data memory
â—¦ 15 Interrupts
â—¦ In-circuit programming 3 internal hardware timers
â—¦ Capture/Compare/PW M modules
â—¦ Up to 8 channels of 10- Bit A/D
â—¦ Built-in USART for serial communication 5 digital I/O ports (Up to 22 lines)
I/O Ports
â—¦ PIC 16F877A has FIVE I/O Ports
â—¦ A total of 33 pins are used for I/O operations.
PORT A
â—¦ Port A is 6 bit wide and bi-directional.
â—¦ Its corresponding data direction register is TRISA.
â—¦ If TRISA port pin is set to 1,corresponding port A pin will act as an input pin
and vice versa.
â—¦ Port A is used for analog inputs.
PORT B
â—¦ Port B is 8 bit wide and bi-directional.
â—¦ Its corresponding data direction register is TRISB. If TRISB port pin is set to
1,corresponding port B pin will act as an input pin and vice versa.
â—¦ Port B is used for Data Transmission.
PORT C
â—¦ Port C is 8 bit wide and bi-directional.
â—¦ Its corresponding data direction register is TRISC. If TRISC port pin is set to
1,corresponding port C pin will act as an input pin and vice versa.
â—¦ Port C is used for control registers(serial communication, I2C functions , serial
data transfer).
PORT D
â—¦ Port D is 8 bit wide and bi-directional.
â—¦Its corresponding data direction register is TRISD.
â—¦ If TRISD port pin is set to 1,corresponding port D pin will act as an input pin
and vice versa.
â—¦ Port D is used as Data port
PORT E
â—¦ Port E is 3 bit wide . They are for read, write and chip select operation.
â—¦ Each pin is individually configurable as inputs and outputs.
â—¦ Port E is generally used for controlling purposes.
TIMER
â—¦ Timer 0 - 8 bit
◦ can be used as a Timer/counter Timer 1 – 16 bit
◦ can be used as a Timer/counter Timer 2 – 8 bit Timer
â—¦ can be used as the PWM time-base for the PWM mode of the CCP module.
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
The Registers
â—¦ A register is a place inside the PIC that can be written to, read from or both.
â—¦ Think of a register as a piece of paper where you can look at and write
information on.
REGISTERFILESTRUCTURE
• Register file → locations that an instruction can access via an address.
• Register file consists of two component:-
1. General purpose register file (same as RAM)
2. Special purpose register file
RAM
(96 bytes)
Special
purpose
Register
(32 bytes)
Extra 64
bytes of
RAM in
PIC 16 C63
16 C65A
16 C73A
16 C74A
RAM
(32 bytes)
Special purpose
Register
(32
bytes)
Bank 0
128
bytes
Bank 1
128
bytes
7
F
2
0
1
F
0
0
F
F
C
0
B
F
A
0
9
F
8
0
Register File Structure in PIC 16F8xx
Registers in
PIC
16F8XX
W or
working
register (8
bit)
Status
Register
(8 bits)
SFR
(Special
Function
Registers)
GPR
(General
Purpose
Registers)
APPLICATION
â—¦ Street Light that Glows on Detecting Vehicle Movement
â—¦ Temperature sensing and controlling devices
â—¦ Fire detection & safety devices
â—¦ Industrial instrumentation devices
â—¦ Process control devices
REFRENCES
â—¦ 1. https://nptel.ac.in/courses/108/102/108102045/
â—¦ 2. https://components101.com/microcontrollers/pic16f877a-pin-diagram-description-features-datasheet
â—¦ 3. https://ieeexplore.ieee.org/document/7877249
â—¦ 4. https://www.rs-online.com/designspark/basics-of-pic16f877a
PIC16F877A Microcontroller Architecture and Register File Structure

More Related Content

What's hot

Introduction to 8085 Microprocessor
Introduction to 8085 MicroprocessorIntroduction to 8085 Microprocessor
Introduction to 8085 MicroprocessorRavi Anand
 
Architecture of 16C6X
Architecture of 16C6XArchitecture of 16C6X
Architecture of 16C6Xv Kalairajan
 
Lecture 1 - Introduction to embedded system and Robotics
Lecture 1 - Introduction to embedded system and RoboticsLecture 1 - Introduction to embedded system and Robotics
Lecture 1 - Introduction to embedded system and RoboticsVajira Thambawita
 
Introduction to 8085 Microprocessors
Introduction to 8085 MicroprocessorsIntroduction to 8085 Microprocessors
Introduction to 8085 MicroprocessorsVeerakumar S
 
8085 Architecture & Memory Interfacing1
8085 Architecture & Memory Interfacing18085 Architecture & Memory Interfacing1
8085 Architecture & Memory Interfacing1techbed
 
Architecture of 8085
Architecture of 8085Architecture of 8085
Architecture of 8085Sumit Swain
 
T imingdiagram
T imingdiagramT imingdiagram
T imingdiagrampuja00
 
8085 microprocessor(1)
8085 microprocessor(1)8085 microprocessor(1)
8085 microprocessor(1)Reevu Pal
 
Lecture 04 branch call and time delay
Lecture 04  branch call and time delayLecture 04  branch call and time delay
Lecture 04 branch call and time delayVajira Thambawita
 
8051 microcontroller
8051 microcontroller8051 microcontroller
8051 microcontrollersnehapvs
 
EE6008 MCBSD - Introduction to PIC Micro controller
EE6008 MCBSD - Introduction to PIC Micro controller EE6008 MCBSD - Introduction to PIC Micro controller
EE6008 MCBSD - Introduction to PIC Micro controller pavihari
 
Microprocessor 8085 architecture ppt. april 2013
Microprocessor 8085 architecture ppt. april 2013Microprocessor 8085 architecture ppt. april 2013
Microprocessor 8085 architecture ppt. april 2013harshalata
 
8085 Microprocessor
8085 Microprocessor8085 Microprocessor
8085 MicroprocessorManish TaYlor
 
Architecture of 8085 microprocessor
Architecture of 8085 microprocessorArchitecture of 8085 microprocessor
Architecture of 8085 microprocessorAMAN SRIVASTAVA
 
8051 memory
8051 memory8051 memory
8051 memoryMayank Garg
 
8085 microprocessor ramesh gaonkar
8085 microprocessor   ramesh gaonkar8085 microprocessor   ramesh gaonkar
8085 microprocessor ramesh gaonkarSAQUIB AHMAD
 
Memory & I/O interfacing
Memory & I/O  interfacingMemory & I/O  interfacing
Memory & I/O interfacingdeval patel
 

What's hot (20)

Introduction to 8085 Microprocessor
Introduction to 8085 MicroprocessorIntroduction to 8085 Microprocessor
Introduction to 8085 Microprocessor
 
Architecture of 16C6X
Architecture of 16C6XArchitecture of 16C6X
Architecture of 16C6X
 
Lecture 1 - Introduction to embedded system and Robotics
Lecture 1 - Introduction to embedded system and RoboticsLecture 1 - Introduction to embedded system and Robotics
Lecture 1 - Introduction to embedded system and Robotics
 
Introduction to 8085 Microprocessors
Introduction to 8085 MicroprocessorsIntroduction to 8085 Microprocessors
Introduction to 8085 Microprocessors
 
8085 Architecture & Memory Interfacing1
8085 Architecture & Memory Interfacing18085 Architecture & Memory Interfacing1
8085 Architecture & Memory Interfacing1
 
Architecture of 8085
Architecture of 8085Architecture of 8085
Architecture of 8085
 
T imingdiagram
T imingdiagramT imingdiagram
T imingdiagram
 
8085 microprocessor(1)
8085 microprocessor(1)8085 microprocessor(1)
8085 microprocessor(1)
 
Lecture 04 branch call and time delay
Lecture 04  branch call and time delayLecture 04  branch call and time delay
Lecture 04 branch call and time delay
 
8051 microcontroller
8051 microcontroller8051 microcontroller
8051 microcontroller
 
EE6008 MCBSD - Introduction to PIC Micro controller
EE6008 MCBSD - Introduction to PIC Micro controller EE6008 MCBSD - Introduction to PIC Micro controller
EE6008 MCBSD - Introduction to PIC Micro controller
 
Microprocessor 8085 architecture ppt. april 2013
Microprocessor 8085 architecture ppt. april 2013Microprocessor 8085 architecture ppt. april 2013
Microprocessor 8085 architecture ppt. april 2013
 
Mp 8085
Mp 8085Mp 8085
Mp 8085
 
8085 Microprocessor
8085 Microprocessor8085 Microprocessor
8085 Microprocessor
 
Introduction
Introduction Introduction
Introduction
 
Architecture of 8085 microprocessor
Architecture of 8085 microprocessorArchitecture of 8085 microprocessor
Architecture of 8085 microprocessor
 
8051 memory
8051 memory8051 memory
8051 memory
 
8085 microprocessor ramesh gaonkar
8085 microprocessor   ramesh gaonkar8085 microprocessor   ramesh gaonkar
8085 microprocessor ramesh gaonkar
 
Memory & I/O interfacing
Memory & I/O  interfacingMemory & I/O  interfacing
Memory & I/O interfacing
 
8085
80858085
8085
 

Similar to PIC16F877A Microcontroller Architecture and Register File Structure

AN INTEGRATED FOUR-PORT DC-DC CONVERTER-CEI0080
AN INTEGRATED FOUR-PORT DC-DC CONVERTER-CEI0080AN INTEGRATED FOUR-PORT DC-DC CONVERTER-CEI0080
AN INTEGRATED FOUR-PORT DC-DC CONVERTER-CEI0080Vivek Venugopal
 
PIC MICROCONTROLLERS -CLASS NOTES
PIC MICROCONTROLLERS -CLASS NOTESPIC MICROCONTROLLERS -CLASS NOTES
PIC MICROCONTROLLERS -CLASS NOTESDr.YNM
 
MICROPROCESSORS & MICROCONTROLLERS
MICROPROCESSORS & MICROCONTROLLERSMICROPROCESSORS & MICROCONTROLLERS
MICROPROCESSORS & MICROCONTROLLERSkhalil zeineddine
 
Introduction to pic microcontroller
Introduction to pic microcontrollerIntroduction to pic microcontroller
Introduction to pic microcontrollerSiva Kumar
 
Pic microcontroller [autosaved] [autosaved]
Pic microcontroller [autosaved] [autosaved]Pic microcontroller [autosaved] [autosaved]
Pic microcontroller [autosaved] [autosaved]gauravholani
 
PIC18F458_Ritula Thakur.pptx.pdf
PIC18F458_Ritula Thakur.pptx.pdfPIC18F458_Ritula Thakur.pptx.pdf
PIC18F458_Ritula Thakur.pptx.pdfAvinashJain66
 
A tmega8 basics
A tmega8 basicsA tmega8 basics
A tmega8 basicsNitesh Singh
 
Overview of Microcontroller and ATMega32 microcontroller
Overview of Microcontroller and ATMega32 microcontrollerOverview of Microcontroller and ATMega32 microcontroller
Overview of Microcontroller and ATMega32 microcontrollerRup Chowdhury
 
chapter2-part1-140329134839-phpapp02.pptx
chapter2-part1-140329134839-phpapp02.pptxchapter2-part1-140329134839-phpapp02.pptx
chapter2-part1-140329134839-phpapp02.pptxSangeetaTripathi8
 
Chp4 introduction to the pic microcontroller copy
Chp4 introduction to the pic microcontroller   copyChp4 introduction to the pic microcontroller   copy
Chp4 introduction to the pic microcontroller copymkazree
 
Introduction_PIC18F458_Ritula Thakur.pptx
Introduction_PIC18F458_Ritula Thakur.pptxIntroduction_PIC18F458_Ritula Thakur.pptx
Introduction_PIC18F458_Ritula Thakur.pptxAvinashJain66
 
Introduction to 8085 by Adi PPT.pdf
Introduction to 8085 by Adi PPT.pdfIntroduction to 8085 by Adi PPT.pdf
Introduction to 8085 by Adi PPT.pdfProf. Dr. K. Adisesha
 
DESIGN OF A 16-BIT HARVARD STRUCTURED RISC PROCESSOR IN CADENCE 45nmTECHNOLOGY
DESIGN OF A 16-BIT HARVARD STRUCTURED RISC PROCESSOR  IN CADENCE 45nmTECHNOLOGYDESIGN OF A 16-BIT HARVARD STRUCTURED RISC PROCESSOR  IN CADENCE 45nmTECHNOLOGY
DESIGN OF A 16-BIT HARVARD STRUCTURED RISC PROCESSOR IN CADENCE 45nmTECHNOLOGYshaikalthaf40
 
Embedded system (Chapter 2) part A
Embedded system (Chapter 2) part AEmbedded system (Chapter 2) part A
Embedded system (Chapter 2) part AIkhwan_Fakrudin
 
Introduction2_PIC.ppt
Introduction2_PIC.pptIntroduction2_PIC.ppt
Introduction2_PIC.pptAakashRawat35
 
8051 architecture and pin configuration
8051 architecture and pin configuration8051 architecture and pin configuration
8051 architecture and pin configurationNITHIN KALLE PALLY
 
PIC1jjkkkkkkkjhgfvjitr c its GJ tagging hugg
PIC1jjkkkkkkkjhgfvjitr c its GJ tagging huggPIC1jjkkkkkkkjhgfvjitr c its GJ tagging hugg
PIC1jjkkkkkkkjhgfvjitr c its GJ tagging huggHebaEng
 

Similar to PIC16F877A Microcontroller Architecture and Register File Structure (20)

AN INTEGRATED FOUR-PORT DC-DC CONVERTER-CEI0080
AN INTEGRATED FOUR-PORT DC-DC CONVERTER-CEI0080AN INTEGRATED FOUR-PORT DC-DC CONVERTER-CEI0080
AN INTEGRATED FOUR-PORT DC-DC CONVERTER-CEI0080
 
PIC MICROCONTROLLERS -CLASS NOTES
PIC MICROCONTROLLERS -CLASS NOTESPIC MICROCONTROLLERS -CLASS NOTES
PIC MICROCONTROLLERS -CLASS NOTES
 
MICROPROCESSORS & MICROCONTROLLERS
MICROPROCESSORS & MICROCONTROLLERSMICROPROCESSORS & MICROCONTROLLERS
MICROPROCESSORS & MICROCONTROLLERS
 
Introduction to pic microcontroller
Introduction to pic microcontrollerIntroduction to pic microcontroller
Introduction to pic microcontroller
 
Pic microcontroller [autosaved] [autosaved]
Pic microcontroller [autosaved] [autosaved]Pic microcontroller [autosaved] [autosaved]
Pic microcontroller [autosaved] [autosaved]
 
PIC18F458_Ritula Thakur.pptx.pdf
PIC18F458_Ritula Thakur.pptx.pdfPIC18F458_Ritula Thakur.pptx.pdf
PIC18F458_Ritula Thakur.pptx.pdf
 
A tmega8 basics
A tmega8 basicsA tmega8 basics
A tmega8 basics
 
Overview of Microcontroller and ATMega32 microcontroller
Overview of Microcontroller and ATMega32 microcontrollerOverview of Microcontroller and ATMega32 microcontroller
Overview of Microcontroller and ATMega32 microcontroller
 
chapter2-part1-140329134839-phpapp02.pptx
chapter2-part1-140329134839-phpapp02.pptxchapter2-part1-140329134839-phpapp02.pptx
chapter2-part1-140329134839-phpapp02.pptx
 
Chp4 introduction to the pic microcontroller copy
Chp4 introduction to the pic microcontroller   copyChp4 introduction to the pic microcontroller   copy
Chp4 introduction to the pic microcontroller copy
 
Atmega16
Atmega16Atmega16
Atmega16
 
Introduction_PIC18F458_Ritula Thakur.pptx
Introduction_PIC18F458_Ritula Thakur.pptxIntroduction_PIC18F458_Ritula Thakur.pptx
Introduction_PIC18F458_Ritula Thakur.pptx
 
Introduction to 8085 by Adi PPT.pdf
Introduction to 8085 by Adi PPT.pdfIntroduction to 8085 by Adi PPT.pdf
Introduction to 8085 by Adi PPT.pdf
 
3.TechieNest microcontrollers
3.TechieNest  microcontrollers3.TechieNest  microcontrollers
3.TechieNest microcontrollers
 
DESIGN OF A 16-BIT HARVARD STRUCTURED RISC PROCESSOR IN CADENCE 45nmTECHNOLOGY
DESIGN OF A 16-BIT HARVARD STRUCTURED RISC PROCESSOR  IN CADENCE 45nmTECHNOLOGYDESIGN OF A 16-BIT HARVARD STRUCTURED RISC PROCESSOR  IN CADENCE 45nmTECHNOLOGY
DESIGN OF A 16-BIT HARVARD STRUCTURED RISC PROCESSOR IN CADENCE 45nmTECHNOLOGY
 
Embedded system (Chapter 2) part A
Embedded system (Chapter 2) part AEmbedded system (Chapter 2) part A
Embedded system (Chapter 2) part A
 
Introduction2_PIC.ppt
Introduction2_PIC.pptIntroduction2_PIC.ppt
Introduction2_PIC.ppt
 
Avr report
Avr reportAvr report
Avr report
 
8051 architecture and pin configuration
8051 architecture and pin configuration8051 architecture and pin configuration
8051 architecture and pin configuration
 
PIC1jjkkkkkkkjhgfvjitr c its GJ tagging hugg
PIC1jjkkkkkkkjhgfvjitr c its GJ tagging huggPIC1jjkkkkkkkjhgfvjitr c its GJ tagging hugg
PIC1jjkkkkkkkjhgfvjitr c its GJ tagging hugg
 

More from SachinMaithani1

Industrial seminnar
Industrial seminnarIndustrial seminnar
Industrial seminnarSachinMaithani1
 
Indoorpropagation
Indoorpropagation Indoorpropagation
Indoorpropagation SachinMaithani1
 
EDFA amplifier ppt
EDFA amplifier pptEDFA amplifier ppt
EDFA amplifier pptSachinMaithani1
 
Symbol timing estimation by sachin maithani
Symbol timing estimation by sachin maithaniSymbol timing estimation by sachin maithani
Symbol timing estimation by sachin maithaniSachinMaithani1
 

More from SachinMaithani1 (7)

Industrial seminnar
Industrial seminnarIndustrial seminnar
Industrial seminnar
 
Indoorpropagation
Indoorpropagation Indoorpropagation
Indoorpropagation
 
Presentation
PresentationPresentation
Presentation
 
EDFA amplifier ppt
EDFA amplifier pptEDFA amplifier ppt
EDFA amplifier ppt
 
Walsh transform
Walsh transformWalsh transform
Walsh transform
 
Idea alogorithim
Idea alogorithimIdea alogorithim
Idea alogorithim
 
Symbol timing estimation by sachin maithani
Symbol timing estimation by sachin maithaniSymbol timing estimation by sachin maithani
Symbol timing estimation by sachin maithani
 

Recently uploaded

Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEslot gacor bisa pakai pulsa
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidNikhilNagaraju
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝soniya singh
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...srsj9000
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)Suman Mia
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 

Recently uploaded (20)

Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 

PIC16F877A Microcontroller Architecture and Register File Structure

  • 1. SEMINARTOPIC ON MICROCONTROLLER PIC16F877A, CPUARCHITECTURE ,REGISTER FILE STRUCTURE Present To: Present By: Dr. Kanika Sharma Sachin Maithani ME(Regular) ECE 202604
  • 2. TABLE OF CONETENT â—¦ 1.INTRODUCTION â—¦ 2. VON-NEUMAN ARCHITECTURE â—¦ 3. HARVARD ARCHITECTURE â—¦ 4. CISC,RISC â—¦ 5.PIN DIAGRAM â—¦ 6. FEATURES â—¦ 7. I/O PORTS â—¦ 8. CPU ARCHITECTURE â—¦ 9.REGISTER FILE STRUCTURE â—¦ 10.APPLICATION â—¦ 11.REFRENCES
  • 3. INTRODUCTION: â—¦ The term PIC or Peripheral Interface Controller, has been coined by Microchip Technology Inc. â—¦ Low-end range, mid-range and high end range of controllers. â—¦ Its operational flexibility, availability and cheapness. â—¦ PIC16F877A is a 40-pin PIC Microcontroller
  • 4. Von-Neuman Architecture MEMORY & DATA CPU â—¦ Used in: 80X86 (PCs), 8051, 68HC11, etc.) â—¦ Only one bus between CPU and memory â—¦ RAM and program memory share the same bus and the same memory, and so must have the same bit width â—¦
  • 5. Harvard Architecture â—¦ PICs use the Harvard Architecture Used mostly in RISC â—¦ Separate program bus and data bus: can be different widths! For example, PICs use: â—¦ Data memory (RAM): a small number of 8bit registers â—¦ Program memory (ROM): 12bit, 14bit or 16bit wide (in EPROM, FLASH, or ROM) â—¦ 8 12 ,14 ,16 MEMORY (DATA) CPU MEMORY (PROGRAM)
  • 6. CISC: â—¦ Traditionally, CPUs are “CISC” â—¦ Complex Instruction Set Computer (CISC) â—¦ Used in: 80X86, 8051, 68HC11, etc. â—¦ Many instructions (usually > 100) â—¦ Many, many addressing modes â—¦ Usually takes more than 1 internal clock cycle (T cycle) to execute â—¦ Example: MC68HC05
  • 7. RICS â—¦ PICs and most Harvard chips are “RISC” â—¦ Reduced Instruction Set Computer (RISC) â—¦ Used in: SPARC, ALPHA, Atmel AVR, etc. â—¦ Few instructions (usually < 50) â—¦ Only a few addressing modes â—¦ Executes 1 instruction in 1 internal clock cycle (Tcyc) â—¦ Example: PIC16CXXX
  • 8. WHAT IS NEW IN PIC? â—¦ High performance RISC CPU with 30 no. of instruction set only â—¦ Harvard Architecture Pipelined Instructions â—¦ And a large number of Peripherals In-built
  • 10. FEATURES â—¦ 8kB of flash program memory â—¦ 368bytes of Data memory â—¦ 256-EEPROM data memory â—¦ 15 Interrupts â—¦ In-circuit programming 3 internal hardware timers â—¦ Capture/Compare/PW M modules â—¦ Up to 8 channels of 10- Bit A/D â—¦ Built-in USART for serial communication 5 digital I/O ports (Up to 22 lines)
  • 11. I/O Ports â—¦ PIC 16F877A has FIVE I/O Ports â—¦ A total of 33 pins are used for I/O operations. PORT A â—¦ Port A is 6 bit wide and bi-directional. â—¦ Its corresponding data direction register is TRISA. â—¦ If TRISA port pin is set to 1,corresponding port A pin will act as an input pin and vice versa. â—¦ Port A is used for analog inputs.
  • 12. PORT B â—¦ Port B is 8 bit wide and bi-directional. â—¦ Its corresponding data direction register is TRISB. If TRISB port pin is set to 1,corresponding port B pin will act as an input pin and vice versa. â—¦ Port B is used for Data Transmission.
  • 13. PORT C â—¦ Port C is 8 bit wide and bi-directional. â—¦ Its corresponding data direction register is TRISC. If TRISC port pin is set to 1,corresponding port C pin will act as an input pin and vice versa. â—¦ Port C is used for control registers(serial communication, I2C functions , serial data transfer).
  • 14. PORT D â—¦ Port D is 8 bit wide and bi-directional. â—¦Its corresponding data direction register is TRISD. â—¦ If TRISD port pin is set to 1,corresponding port D pin will act as an input pin and vice versa. â—¦ Port D is used as Data port
  • 15. PORT E â—¦ Port E is 3 bit wide . They are for read, write and chip select operation. â—¦ Each pin is individually configurable as inputs and outputs. â—¦ Port E is generally used for controlling purposes.
  • 16. TIMER â—¦ Timer 0 - 8 bit â—¦ can be used as a Timer/counter Timer 1 – 16 bit â—¦ can be used as a Timer/counter Timer 2 – 8 bit Timer â—¦ can be used as the PWM time-base for the PWM mode of the CCP module.
  • 17. 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.
  • 19. The Registers â—¦ A register is a place inside the PIC that can be written to, read from or both. â—¦ Think of a register as a piece of paper where you can look at and write information on.
  • 20. REGISTERFILESTRUCTURE • Register file → locations that an instruction can access via an address. • Register file consists of two component:- 1. General purpose register file (same as RAM) 2. Special purpose register file
  • 21. RAM (96 bytes) Special purpose Register (32 bytes) Extra 64 bytes of RAM in PIC 16 C63 16 C65A 16 C73A 16 C74A RAM (32 bytes) Special purpose Register (32 bytes) Bank 0 128 bytes Bank 1 128 bytes 7 F 2 0 1 F 0 0 F F C 0 B F A 0 9 F 8 0
  • 22. Register File Structure in PIC 16F8xx Registers in PIC 16F8XX W or working register (8 bit) Status Register (8 bits) SFR (Special Function Registers) GPR (General Purpose Registers)
  • 23. APPLICATION â—¦ Street Light that Glows on Detecting Vehicle Movement â—¦ Temperature sensing and controlling devices â—¦ Fire detection & safety devices â—¦ Industrial instrumentation devices â—¦ Process control devices
  • 24. REFRENCES â—¦ 1. https://nptel.ac.in/courses/108/102/108102045/ â—¦ 2. https://components101.com/microcontrollers/pic16f877a-pin-diagram-description-features-datasheet â—¦ 3. https://ieeexplore.ieee.org/document/7877249 â—¦ 4. https://www.rs-online.com/designspark/basics-of-pic16f877a