EECS 373 Design of Microprocessor-Based Systems Prabal Dutta

Slides:



Advertisements
Similar presentations
Bus Specification Embedded Systems Design and Implementation Witawas Srisa-an.
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.
11-1 ECE 424 Design of Microprocessor-Based Systems Haibo Wang ECE Department Southern Illinois University Carbondale, IL I/O System Design.
The Intel 8255 Programmable Peripheral Interface chip is used to give the microprocessor (8088) access to programmable input/ output devices. It has three.
Computer Science & Engineering
Khaled A. Al-Utaibi 8086 Bus Design Khaled A. Al-Utaibi
Programmable Interval Timer
COMP3221: Microprocessors and Embedded Systems Lecture 17: Computer Buses and Parallel Input/Output (I) Lecturer: Hui.
1 EECS 373 Design of Microprocessor-Based Systems Prabal Dutta University of Michigan Guest Lecturer Pat Pannuto Lecture 10: Serial buses Oct 6, 2011.
1 EECS 373 Design of Microprocessor-Based Systems Prabal Dutta University of Michigan Lecture 5: Memory and Peripheral Busses September 21, 2010.
1 EECS 373 Design of Microprocessor-Based Systems Prabal Dutta University of Michigan Lecture 6: AHB-Lite, Interrupts (1) September 18, 2014 Slides developed.
4-1 ECE 424 Design of Microprocessor-Based Systems Haibo Wang ECE Department Southern Illinois University Carbondale, IL Hardware Detail of Intel.
EECS 470 Cache and Memory Systems Lecture 14 Coverage: Chapter 5.
1 EECS 373 Design of Microprocessor-Based Systems Prabal Dutta University of Michigan Lecture 4: Memory-Mapped I/O, Bus Architectures January 20, 2015.
9/20/6Lecture 3 - Instruction Set - Al Hardware interface (part 2)
NS Training Hardware. Memory Interface Support for SDRAM, asynchronous SRAM, ROM, asynchronous flash and Micron synchronous flash Support for 8,
1 EECS 373 Design of Microprocessor-Based Systems Prabal Dutta University of Michigan Lecture 9: Memory Technologies Oct 2, 2012.
This Thursday, Oct. 25 th 1-1:50pm: Exam in DUANE G140 Covers lectures and labs (except today’s lecture on microcontrollers) You may bring handwritten.
INPUT-OUTPUT ORGANIZATION
1 EECS 373 Design of Microprocessor-Based Systems Prabal Dutta University of Michigan Lecture 10: Serial buses Oct 6, 2011.
SOC Design Lecture 4 Bus and AMBA Introduction.
CS-280 Dr. Mark L. Hornick 1 Parts of a GP Computer (Microcomputer) Contains separate Microprocessor chip Memory/Memory controller MB control chips Peripheral.
Lecture 111 Lecture 11: Lab 3 Overview, the ADV7183B Video Decoder and the I 2 C Bus ECE 412: Microcomputer Laboratory.
Memory interface Memory is a device to store data
Khaled A. Al-Utaibi  Intel Peripheral Controller Chips  Basic Description of the 8255  Pin Configuration of the 8255  Block Diagram.
8088 I/F with basic IO, RAM and 8255
1 EECS 373 Design of Microprocessor-Based Systems Prabal Dutta University of Michigan Lecture 5: Memory and Peripheral Busses September 20, 2011.
Author Wayne M. Koski EVLA Monitor & Control Software PDR May 14 & 15, EVLA Monitor and Control Module Interface Board (MIB) Design.
Dr. Rabie A. Ramadan Al-Azhar University Lecture 6
Address Decoding Memory/IO.
8086/8088 Hardware Specifications A Course in Microprocessor Electrical Engineering Dept. University of Indonesia.
Computer Architecture Lecture 8 by Engineer A. Lecturer Aymen Hasan AlAwady 30/12/2013 University of Kufa - Informatics Center for Research and Rehabilitation.
Samsung ARM S3C4510B Product overview System manager
Universal Synchronous/Asynchronous Receiver/Transmitter (USART)
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.
Minimum System Requirements Clock Generator Memory Interfacing.
Memory Interface A Course in Microprocessor Electrical Engineering Dept. University of Indonesia.
© 2000 Morgan Kaufman Overheads for Computers as Components System components  Timing diagrams.  Memory.  Busses and interconnect.
 8251A is a USART (Universal Synchronous Asynchronous Receiver Transmitter) for serial data communication.  Programmable peripheral designed for synchronous.
Author Wayne M. Koski EVLA Monitor & Control Hardware PDR March 13, EVLA Monitor and Control Module Interface Board (MIB) Design.
MCS51 - lecture 6. Lecture 6 1/32 Extending MCS51 system Built-in peripherals MCS51 family.
1 EECS 373 Design of Microprocessor-Based Systems Mark Brehob University of Michigan Lecture 4: Bit of ssembly, Memory-mapped I/O, APB January 21, 2014.
Microprocessor Microprocessor (cont..) It is a 16 bit μp has a 20 bit address bus can access upto 220 memory locations ( 1 MB). It can support.
L/O/G/O Input Output Chapter 4 CS.216 Computer Architecture and Organization.
1 EECS 373 Design of Microprocessor-Based Systems Mark Brehob University of Michigan Lecture 12: Memory and Peripheral Busses October 22nd, 2013 Slides.
CIT 673 Created by Suriyong1 Micro controller hardware architechture.
Basic I/O Interface Fixed Address Variable Address
1 EECS 373 Design of Microprocessor-Based Systems Prabal Dutta University of Michigan Lecture 9: Memory Technologies Oct 4, 2011.
EECS 373 Design of Microprocessor-Based Systems Prabal Dutta
I/O Interface. INTRO TO I/O INTERFACE I/O instructions (IN, INS, OUT, and OUTS) are explained. Also isolated (direct or I/O mapped I/O) and memory-mapped.
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.
ECE 371 Microprocessor Interfacing
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Course Introduction Purpose  This course provides an introduction to the peripheral functions.
بسم الله الرحمن الرحيم MEMORY AND I/O.
8255:Programmable Peripheral Interface
8085 Microprocessor: Architecture & Support Components.
CS 1410 Intro to Computer Tecnology Computer Hardware1.
PCI 9052 소개 권 동혁. Contents 1.Introduction 2.Major features 3.PCI 9052RDK-LITE.
Networked Embedded Systems Pengyu Zhang EE107 Spring 2016 Lecture 8 Serial Buses.
Memory Interface EEE 365 [FALL 2014] LECTURER 12 ATANU K SAHA BRAC UNIVERSITY.
1 EECS 373 Design of Microprocessor-Based Systems Prabal Dutta University of Michigan Lecture 9: Memory Technologies Oct 5, 2010.
Slides developed in part by Mark Brehob & Prabal Dutta
I2C PROTOCOL SPECIFICATION
EECS 373 Design of Microprocessor-Based Systems Mark Brehob
EECS 373 Design of Microprocessor-Based Systems Prabal Dutta
Architecture & Support Components
8051 Micro Controller.
EECS 373 Design of Microprocessor-Based Systems Prabal Dutta
Presentation transcript:

EECS 373 Design of Microprocessor-Based Systems Prabal Dutta University of Michigan Lecture 6: Memory-Mapped Peripherals September 23, 2010

Announcements Office hours this week Thursday, 9/23 2:00 PM to 3:00 PM 4773 CSE

Advanced Microcontroller Bus Architecture (AMBA) - Advanced High-performance Bus (AHB) - Advanced Peripheral Bus (APB) AHB APB

Internal and external busses are accessed in very different ways! Atmel SAM3U Accessed logically w/ VHDL & Verilog Accessed physically w/ wires

Why not just export the AHB-Lite or APB off-chip?

Outline Minute quiz Announcements Asynchronous Memory External Memory Controller Open Discussions

An SRAM chip and its asynchronous parallel interface A: 20-bit address bus DQ: 8-bit data bus CE#: chip enable WE#: write enable OE#: output enable

GS78108 read cycle…has no clock

GS78108 WE#-controlled write cycle

GS78108 CE#-controlled write cycle

An asynchronous NOR flash memory (that does not have a clock input line) A: 25-bit address bus DQ: A 16-bit data bus CE#: chip enable WE#: write enable OE#: output enable BYTE: 8-bit or 16-bit mode WP#/ACC: write protect RY/BY#: ready/busy RESET#: clear internal status

S29GL512P read cycle

S29GL512P read cycle timing

LCD controller (PMO13701) exports both a parallel and a serial interface 8-bit parallel interface D: 8-bit data bus BS1/BS2: Ifc mode select CS#: chip select RD#: read data WR#: write data RES#: hardware reset D/C#: Slave address bit

Outline Minute quiz Announcements Asynchronous Memory External Memory Controller Open Discussions

Accessing external parallel devices AHB and APB are wide, de-multiplexed internal busses External busses tradeoff pin-count, performance, … ISA VESA AGP PCI VME IDE CF MCUs often integrate external memory controllers Often tailored to specific peripheral class EMCs ease memory/peripheral interfacing

External Memory Controller on SmartFusion Provide glueless interface to external devices Asynchronous and Synchronous memories supported EMC is mapped into system address space 0x70000000 to 0x77FFFFFF Offers 2 chip select lines (CS) 8-bit or 16-bit shared data bus Write enable generation Translates 32-bit AHB transfers into half-word and byte txns Automatic translation of misaligned addresses

SmartFusion’s External Memory Controller

AHB read/write transfers

EMC accepts single AHB transactions EMC operation EMC accepts single AHB transactions Reading external memory devices (EMD) Writing EMD EMC reformats single AHB transactions into EMD format EMC may use multiple CLK cycles to complete access Recall AHB transfers complete in two cycles EMC cannot complete EMD R/W in only two cycles User must configure EMC to include wait states

AHB read transfer with two wait states

EMC operation continued EMC uses extra cycles to complete EMD transaction AHB address phase is one cycle (wait states are in data) EMC requires one cycle to output EMD address EMD requires two cycles to fetch the data EMC requires one additional cycle to transfer data to AHB A total of three wait states on AHB tranfers

Using the EMC to attach four GS78108’s Four asynchronous SRAMs Byte enables used a write enables

Using the EMC to attach two S29GL512’s Two byte-mode NOR flash devices Byte enables used as write enables

Using the EMC to interface with a synchronous SRAM

Outline Minute quiz Announcements Asynchronous Memory External Memory Controller Open Discussions

Questions? Comments? Discussion?