Internal Input/Output Devices (I/O Subsystems)

Slides:



Advertisements
Similar presentations
MC68HC11 System Overview. System block diagram (A8 version)
Advertisements

Department of Computer Engineering
The 8085 Microprocessor Architecture. Contents The 8085 and its Buses. The address and data bus ALU Flag Register Machine cycle Memory Interfacing The.
Processor System Architecture
MICRO PROCESSER The micro processer is a multipurpose programmable, clock driven, register based, electronic integrated device that has computing and decision.
Lecture 3: TI MSP430 Introduction
STUDY OF THE ARIZONA MICROCHIP MICRO CONTROLLERS MOSTEFA GHASSOUL DAMMAM TECHNICAL COLLEGE
ECE200 – Computer Organization Chapter 8 – Interfacing Processors and Peripherals.
CMPE 118 MECHATRONICS CMPE 118/L Introduction to Mechatronics Tu-Th 4:00-5:45pm, Jack Baskin Engineering 372 Lab: Jack Baskin Engineering 150, 24/7 Instructor:
Micro-controller or embedded controller
1 ECE 263 Embedded System Design Lessons 2, 3 68HC12 Hardware Overview, Subsystems, and memory System.
9/20/6Lecture 3 - Instruction Set - Al Hardware interface (part 2)
Basic Computer Organization CH-4 Richard Gomez 6/14/01 Computer Science Quote: John Von Neumann If people do not believe that mathematics is simple, it.
Microcontroller based system design
Engineering 1040: Mechanisms & Electric Circuits Fall 2011 Introduction to Embedded Systems.
INPUT-OUTPUT ORGANIZATION
1 © Unitec New Zealand Embedded Hardware ETEC 6416 Date: - 10 Aug,2011.
CS-280 Dr. Mark L. Hornick 1 Parts of a GP Computer (Microcomputer) Contains separate Microprocessor chip Memory/Memory controller MB control chips Peripheral.
ECE 265 – LECTURE 12 The Hardware Interface 8/22/ ECE265.
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.
Input/Output mechanisms
Introduction to Computing: Lecture 4
Revised: Aug 1, ECE 263 Embedded System Design Lesson 1 68HC12 Overview.
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
Chapter 4 9S12 Architecture From the text by Valvano: Introduction to Embedded Systems: Interfacing to the Freescale 9S12.
Computer Architecture and Organization Introduction.
ECE 447 Fall 2009 Lecture 10: TI MSP430 Timers and Capture Modes.
ECE Lecture 1 Microcontroller Concepts. Basic Computer System CPU Memory Program + Data I/O Interface Parallel I/O Device Serial I/O Device Data.
ECE Lecture 13 Motorola 68HC11. Resources 68HC11 E-series Reference Guide and if necessary 68HC11 E-series Technical Data 68HC11 Reference Manual.
Memory Interface A Course in Microprocessor Electrical Engineering Dept. University of Indonesia.
ECE 447: Lecture 8 Timer System (1). ECE 447: 68HC11 Timer System 1.Generating delays - imposing a specific delay between two points in the program by.
Microprocessor & Interfacing Techniques. HISTORY OF MICROPROCESSORS  Computers are accessible to ever-increasing sectors of the world's population. 
Microprocessor-based Systems
Atmel Atmega128 Overview ALU Particulars RISC Architecture 133, Mostly single cycle instructions 2 Address instructions (opcode, Rs, Rd, offset) 32x8 Register.
ECE 265 – LECTURE 3 68HC11 Address Space, Memory, Registers, and data transfers 3/29/ ECE265.
Chapter 4 9S12 Architecture From the text by Valvano: Introduction to Embedded Systems: Interfacing to the Freescale 9S12.
Microprocessors For a microprocessor to give a working microcomputer system, which can be used for control tasks, additional chips are necessary, e.g.
Computer System Internal components - The processor - Main memory - I / O controllers - Buses External components (peripherals). These include: - keyboard.
8085. Microcomputer Major components of the computer - the processor, the control unit, one or more memory ICs, one or more I/O ICs, and the clock Major.
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
Intel 8051 Another family of microcontroller is the Intel 8051 family. The basic 8051 microcontroller has four parallel input/output ports, port 0, 1,
1 Introduction to Microcontroller Microcontroller Fundamentals & Programming.
DsPIC30F4011 Fall DIP Switches  The upper four switches of SW1 are used to enable LEDs connected to PORTB/C, PORTA/D, PORTE and PORTF. For example,
Programmable Logic Controllers LO1: Understand the design and operational characteristics of a PLC system.
Overview von Neumann Architecture Computer component Computer function
The Computer System.
Computer operation is of how the different parts of a computer system work together to perform a task.
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.
ECE 353 Introduction to Microprocessor Systems Michael J. Schulte Week 9.
EPROM/OTPROM Module MTT48 V EPROM PROGRAMMING.
1 Basic Processor Architecture. 2 Building Blocks of Processor Systems CPU.
ECE 447: Lecture 2 Internal Input/Output Devices A/D Converter.
Chapter Microcontroller
8085 Microprocessor: Architecture & Support Components.
MICROPROCESSOR AMARTYA ROY-72 ANGSHUMAN CHATTERJEE-80 ASHISH LOHIA-70 MOLOY CHAKRABORTY-60.
ECE 447: Lecture 3 Microcontroller Programming in C.
CEng3361/18 CENG 336 INT. TO EMBEDDED SYSTEMS DEVELOPMENT Spring 2007 Recitation 01.
Introduction to Microcontroller Technology
Systems Architecture Keywords Fetch Execute Cycle
Lecture 3: TI MSP430 Introduction
UNIT – Microcontroller.
Diagram of microprocessor interface with IO devices
Introduction to Microprocessors and Microcontrollers
Number Representations and Basic Processor Architecture
Chapter 4 Introduction to Computer Organization
Presentation transcript:

Internal Input/Output Devices (I/O Subsystems) ECE 447 - Lecture 2 Internal Input/Output Devices (I/O Subsystems)

Organization of MC68HC11 in the Single-Chip Mode RAM CPU ROM EEPROM A/D SPI TIMER SCI 8 (4) 8 4 2 PORT A PORT B PORT C PORT D PORT E 3 3 2 8 8 6 8 (4)

Abbreviations CPU - Central Processing Unit := ALU (Arithmetic Logic Unit) + Control RAM - Random Access Memory := Read/Write Memory ROM - Read Only Memory (non-volatile) EPROM - Erasable Programmable ROM EEPROM - Electrically Erasable ROM SCI - Serial Communication Interface (asynchronous serial communication interface) SPI - Serial Peripheral Interface (synchronous serial communication interface) A/D - analog-to-digital converter

Input/Output Ports Input Pins Output Pins Bidirectional Pins Shared Functions Port Port A Port B Port C Port D Port E 3 – 8 3 8 – 2 – 8 6 Timer High Order Address Low Order Address and Data Bus SCI and SPI A/D Converter

Capabilities of the A/D converter VRH  6 V 10010010 10010011 > 2.5 V 10010011 10010100 VRL  0 V successive approximation minimum 4 conversions single-channel or four-channel conversions one-time or continuous conversions

Capabilities of the 68HC11 timer (1) 1. Generating delays - imposing a specific delay between two points in the program label 1 instr1 instr2 delay label2 instrN 2. Pulse accumulation - counting the number of pulses

Capabilities of the 68HC11 timer (2) 3. Input capture - measuring the time between signal edges start stop start stop 4. Output compare - generating signals with the given timing characteristics single pulse periodical signal pulse width period

I/O Device Architecture Control registers instructions address1/name1 ….. Status registers status of the device ….. . . . . . Data registers inputs (operands) ….. addressN/nameN outputs (results)

Input/Output Register Types 1. Control registers - hold instructions that regulate the operation of internal I/O devices 2. Status registers - indicate the current status of internal I/O devices 3. Data registers - hold the input data sent to the I/O device and output data generated by this device 4. Data direction registers - control the direction (in or out) of the data flow to/from bidirectional data registers

Memory mapped I/O Separate I/O (e.g., Intel) (e.g., Motorola) I/O max I/O MAX MAX Control lines: read/write Control lines: read/write memory/io

Memory map of MC68HC11E9 $0000-$01FF $0000 512 bytes RAM $1000 64 bytes I/O registers $B600 $B600-$B7FF 512 bytes EEPROM $D000 $D000-$FFFF 12 kbytes ROM $FFFF Single-chip mode

Memory map of MC68HC11E1 $0000-$01FF $0000 512 bytes RAM $1000 64 bytes I/O registers $B600 $B600-$B7FF 512 bytes EEPROM $FFFF Single-chip mode

in the Expanded Bus Mode Organization of MC68HC11 in the Expanded Bus Mode RAM CPU ROM EEPROM A/D SPI TIMER SCI 8 (4) 8 4 2 PORT A PORT D PORT E 6 8 (4) 3 3 2 EXTERNAL RAM EXTERNAL EPROM EXTERNAL ROM EXTERNAL I/O

Memory map of MC68HC11E1 $0000 $0000 $0000-$01FF 512 bytes RAM $1000 EXT $1000 $1000 $1000-$103F 64 bytes I/O registers EXT $B600 $B600 $B600-$B7FF 512 bytes EEPROM EXT $FFFF $FFFF Single-chip mode Expanded bus mode

Evaluation Board Configuration 68HC11E9 A 68HC24 - Port Replacement Unit RAM 512B EEPROM B B 512B C C E D ROM (e.g., 2764) RAM (e.g. 5164) Program & data Buffalo monitor 12 kB $D000-$FFFF 50 kB $2000-$B5FF

Memory map of MC68HC11E9 with an external RAM $0000-$01FF 512 bytes RAM $0000 $1000 $1000-$103F 64 bytes I/O registers $A5ff $0000-$B5ff 32 kbytes RAM $B600 $B600-$B7FF 512 bytes EEPROM $D000 $D000-$FFFF 12 kbytes ROM $FFFF Expanded bus mode