Input/Output Ports and Interfacing

Slides:



Advertisements
Similar presentations
1 ECE 372 – Microcontroller Design Parallel IO Ports - Outputs Parallel IO Ports E.g. Port T, Port AD Used to interface with many devices Switches LEDs.
Advertisements

Khaled A. Al-Utaibi 8086 Bus Design Khaled A. Al-Utaibi
Dr A Sahu Dept of Computer Science & Engineering IIT Guwahati.
TK2633 Introduction to Parallel Data Interfacing DR MASRI AYOB.
Input/Output (I/O) Ports and Interfacing
Input/Output Ports and Interfacing ELEC 330 Digital Systems Engineering Dr. Ron Hayne Images Courtesy of Ramesh Gaonkar and Delmar Learning.
Engineering 4862 Microprocessors Lecture 23 Cheng Li EN-4012
82C55 82C55 Programmable Peripheral Interface Interfacing Part III.
Microcontroller Architecture— PIC18F Family
EEE305 Microcontroller Systems Lecture 5B: Simple I/O Embedded C using PIC microcontrollers Teaching resources on on
ECE 447 Fall 2009 Lecture 6: TI MSP430 IO Interfacing.
ECE 447: Lecture 6 Input/Output Interfacing LEDs, Button Switches & Port Multiplexing.
Microcontroller Architecture PIC18F Family
Microcontrollers Microcontroller (MCU) – An integrated electronic computing device that includes three major components on a single chip Microprocessor.
Dr. Rabie A. Ramadan Al-Azhar University Lecture 6
Input/Output Ports and Interfacing
CprE 211 Break-out Board Layout
Port Mapped I/O.
Microcontroller based system design Asst. Prof. Dr. Alper ŞİŞMAN.
8086/8088 Hardware Specifications Power supply:  +5V with tolerance of ±10%;  360mA. Input characteristics:  Logic 0 – 0.8V maximum, ±10μA maximum;
Microprocessor Dr. Rabie A. Ramadan Al-Azhar University Lecture 2.
Computer Architecture Lecture 9 by Engineer A. Lecturer Aymen Hasan AlAwady 10/2/2014 University of Kufa - Information Technology Research and Development.
Eng.Samra Essalaimeh Philadelphia University 2013/ nd Semester PIC Microcontrollers.
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
Programmable Peripheral Interface Parallel port Interface 8255
12/16/  List the elements of 8255A Programmable Peripheral Interface (PPI)  Explain its various operating modes  Develop a simple program to.
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.
CIT 673 Created by Suriyong1 Micro controller hardware architechture.
Basic I/O Interface Fixed Address Variable Address
Parallel I/O. Introduction This section focuses on performing parallel input and output operations on the 68HC11 3 operation types – Simple, blind data.
EE365 - Microprocessors period 26 10/23/00 D. R. Schertz # Parallel Ports.
Features of the PIC18 microcontroller - 8-bit CPU - 2 MB program memory space (internal 32KB to 128KB) bytes to 1KB of data EEPROM - Up to 4096 bytes.
MICROPROCESSOR AMARTYA ROY-72 ANGSHUMAN CHATTERJEE-80 ASHISH LOHIA-70 MOLOY CHAKRABORTY-60.
A Quick Start Guide to PIC16F877 microcontroller And Microchip Development Environment A Quick Start Guide to PIC16F877 microcontroller And Microchip Development.
STUDY OF PIC MICROCONTROLLERS.. Design Flow C CODE Hex File Assembly Code Compiler Assembler Chip Programming.
8255 Programmable Peripheral Interface
Computer Organization
Unit Microprocessor.
Microprocessor and Microcontroller Fundamentals
COURSE OUTCOMES OF Microprocessor and programming
Microprocessor and Microcontroller Fundamentals
Interfacing I/O Devices
For further information
Diagram of microprocessor interface with IO devices
General Purpose I/O.
IPCOWALA INSTITUTE OF ENGINEERING & TECHNOLOGY-DHARMAJ
Lecture 6: TI MSP430 IO Interfacing
COMP2121: Microprocessors and Interfacing
Dr. Rabie A. Ramadan Al-Azhar University Lecture 5
1 Input-Output Organization Computer Organization Computer Architectures Lab Peripheral Devices Input-Output Interface Asynchronous Data Transfer Modes.
The 8255 Programmable Peripheral Interface
Principles & Applications
8085 Microprocessor Architecture
Atmega32 Serial Programming Basics
An Introduction to Microprocessor Architecture using intel 8085 as a classic processor
Introduction to Microprocessors and Microcontrollers
Interfacing Memory Interfacing.
8255.
Parallel communication interface 8255
Architecture & Support Components
Programmable Peripheral Interface
8085 Microprocessor Architecture
82C55 Programmable Peripheral Interface
Programmable Peripheral Interface
8051 Micro Controller.
SPI Protocol and Programming
8085 Microprocessor Architecture
Microprocessor I 7/18/2019.
The Programmable Peripheral Interface (8255A)
CPU Sequencing 7/20/2019.
Presentation transcript:

Input/Output Ports and Interfacing ELEC 330

Basic I/O Concepts Peripherals such as LEDs and keypads are essential components of microcontroller-based systems Input devices Provide digital information to an MPU Examples: switch, keyboard, scanner, and digital camera Output devices Receive digital information from an MPU Examples: LED, seven-segment display, LCD, and printer Devices are interfaced to an MPU using I/O ports

I/O Interfacing

Interfacing and Addressing I/O ports Buffers and latches on the MCU chip Assigned binary addresses by decoding the address bus Generally bidirectional Internal data direction registers To read binary data from an input peripheral MPU places the address of an input port on the address bus Enables the input port by asserting the RD signal Reads data using the data bus To write binary data to an output peripheral MPU places the address of an output port on the address bus Places data on data bus Asserts the WR signal to enable the output port

PIC18F452/4520 I/O Ports MCU includes five I/O ports PORTA, PORTB, PORTC, PORTD, PORTE Ports are multiplexed Can be set up to perform various functions Each I/O port is associated with several SFRs PORT Functions as a latch or a buffer TRIS Data direction register Logic 0 sets up the pin as an output Logic 1 sets up the pin as an input LAT Output latch similar to PORT

PIC18F452/4520 I/O Ports PORTA: Example of Multiple Fns Digital I/O: RA6-RA0 Analog Input: AN0-AN4 V REF+ : A/D Reference Plus V V REF- : A/D Reference Minus V TOCK1: Timer0 Ext. Clock SS: SPI Slave Select Input LVDIN: Low V Detect Input 330_09

PIC18F452/4520 I/O Ports PORTB