ELE22MIC Lecture 9 MULTIPLEXOR - DATA SELECTOR DEMULTIPLEXOR - DATA DISTRIBUTOR Parallel to Serial Data Conversion External Address Bus Latching Address.

Slides:



Advertisements
Similar presentations
INPUT-OUTPUT ORGANIZATION
Advertisements

Encoders Three-state devices Multiplexers
Digital Logic Design Week 7 Encoders, Decoders, Multiplexers, Demuxes.
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.
Logical Design.
Multiplexer. A multiplexer (MUX) is a device which selects one of many inputs to a single output. The selection is done by using an input address. Hence,
Khaled A. Al-Utaibi 8086 Bus Design Khaled A. Al-Utaibi
EXTERNAL COMMUNICATIONS DESIGNING AN EXTERNAL 3 BYTE INTERFACE Mark Neil - Microprocessor Course 1 External Memory & I/O.
Programmable Interval Timer
TK2633 Introduction to Parallel Data Interfacing DR MASRI AYOB.
DIGITAL SYSTEMS TCE OTHER COMBINATIONAL LOGIC CIRCUITS WEEK 7 AND WEEK 8 (LECTURE 3 OF 3) MULTIPLEXERS DEMULTIPLEXERS.
MSI Logic Circuits Wen-Hung Liao, Ph.D.. Objectives Analyze and use decoders and encoders in various types of circuit applications. Compare the advantages.
Communicating With Devices Interrupts Lecture 10.4 Section 10.6.
Multiplexers DeMultiplexers XOR gates
ECE 447: Lecture 1 Microcontroller Concepts. ECE 447: Basic Computer System CPU Memory Program + Data I/O Interface Parallel I/O Device Serial I/O Device.
Khaled A. Al-Utaibi  Intel Peripheral Controller Chips  Basic Description of the 8255  Pin Configuration of the 8255  Block Diagram.
LSU 06/04/2007Expanding the BASIC Stamp1 Expanding the BASIC Stamp: Useful peripherals Programming Unit, Lecture 6.
Micro-operations Are the functional, or atomic, operations of a processor. A single micro-operation generally involves a transfer between registers, transfer.
LSU 10/22/2004Serial I/O1 Programming Unit, Lecture 5.
9 MSI Logic Circuits Some of digital system operations: Decoding and encoding; multiplexing; demultiplexing; comparison; code converting; data busing.
COMPUTER SYSTEM ARCHITECTURE By Sohaib.  The digital computer is a digital system that performs various computational tasks.  The word digital implies.
1 Registers and Counters A register consists of a group of flip-flops and gates that affect their transition. An n-bit register consists of n-bit flip-flops.
Dr. Rabie A. Ramadan Al-Azhar University Lecture 6
School of Computer Science G51CSA 1 Computer Systems Architecture Fundamentals Of Digital Logic.
Eng. Mohammed Timraz Electronics & Communication Engineer University of Palestine Faculty of Engineering and Urban planning Software Engineering Department.
Fall 2004EE 3563 Digital Systems Design EE3563 Multiplexers  A multiplexer is a digital switch  Allows a device to select a single line from many  Some.
ECE Lecture 1 Microcontroller Concepts. Basic Computer System CPU Memory Program + Data I/O Interface Parallel I/O Device Serial I/O Device Data.
Memory and Storage Dr. Rebhi S. Baraka
Eng. Mohammed Timraz Electronics & Communication Engineer University of Palestine Faculty of Engineering and Urban planning Software Engineering Department.
PHY 201 (Blum) 1 Multiplexing and Demultiplexing In some sense, Multiplexing and Demultiplexing is just a special case of the truth tables we have been.
Eng.Samra Essalaimeh Philadelphia University 2013/ nd Semester PIC Microcontrollers.
MICROCONTROLLER SYSTEMS Part 1. Figure 1.1Elements of a digital controller CPU Central Processing Unit Input Peripherals Output Peripherals ROM Read Only.
Microprocessors For a microprocessor to give a working microcomputer system, which can be used for control tasks, additional chips are necessary, e.g.
ELE22MIC Lecture 10 MULTIPLEXOR - DATA SELECTOR
ELE2MIC Lecture 19 MULTIPLEXOR - DATA SELECTOR
Computer System Internal components - The processor - Main memory - I / O controllers - Buses External components (peripherals). These include: - keyboard.
Registers Page 1. Page 2 What is a Register?  A Register is a collection of flip-flops with some common function or characteristic  Control signals.
PHY 202 (Blum)1 Combinations of Resistors Series, Parallel.
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
CEC 220 Digital Circuit Design Timing Diagrams, MUXs, and Buffers Mon, Oct 5 CEC 220 Digital Circuit Design Slide 1 of 20.
CEC 220 Digital Circuit Design Timing Diagrams, MUXs, and Buffers Friday, February 14 CEC 220 Digital Circuit Design Slide 1 of 18.
CEC 220 Digital Circuit Design Timing Diagrams, MUXs, and Buffers
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Logic Design Dr. Oliver Faust.
CIT 673 Created by Suriyong1 Micro controller hardware architechture.
Magnitude Comparator A magnitude comparator is a combinational circuit that compares two numbers, A and B, and then determines their relative magnitudes.
EE365 - Microprocessors period 26 10/23/00 D. R. Schertz # Parallel Ports.
Multiplexers and De-Multiplexers
ECE 371 Microprocessor Interfacing
Multiplexors Decoders  Decoders are used for forming separate signals for different combination of input signals.  The multiplexer circuit is a digital.
ECE 2110: Introduction to Digital Systems Chapter 6 Combinational Logic Design Practices Multiplexers.
1 Bringing it all together: Exploring the EVB Today: First Hour: Bringing it all together by exploring the EVB –Section of Huang’s Textbook.
1 DLD Lecture 16 More Multiplexers, Encoders and Decoders.
Chapter Microcontroller
1 Bringing it all together: Exploring the EVB Today: First Hour: Bringing it all together by exploring the EVB –Section of Huang’s Textbook.
Microprocessors 3 Buses, Addresses and Machine Cycles 1 Modified April 2011 ©Paul R. Godin prgodin gmail.com.
Memory Interface EEE 365 [FALL 2014] LECTURER 12 ATANU K SAHA BRAC UNIVERSITY.
Embedded Microcontroller Systems
Class Exercise 1B.
Computer System Architecture
Memory Interfacing.
Digital Design Jeff Kautzer Univ Wis Milw.
Multiplexer.
EKT 124 MUX AND DEMUX.
More Devices: Control (Making Choices)
Magnitude Comparator A magnitude comparator is a combinational circuit that compares two numbers, A and B, and then determines their relative magnitudes.
Interfacing Memory Interfacing.
Chapter 6 Functions of Combinational Logic
The 8051 Microcontroller and Embedded Systems
Digital System Design Combinational Logic
Arithmetic Circuits.
Presentation transcript:

ELE22MIC Lecture 9 MULTIPLEXOR - DATA SELECTOR DEMULTIPLEXOR - DATA DISTRIBUTOR Parallel to Serial Data Conversion External Address Bus Latching Address Strobe timing Diagram Address Decoding using a 74ls138 Serial Peripheral Interface - SPI

Multiplexor - Data Selector Multiplex (MUX) many inputs to one output Switch selects the one signal source from many input signals. Like Stereo HiFi source selection switch

Two Input Multiplexor Output = (Input0 & Select#) | (Input1 & Select)

Four Input Multiplexor

Eight Input Multiplexor

74F151 8-Input MUX

Pin Names and Loading / Fanout

Mux vs DeMux

Parallel I/O

External Address Latch The Address Bus (Bits 0..7) and Data Bus (Bits 0..7) are multiplexed onto Port C when in expanded mode - external RAM, ROM & Peripherals We want to extend the Address Bus external to the 68HC11 - MAR is presented on C0..PC7/A0..A7/D0..D7 pins The 68HC11’s AS pin strobes high to load the address into the external address latch. The address latch presents the address onto the system’s external address bus.

External Address Latch

Address Strobe Timing Diagram

Applications of a de-multiplexor The Memory Chip Select device used on the original IBM PC is a 74LS138 de-multiplexor. The 74LS138 is used to activate 1 of 8 lines based on the conditions of the three binary select inputs A, B & C, and the three enable inputs. The 74LS138 Outputs are “Active Low”.

74LS138 8-Output DEMUX De-Multiplex one input to many outputs -Reverse operation of a multiplexor 74LS138 Truth Table

DeMultiplexor The 74LS138 can be implemented by the logic shown. The 54LS138 is identical in function, but can operate over the “Mil-spec” -55°C to 125°C Temperature Range. The 74LS138 can operate over the Commercial 0°C - 70°C Temperature Range.

Memory Select

Address Decoding & Chip Select A15 -> G1#, E -> G, A14 -> A2, A13 -> A1 R/W# -> A0 Chip is enabled when A15 = 0 & E is High Y2 = (A14#) & (A13) & Write (R/W#=0) & E Y3 = (A14#) & (A13) & Read (R/W#=1) & E Y4 = (A14) & (A13#) & Write (R/W#=0) & E Y5 = (A14) & (A13#) & Read (R/W#=1) & E

Write Data Timing Diagram

68HC11 Flash Technology (1)

68HC11 Flash Technology (2) Erasure of Cells is performed by providing a tunnelling voltage to the control gate which causes the charge on the floating gate to be removed. When read, each cell returns a logical ‘1’ value.

68HC11 Flash Technology (3) Programming of Cells is performed by providing a tunnelling voltage to the control gate which causes the charge to be placed on the floating gate. The write process writes the ‘0’s into each cell.

68HC11 I/O & Control Bits (2)

Parallel to Serial Conversion (1) Many digital systems use parallel binary data communication for speed (eg CPU data bus, printer etc), but when large distances are to be covered, the number of lines required makes the parallel transmission costly and thus undesirable. Referring to the schematic on the next page: A multiplexor can be used convert parallel data to serial data. Parallel data can be latched into the 74F373 gate, then output as a serial data stream from the 74F151 as a binary count sequence is created by the 74LS160.

Parallel to Serial Conversion (2)

Logic Family - Propagation Delay (H-L)

Logic Family - Propagation Delay (L-H)

Logic Family - Propagation Delay (3)

Bus Design Rules Bus lines have very low line impedances ( Ohms). Bus lines have to be terminated to prevent line reflections (signal distortion, circuit malfunctions due to undershoots). Take care of propagation times (25 ns/m). Settling time of signals on TTL-type buses is 2 x tp (no incident wave switching). Take care of control lines (clock, read, write, etc.). Provide shielding between control lines and data / address lines.

Bus Design Rules A multiplexed data and address bus reduces design problems (50% less signal lines and 50% less line driver). Driver output current is 100 mA/line. Provide adequate and low inductance GND return path (simultaneous switching)! Rule of thumb: 25% of all backplane connector pins have to be GND lines! Use multilayer boards with separate GND and Vcc plane for backplanes.

Acknowledgements I used Altium Protel 98 and Protel DXP to create these schematic diagrams Logic Timing Diagrams are from Texas Instruments (TI) Logic Selection Guide - Digital Design Seminar National Semiconductor data sheets 74LS138. Motorola 11rm.pdf Reference Manual