CHAPTER 8 8051 HARDWARE CONNECTION. Pin Description 8051 family members ◦ e.g., 8751, 89C51, 89C52, DS89C4x0) ◦ Have 40 pins dedicated for various functions.

Slides:



Advertisements
Similar presentations
The 8051 MicroController In this module, we will be discussing the MCS-51 family of microcontroller, in particular the 8051, which is the generic IC representative.
Advertisements

8086 [2] Ahad. Internal! External? 8086 vs _bit Data Bus 20_bit Address 8_bit Data Bus 20_bit Address Only external bus of 8088 is.
Parul Polytechnic Institute
Chapter 4 I/O Port Programming
Autumn 2012C.-S. Shieh, EC, KUAS, Taiwan1 The 8051 Family Microcontroller Chin-Shiuh Shieh Department of Electronic Engineering.
Suranaree University Of Technology มทส  2002 Anant Oonsivilai 2002/2/25 Microcomputers and Microprocessors 1 Chapter 4 I/O Port Programming.
Khaled A. Al-Utaibi 8086 Bus Design Khaled A. Al-Utaibi
Chapter 2 HARDWARE SUMMARY
CHAPTER 4 I/O PORT PROGRAMMING. I/O Port Pins The four 8-bit I/O ports P0, P1, P2 and P3 each uses 8 pins All the ports upon RESET are configured as input,
The 8085 Microprocessor Architecture
Microprocessor and Microcontroller
The 8085 Microprocessor Architecture. Contents The 8085 and its Buses. The address and data bus ALU Flag Register Machine cycle Memory Interfacing The.
Parul Polytechnic Institute Subject Code : Name Of Subject : Microprocessor and assembly language programming Name of Unit : Introduction to Microprossor.
4-1 ECE 424 Design of Microprocessor-Based Systems Haibo Wang ECE Department Southern Illinois University Carbondale, IL Hardware Detail of Intel.
1 TK2633TK Microprocessor Architecture DR MASRI AYOB.
Chapter Hardware Connection and Intel Hex File
The 8051 Microcontroller Architecture
Microcontroller 8051.
1 The 8051 Microcontroller and Embedded Systems CHAPTER INTERFACING TO EXTERNAL MEMORY.
The 8051 Microcontroller architecture
Microcomputer & Interfacing Lecture 2
Khaled A. Al-Utaibi  8086 Pinout & Pin Functions  Minimum & Maximum Mode Operations  Microcomputer System Design  Minimum Mode.
1 EKT 225 MICROCONTROLLER I CHAPTER 3 I/O PORT PROGRAMMING.
Objectives How Microcontroller works
Embedded Systems Design 1 Lecture Set 6 I/O Ports.
MCS-51 Hardware Interfacing
The 8051 Microcontroller and Embedded Systems
8086/8088 Hardware Specifications A Course in Microprocessor Electrical Engineering Dept. University of Indonesia.
MOBILE OPERATING ROBOT ON EMBEDDED SYSTEM
An Introduction to Microcontroller (Hardware Specification) Lec note 4
MODES OF Details of Pins Pin 1GND –Connected Ground Pins 2-16 AD14-AD0–acts as both input/output. Outputs address at the first part of the cycle.
MCS51 - part 2. Lecture 2 2/17 MCS51 functioning Clock generator Machine & instruction cycles Paralell ports Reset.
Intel 8051 Another family of microcontroller is the Intel 8051 family. The basic 8051 microcontroller has four parallel input/output ports, port 0, 1,
Microcontroller Intel 8051 [I/O Ports]. Pin out of the 8051 –40 pin package –32 pins are used for the 4 ports. –V CC / V SS –ALE Address Latch Enable.
Computer Architecture Lecture 6 by Engineer A. Lecturer Aymen Hasan AlAwady 1/12/2013 University of Kufa - Informatics Center for Research and Rehabilitation.
CIT 673 Created by Suriyong1 Micro controller hardware architechture.
Introduction to Microprocessors - chapter3 1 Chapter 3 The 8085 Microprocessor Architecture.
EE365 - Microprocessors period 26 10/23/00 D. R. Schertz # Parallel Ports.
Presented by Sadhish Prabhu
8086/8088 Hardware Specifications. Objectives Describe the functions of all 8086/8088 pins Understand DC characteristics and fan out Using the clock generator.
The 8085 Microprocessor Architecture. What 8085 meant for? 80 - year of invention bit processor 5 - uses +5V for power.
Chapter Microcontroller
8085 Microprocessor: Architecture & Support Components.
Multiplex of Data and Address Lines in 8088 Address lines A0-A7 and Data lines D0-D7 are multiplexed in These lines are labelled as AD0-AD7. –By.
Microcontroller based Traffic signal Umer Butt Amna Rashid Izza Rabbani Rozab Naveed Ramesha Akram.
8051 Microcontroller Tutorial and Architecture with Applications.
HJD Institute of Technical Education & Research- Kera(Kutch) The 8051 Microcontroller architecture PREPARED BY: RAYMA SOHIL( )
AHMEDABAD INSTITUTE OF TECHNOLOGY
Gandhinagar Institute of Technology
Memory Interface EEE 365 [FALL 2014] LECTURER 12 ATANU K SAHA BRAC UNIVERSITY.
EEE /INSTR/CS F241 ES C263 Microprocessor Programming and Interfacing
The 8051 Microcontroller architecture
8051 Pin - out PORT 0 PORT 1 PORT 2 PORT 3.
The 8085 Microprocessor Architecture
The 8085 Microprocessor Architecture
Hardware Source: ttp:// under
8085 Microprocessor Architecture
An Introduction to Microprocessor Architecture using intel 8085 as a classic processor
Architecture & Support Components
The 8051 Microcontroller (8 bit )
8085 Microprocessor Architecture
The 8051 Microcontroller and Embedded Systems
8051 Microcontroller.
Hardware Source: ttp:// under
Important 8051 Features On chip oscillator 4K bytes ROM 128 bytes RAM
The 8085 Microprocessor Architecture
The 8051 Microcontroller (8 bit )
CHAPTER HARDWARE CONNECTION.
8085 Microprocessor Architecture
CHAPTER 4 I/O PORT PROGRAMMING.
Presentation transcript:

CHAPTER HARDWARE CONNECTION

Pin Description 8051 family members ◦ e.g., 8751, 89C51, 89C52, DS89C4x0) ◦ Have 40 pins dedicated for various functions  Such as I/O, -RD, -WR, address, data, and interrupts ◦ Come in different packages, such as  DIP (dual in-line package), QFP (quad flat package), and LLC (leadless chip carrier) Some companies provide a 20-pin version of the 8051 with a reduced number of I/O ports for less demanding applications

XTAL1 and XTAL2 The 8051 has an on-chip oscillator but requires an external clock to run it ◦ A quartz crystal oscillator is connected to inputs XTAL1 (pin19) and XTAL2 (pin18) ◦ The quartz crystal oscillator also needs two capacitors of 30 pF value

XTAL1 and XTAL2 (cont.) If you use a frequency source other than a crystal oscillator, such as a TTL oscillator ◦ It will be connected to XTAL1 ◦ XTAL2 is left unconnected

XTAL1 and XTAL2 (cont.) The speed of 8051 refers to the maximum oscillator frequency connected to XTAL ◦ ex. A 12-MHz chip must be connected to a crystal with 12 MHz frequency or less ◦ We can observe the frequency on the XTAL2 pin using the oscilloscope

RST RESET pin is an input and is active high (normally low) ◦ Upon applying a high pulse to this pin, the microcontroller will reset and terminate all activities  This is often referred to as a power-on reset  Activating a power-on reset will cause all values in the registers to be lost ◦ For the RESET input to be effective, it must have a minimum duration of 2 machine cycles  The high pulse must be high for a minimum of 2 machine cycles before it is allowed to go low

EA, “external access’’, is an input pin ◦ It must be connected to Vcc or GND ◦ The 8051 family members all come with on- chip ROM to store programs  EA pin is connected to Vcc ◦ The 8031 and 8032 family members do no have on-chip ROM  Code is stored on an external ROM and is fetched by 8031/32  EA pin must be connected to GND to indicate that the code is stored externally

Used mainly in 8031-based systems ◦ PSEN, “program store enable’’, is an output pin  This pin is connected to the OE pin of the ROM ◦ ALE, “address latch enable”, is an output pin and is active high  Port 0 provides both address and data  The 8031 multiplexes address and data through port 0 to save pins  ALE pin is used for demultiplexing the address and data by connecting to the G pin of the 74LS373 chip & ALE

I/O Port Pins The four 8-bit I/O ports P0, P1, P2 and P3 each uses 8 pins All the ports upon RESET are configured as input, ready to be used as input ports

Port 0 Port 0 is also designated as AD0-AD7 ◦ Allowing it to be used for both address and data  When connecting an 8051/31 to an external memory, port 0 provides both address and data  The 8051 multiplexes address and data through port 0 to save pins  ALE indicates if P0 has address or data  When ALE=0, it provides data D0-D7  When ALE=1, it has address A0-A7

Port 0 (cont.) It can be used for input or output ◦ Each pin must be connected externally to a 10K ohm pull-up resistor  This is due to the fact that P0 is an open drain, unlike P1, P2, and P3  Open drain is a term used for MOS chips in the same way that open collector is used for TTL chips

Port 1 and Port 2 In 8051-based systems with no external memory connection ◦ Both P1 and P2 are used as simple I/O In 8031/51-based systems with external memory connections ◦ Port 2 must be used along with P0 to provide the 16-bit address for the external memory  P0 provides the lower 8 bits via A0 – A7  P2 is used for the upper 8 bits of the 16-bit address  Designated as A8 – A15  It cannot be used for I/O

Port 3 Port 3 can be used as input or output ◦ Port 3 does not need any pull-up resistors ◦ Port 3 has the additional function of providing some extremely important signals