SlideShare a Scribd company logo
8051
ARCHITECTURE
AND
PIN
CONFIGURATION
NAME – NITHIN KALLEPALLY
MICRO PROCESSORS
AND
MICRO CONTROLLERS
General-purpose Microprocessors
◦ CPU
◦ NO RAM
◦ NO ROM
◦ NO I/O PORTS
General-purpose Microcontroller
◦ CPU (microprocessor)
◦ RAM
◦ ROM
◦ I/O ports
◦ Timer
◦ ADC and other peripherals CPU RAM ROM
I/O Timer
Serial
COM
Port
MICRO
CONTROLL
ER
Features Of 8051
◦ 128 bytes of RAM
◦ 4 K bytes of on-chip ROM
◦ Two timers
◦ One serial port
◦ Four I/O ports, each 8 bits wide(i.e. 32 I/O pins.)
◦ 6 interrupt sources
◦ Commercially available version of 8051 run on 12 MHz to 18 MHz
Architecture Of 8051
The block diagram of 8051
micro controller architecture
shows that 8051 micro
controller consists of a CPU,
RAM, (SFRs and Data
Memory),
Flash (EEPROM), I/O ports
and control logic for
communication between the
peripherals
8051 architecture and pin configuration
Functional Description Block
◦ Accumulator
◦ SFR –special function registers
◦ It can be accessed through its SFR adder 0E0H.
◦ B Register
◦ Use as temporary register .
◦ store upper bit Result of MUL & DIV.
◦ access through SFR adder 0F0H.
◦ Stack Pointer
◦ Define anywhere on chip 128 byte RAM.
◦ It is Initialized to 07H address (after rest) .
◦ Data Pointer
◦ 16 bit register
◦ Access external memory up to 64KB.
◦ Program Status Word
◦ Reflect status ALU performing operation.
◦ Port 0 to 3
◦ Each latch and corresponding drivers of port 0 to 3 is allotted to the corresponding on chip I/O port.
◦ Serial Data Buffer
◦ Two Independent Register : TX Buffer (8bit) & RX Buffer(8bit).
◦ Program Counter
◦ 16 bit wide
◦ Point to address of next instruction to be executed .
◦ Timing & Control Unit
◦ Deriver signal required for Internal operation of circuit .
◦ Control signal required for controlling External System Bus.
◦ Oscillator
◦ Generate basic timing control signal for operation of circuit using crystal oscillator.
◦ ALU
◦ Perform 8 bit operation.
◦ Through TMP1 and TMP2 (each 8 bit).
◦ Not access by User.
◦ SFR Register Bank
◦ lie in range of 80H to 0FFH .
◦ It can addressed using their respective address .
Pin Configuration OF 8051
• This is a 40 pin micro controller
• VCC & VSS
• RESET
• ALE/PROG
It is used for demultiplexing address and data .
• It is valid only for External memory accesses.
• EA/VPP
• EA/VPP =0 : Execute program on external memory.
• EA/VPP =1 : Execute program on internal memory.
• Receives 21 v for programming of the on chip
EPROM.
• PSEN
• Acts as a strobe to read the external program
memory.
• It is low during external program memory accesses.
◦ Port 0 (P0.0-P0.7)
◦ 8 bit bidirectional bit addressable I/O port.
◦ Allotted an address in SFR
◦ address range.
◦ Act as Multiplexed A/D lines during external
memory access.
◦ Port 1 (P1.0-P1.7)
◦ 8 bit bidirectional bit addressable port.
◦ Allotted an address in SFR address range.
◦ Port 2 (P2.0-P2.7)
◦ During external memory, It emits higher 8 bits
of address when ALE =1 & EA=0 .
◦ Also receives higher order address bit during
programming of on chip EPROM.
◦ Port 3 (P3.0-P3.7)
◦ 8 bit bidirectional bit addressable port.
◦ Allotted an address in SFR address range.
◦ XTAL1 & XTAL2
◦ A Crystal is to be connected externally
between these two pins to complete the feedback
path to start oscillations.
◦ Controller can be operated on external clock .
◦ GND
This is ground pin
THANK YOU…

More Related Content

PPTX
SPI introduction(Serial Peripheral Interface)
PDF
Intel 8051 - pin description
PPTX
I o ports.ppt
PPTX
8051 MICROCONTROLLER ARCHITECTURE.pptx
DOCX
8086 pin diagram description
PDF
Practical Differential Fault Attack on AES
DOCX
verilog code
SPI introduction(Serial Peripheral Interface)
Intel 8051 - pin description
I o ports.ppt
8051 MICROCONTROLLER ARCHITECTURE.pptx
8086 pin diagram description
Practical Differential Fault Attack on AES
verilog code

What's hot (20)

PPTX
8255:ppi & 8259:pic
PDF
Sequence detector Verilog Code
PPTX
8051 io interface
PDF
Verilog coding of mux 8 x1
PPT
memory-interfacing.ppt
PPT
Microcontroller 8051
PPTX
8051 timer counter
PDF
8051 microcontroller
PPT
8051 microcontroller and it’s interface
PPTX
Pin digram of 8086
 
PPT
8051 zigbee interface
PPT
Interrupt programming with 8051 microcontroller
DOCX
Komponen aktif
PPTX
8251 USART
PPTX
INTERFACING ANALAOG TO DIGITAL CONVERTER (ADC0808/09) TO 8051 MICROCONTROLLER
PPTX
Interrupts in 8051
PPTX
Microprocessor 8086
PPTX
SPEF format
8255:ppi & 8259:pic
Sequence detector Verilog Code
8051 io interface
Verilog coding of mux 8 x1
memory-interfacing.ppt
Microcontroller 8051
8051 timer counter
8051 microcontroller
8051 microcontroller and it’s interface
Pin digram of 8086
 
8051 zigbee interface
Interrupt programming with 8051 microcontroller
Komponen aktif
8251 USART
INTERFACING ANALAOG TO DIGITAL CONVERTER (ADC0808/09) TO 8051 MICROCONTROLLER
Interrupts in 8051
Microprocessor 8086
SPEF format
Ad

Similar to 8051 architecture and pin configuration (20)

PPTX
8051 Microcontroller
PPTX
CHAPTER1.pptx ON 8051 MICROCONTROLLER INTRODUCTION CHAPTER
DOC
PPT
PPTX
PPTX
8051 Architecture in unit 3 for MPMC .pptx
DOC
Pc based wire less data aquisition system using rf(1)
PPT
Architecture of 8051 microcontroller))
PPT
8051.ppt microcontroller full detail explnation
PDF
MICROPROCESSORS & MICROCONTROLLERS
PDF
microcontroller 8051 17.07.2023.pdf
PPT
Live B tech Projects & Industrial Training @Technogroovy
PPT
8051 Microcontroller slides foe electronics
PPTX
Pic microcontroller [autosaved] [autosaved]
DOCX
Study of 8051 microcontroller
PPTX
8051 microcontroller
PPSX
8051 architecture
PPTX
UNIT 4 8051Microcontroller.pptx
PPT
8051c.ppt microcontroller hardware summary
8051 Microcontroller
CHAPTER1.pptx ON 8051 MICROCONTROLLER INTRODUCTION CHAPTER
8051 Architecture in unit 3 for MPMC .pptx
Pc based wire less data aquisition system using rf(1)
Architecture of 8051 microcontroller))
8051.ppt microcontroller full detail explnation
MICROPROCESSORS & MICROCONTROLLERS
microcontroller 8051 17.07.2023.pdf
Live B tech Projects & Industrial Training @Technogroovy
8051 Microcontroller slides foe electronics
Pic microcontroller [autosaved] [autosaved]
Study of 8051 microcontroller
8051 microcontroller
8051 architecture
UNIT 4 8051Microcontroller.pptx
8051c.ppt microcontroller hardware summary
Ad

More from NITHIN KALLE PALLY (15)

PPTX
Formats for coherent optical communications -OPTICAL COMMUNICATIONS
PPTX
Based Interferometric Sensors- OPTICAL COMMUNICATION
PPTX
SHORT CHANNEL EFFECTS IN MOSFETS- VLSI DESIGN
PPTX
ANALYTIC SIGNAL GENERATION- DIGITAL SIGNAL PROCESSORS AND ARCHITECTURE ...
PPTX
VLAN -VIRTUAL LAN -COMPUTER NETWORKS
PPTX
CMOS Fabrication using P-well -VLSI
PPTX
Gray Image Watermarking using slant transform - digital image processing
PPTX
web2.0 - computer networks
PPTX
RELATION BETWEEN DATA WORD SIZE AND INSTRUCTION WORD SIZE- Dspa word size
PPTX
DISTINGUISH BETWEEN WALSH TRANSFORM AND HAAR TRANSFORMDip transforms
PPTX
Need of research and types of research
PPTX
TRANSITIONAL BUTTERWORTH-CHEBYSHEV FILTERS
PPTX
CAUSES AND EFFECTS OF LANDSLIDES
PPTX
FUTURE PUBLIC LAND MOBILE TELECOMMUNICATION SYSTEMS(FPLMTS) AND INFORMA...
PPTX
SAMPLING AND STORAGE OSCILLOSCOPE
Formats for coherent optical communications -OPTICAL COMMUNICATIONS
Based Interferometric Sensors- OPTICAL COMMUNICATION
SHORT CHANNEL EFFECTS IN MOSFETS- VLSI DESIGN
ANALYTIC SIGNAL GENERATION- DIGITAL SIGNAL PROCESSORS AND ARCHITECTURE ...
VLAN -VIRTUAL LAN -COMPUTER NETWORKS
CMOS Fabrication using P-well -VLSI
Gray Image Watermarking using slant transform - digital image processing
web2.0 - computer networks
RELATION BETWEEN DATA WORD SIZE AND INSTRUCTION WORD SIZE- Dspa word size
DISTINGUISH BETWEEN WALSH TRANSFORM AND HAAR TRANSFORMDip transforms
Need of research and types of research
TRANSITIONAL BUTTERWORTH-CHEBYSHEV FILTERS
CAUSES AND EFFECTS OF LANDSLIDES
FUTURE PUBLIC LAND MOBILE TELECOMMUNICATION SYSTEMS(FPLMTS) AND INFORMA...
SAMPLING AND STORAGE OSCILLOSCOPE

Recently uploaded (20)

PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PPT
Project quality management in manufacturing
PDF
PPT on Performance Review to get promotions
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PPTX
UNIT 4 Total Quality Management .pptx
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PPTX
Lecture Notes Electrical Wiring System Components
PDF
Well-logging-methods_new................
PPTX
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PPTX
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
PPTX
Sustainable Sites - Green Building Construction
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
Foundation to blockchain - A guide to Blockchain Tech
Project quality management in manufacturing
PPT on Performance Review to get promotions
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
UNIT 4 Total Quality Management .pptx
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
Lecture Notes Electrical Wiring System Components
Well-logging-methods_new................
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
Automation-in-Manufacturing-Chapter-Introduction.pdf
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
Sustainable Sites - Green Building Construction
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
Embodied AI: Ushering in the Next Era of Intelligent Systems
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx

8051 architecture and pin configuration

  • 1. 8051 ARCHITECTURE AND PIN CONFIGURATION NAME – NITHIN KALLEPALLY MICRO PROCESSORS AND MICRO CONTROLLERS
  • 2. General-purpose Microprocessors ◦ CPU ◦ NO RAM ◦ NO ROM ◦ NO I/O PORTS
  • 3. General-purpose Microcontroller ◦ CPU (microprocessor) ◦ RAM ◦ ROM ◦ I/O ports ◦ Timer ◦ ADC and other peripherals CPU RAM ROM I/O Timer Serial COM Port MICRO CONTROLL ER
  • 4. Features Of 8051 ◦ 128 bytes of RAM ◦ 4 K bytes of on-chip ROM ◦ Two timers ◦ One serial port ◦ Four I/O ports, each 8 bits wide(i.e. 32 I/O pins.) ◦ 6 interrupt sources ◦ Commercially available version of 8051 run on 12 MHz to 18 MHz
  • 5. Architecture Of 8051 The block diagram of 8051 micro controller architecture shows that 8051 micro controller consists of a CPU, RAM, (SFRs and Data Memory), Flash (EEPROM), I/O ports and control logic for communication between the peripherals
  • 7. Functional Description Block ◦ Accumulator ◦ SFR –special function registers ◦ It can be accessed through its SFR adder 0E0H. ◦ B Register ◦ Use as temporary register . ◦ store upper bit Result of MUL & DIV. ◦ access through SFR adder 0F0H. ◦ Stack Pointer ◦ Define anywhere on chip 128 byte RAM. ◦ It is Initialized to 07H address (after rest) . ◦ Data Pointer ◦ 16 bit register ◦ Access external memory up to 64KB.
  • 8. ◦ Program Status Word ◦ Reflect status ALU performing operation. ◦ Port 0 to 3 ◦ Each latch and corresponding drivers of port 0 to 3 is allotted to the corresponding on chip I/O port. ◦ Serial Data Buffer ◦ Two Independent Register : TX Buffer (8bit) & RX Buffer(8bit). ◦ Program Counter ◦ 16 bit wide ◦ Point to address of next instruction to be executed . ◦ Timing & Control Unit ◦ Deriver signal required for Internal operation of circuit . ◦ Control signal required for controlling External System Bus.
  • 9. ◦ Oscillator ◦ Generate basic timing control signal for operation of circuit using crystal oscillator. ◦ ALU ◦ Perform 8 bit operation. ◦ Through TMP1 and TMP2 (each 8 bit). ◦ Not access by User. ◦ SFR Register Bank ◦ lie in range of 80H to 0FFH . ◦ It can addressed using their respective address .
  • 10. Pin Configuration OF 8051 • This is a 40 pin micro controller • VCC & VSS • RESET • ALE/PROG It is used for demultiplexing address and data . • It is valid only for External memory accesses. • EA/VPP • EA/VPP =0 : Execute program on external memory. • EA/VPP =1 : Execute program on internal memory. • Receives 21 v for programming of the on chip EPROM. • PSEN • Acts as a strobe to read the external program memory. • It is low during external program memory accesses.
  • 11. ◦ Port 0 (P0.0-P0.7) ◦ 8 bit bidirectional bit addressable I/O port. ◦ Allotted an address in SFR ◦ address range. ◦ Act as Multiplexed A/D lines during external memory access. ◦ Port 1 (P1.0-P1.7) ◦ 8 bit bidirectional bit addressable port. ◦ Allotted an address in SFR address range. ◦ Port 2 (P2.0-P2.7) ◦ During external memory, It emits higher 8 bits of address when ALE =1 & EA=0 . ◦ Also receives higher order address bit during programming of on chip EPROM.
  • 12. ◦ Port 3 (P3.0-P3.7) ◦ 8 bit bidirectional bit addressable port. ◦ Allotted an address in SFR address range. ◦ XTAL1 & XTAL2 ◦ A Crystal is to be connected externally between these two pins to complete the feedback path to start oscillations. ◦ Controller can be operated on external clock . ◦ GND This is ground pin