CPU, Microcomputer and Microcontroller

Total Page:16

File Type:pdf, Size:1020Kb

CPU, Microcomputer and Microcontroller Chapter 1 Types, Selection, and Applications of Microcontrollers Lesson 2 CPU, Microcomputer and Microcontroller 2011 Microcontrollers-... 2nd Ed. Raj Kamal Pearson Education 2 CPU Program-flow control Section Fetch Unit Control unit Internal Buses Instruction Execution Section Arithmetic +,-,, Rotate and Logic XOR, OR, Unit Shift AND,NOT 2011 Microcontrollers-... 2nd Ed. Raj Kamal Pearson Education 3 Internal bus Fetch IR Decode ID Control Execution and Sequencer Circuits CPU 2011 Microcontrollers-... 2nd Ed. Raj Kamal Pearson Education 4 CPU and Buses Fetch Unit Memory IO Devices Control unitProgram Counter Arithmetic and Logic Control Data Unit Bus Bus Address Bus 2011 Microcontrollers-... 2nd Ed. Raj Kamal Pearson Education 5 Microprocessor - Chip or VLSI Section Cache Reset CPU circuit Registers Clock circuit Stack 2011 Microcontrollers-... 2nd Ed. Raj Kamal Pearson Education 6 Microcomputer Chip or VLSI Core Microprocessor Memory Interrupt Timing Unit Handler unit IO Devices Data Control Bus Bus Address Bus 2011 Microcontrollers-... 2nd Ed. Raj Kamal Pearson Education 7 Computer System Microprocessor Micro- Ports Memory computer CD Interrupt Handler unit drive Timing Unit Hard Disk Keyboard Peripherals 2011 Microcontrollers-... 2nd Ed. Raj Kamal Pearson Education 8 Microcontroller Chip or VLSI Core CPU Micro- Ports Memory computer Interrupt Handler unit Serial Devices Timing Devices Watchdog Timer Application specific Devices PWM ADC 2011 Microcontrollers-... 2nd Ed. Raj Kamal Pearson Education 9 Embedded processor - Chip or VLSI Core Cache Reset CPU circuit Large register sets Clock Fast context switching circuit Registers based ALU 2011 Microcontrollers-... 2nd Ed. Raj Kamal Pearson Education 10 Embedded Microcontroller 2011 Microcontrollers-... 2nd Ed. Raj Kamal Pearson Education 11 Embedded Microcontroller CPU Micro- Ports Memory computer Interrupt Handler unit Serial Devices Timing Devices Application Watchdog Timer specific Devices PWM ADC No external memory or devices based system 2011 Microcontrollers-... 2nd Ed. Raj Kamal Pearson Education 12 External Memory Expanded Microcontroller 2011 Microcontrollers-... 2nd Ed. Raj Kamal Pearson Education 13 CPU Micro- Ports Memory computer Interrupt Handler unit Internal Devices Timing Devices External memory or devices based system External Ports External RAM/ROM 2011 Microcontrollers-... 2nd Ed. Raj Kamal Pearson Education 14 Summary 2011 Microcontrollers-... 2nd Ed. Raj Kamal Pearson Education 15 We learnt • Microprocessor— CPU with program flow control unit and execution unit 2011 Microcontrollers-... 2nd Ed. Raj Kamal Pearson Education 16 We learnt • Microcomputer— A Microprocessor with timing unit, interrupt handling unit and memory 2011 Microcontrollers-... 2nd Ed. Raj Kamal Pearson Education 17 We learnt • Microcontrollers— A CPU with on-chip Ports, Memory, Special Function Registers, timers and other registers, serial interface, ADC, PWM and application specific devices 2011 Microcontrollers-... 2nd Ed. Raj Kamal Pearson Education 18 .
Recommended publications
  • Classification of Computers
    Chapter-2 Classification of Computers Computers can be classified many different ways -- by size, by function, or by processing capacity. Functionality wise 4 types a) Micro computer b) Mini Computer c) Mainframe Computer d) Super Computer Microcomputers Microcomputers are connected to networks of other computers. The price of a microcomputer varies from each other depending on the capacity and features of the computer. Microcomputers make up the vast majority of computers. Single user can interact with this computer at a time. It is a small and general purpose computer. Mini Computer Mini Computer is a small and general purpose computer. It is more expensive than a micro computer. It has more storage capacity and speed. It designed to simultaneously handle the needs of multiple users. Mainframe Computer Large computers are called Mainframes. Mainframe computers process data at very high rates of speed, measured in the millions of instructions per second. They are very expensive than micro computer and mini computer. Mainframes are designed for multiple users and process vast amounts of data quickly. Examples: - Banks, insurance companies, manufacturers, mail-order companies, and airlines are typical users. Super Computers The largest computers are Super Computers. They are the most powerful, the most expensive, and the fastest. They are capable of processing trillions of instructions per second. It uses governmental agencies, such as:- Chemical analysis in laboratory Space exploration National Defense Agency National Weather Service Bio-Medical research Design of many other machines Limitations of Computer Computer cannot take over all activities simply because they are less flexible than humans. It does not hold intelligence of its own.
    [Show full text]
  • Inside the Computer Microcomputer Minicomputer Mainframe
    Inside the computer Microcomputer Classification of Systems: • Personal Computer / Workstation. – Microcomputer • Desktop machine, including portables. – Minicomputer • Used for small, individual tasks - such as – Mainframe simple desktop publishing, small business – Supercomputer accounting, etc.... • Typical cost : £500 to £5000. • Chapters 1-5 in Capron • Example : The PCs in the labs are microcomputers. Minicomputer Mainframe • Medium sized server • Large server / Large Business applications • Desk to fridge sized machine. • Large machines in purpose built rooms. • Used for distributed data processing and • Used as large servers and for intensive multi-user server support. business applications. • Typical cost : £5,000 to £500,000. • Typical cost : £500,000 to £10,000,000. • Example : Scarlet is a minicomputer. • Example : IBM ES/9000, IBM 370, IBM 390. Supercomputer • Scientific applications • Large machines. • Typically employ parallel architecture (multiple processors running together). • Used for VERY numerically intensive jobs. • Typical cost : £5,000,000 to £25,000,000. • Example : Cray supercomputer 1 What's in a Computer System? Software • The Onion Model - layers. • Divided into two main areas • Hardware • Operating system • BIOS • Used to control the hardware and to provide an interface between the user and the hardware. • Software • Manages resources in the machine, like • Where does the operating system come in? • Memory • Disk drives • Applications • includes games, word-processors, databases, etc.... Interfaces Hardware • The chunky stuff! •CUI • If you can touch it... it's probably hardware! • Command Line Interface • The mother board. •GUI • If we have motherboards... surely there must be • Graphical User Interface fatherboards? right? •WIMP • What about sonboards, or daughterboards?! • Windows, Icons, Mouse, Pulldown menus • Hard disk drives • Monitors • Keyboards BIOS Basics • Basic Input Output System • Directly controls hardware devices like UARTS (Universal Asynchronous Receiver-Transmitter) - Used in COM ports.
    [Show full text]
  • Microcomputers: NQS PUBLICATIONS Introduction to Features and Uses
    of Commerce Computer Science National Bureau and Technology of Standards NBS Special Publication 500-110 Microcomputers: NQS PUBLICATIONS Introduction to Features and Uses QO IGf) .U57 500-110 NATIONAL BUREAU OF STANDARDS The National Bureau of Standards' was established by an act ot Congress on March 3, 1901. The Bureau's overall goal is to strengthen and advance the Nation's science and technology and facilitate their effective application for public benefit. To this end, the Bureau conducts research and provides; (1) a basis for the Nation's physical measurement system, (2) scientific and technological services for industry and government, (3) a technical basis for equity in trade, and (4) technical services to promote public safety. The Bureau's technical work is per- formed by the National Measurement Laboratory, the National Engineering Laboratory, and the Institute for Computer Sciences and Technology. THE NATIONAL MEASUREMENT LABORATORY provides the national system of physical and chemical and materials measurement; coordinates the system with measurement systems of other nations and furnishes essential services leading to accurate and uniform physical and chemical measurement throughout the Nation's scientific community, industry, and commerce; conducts materials research leading to improved methods of measurement, standards, and data on the properties of materials needed by industry, commerce, educational institutions, and Government; provides advisory and research services to other Government agencies; develops, produces, and
    [Show full text]
  • Microcomputers in Development: a Manager's Guide
    Microcomputers in Development: A Manager's Guide Marcus D. Ingle, Noel Berge, and Marcia Hamilton Kumarianfl P-ress 29 Bishop Road West Hartford, Connecticut 06119 Dedications To Diana who is so special in many ways, Aric who helps me learn, Aaron who makes it fun, and Danika who has it all together. Marcus To my Love and Best Friend - Nancy. Noel I am so grateful for the patience, support and gentle harassment provided by my children, Daniel and Elizabeth, and by my husband Dennis. Marcia Copyright © 1983 by Kumarian Press 29 Bishop Road, West Hartford, Connecticut 06119 All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise, without prior written permission of the publisher. Printed in the United States of America Cover de.ign by Marilyn Penrod This manuscript was prepared on a Kaypro microcomputer using Wordstar and printed on a C. Itoh printer using prestige elite type. Library of Congress Cataloging in Publication Data Ingle, Marcus. Microcomputers in development. Bibliography: p: 1. Microcomputers. 2. Economic development projects ­ Management-Data processing. I. Berge, Noel, 1943- II.Hamilton, Marcia, 1943- III. Title. QA76.5.1445 1983 658.4'038 83-19558 ISBN 0-931816-03-3 ii TABLE OF CONTENTS Table of Contents iii Foreword v[ ( Authors' Pre fac- ix Acknowledgement s xf INTRODUCTION 1 Some Implications 2 What a Microcomputer is Not 2 Who Should Use T~i Guide? 3 The Purpose and Scope of the Guide 5 What the Guide Does and Does Not Do 6 CHAPTER I: THE IMANAGEMENT POTENTIAL OF USER-FRIENDLY MICROCOMPUTERS 9 The Context if Development Management ]I Generic Management Functions 13 The Importance of User-Friendliness in Microcomputer Systems 24 Structured Flexibility 24 User-Friendly Skill.
    [Show full text]
  • Microcomputer-Controlled Devices for Human Implantation
    ROBERT E. FISCHELL MICROCOMPUTER-CONTROLLED DEVICES FOR HUMAN IMPLANTATION Microcomputers, microsensors, micropumps, micropower sources, and micromedication dispens­ sers, in the form of programmable systems, are being developed for implantation in humans. An im­ plantable insulin pump system for the control of diabetes has been developed. An extension of this technique is discussed in the form of a microcomputer-controlled closed-loop system by which medi­ cation is dispensed in specific response to a continuously measured physiological parameter. Particu­ lar stress is laid on the exquisite similarity between systems for orbiting spacecraft and implantable microcom pu ters. INTRODUCTION OUTER SPACE TO INNER SPACE There is an unusual degree of similarity between These are exciting times for the biomedical engi­ spacecraft operating in outer space and electronic neer whose career path has led him to work on the de­ medical implants operating within the inner space of velopment of microcomputer-controlled devices that the human body. The major similarities occur in the operate within the human body. The invention of the command system, the telemetry system, the power transistor in 1947 made possible the first electronic system, micro-miniaturization, and reliability. device to be implanted in a human subject: an artifi­ Command System cial cardiac pacemaker. I That breakthrough resulted The first spacecraft (Sputnik, Explorer I) orbited from three specific characteristics of the transistor as the earth and merely emanated a steady radio-fre­ compared to the vacuum tube, namely: (a) an order quency output. The first electronic medical implant of magnitude smaller size, (b) two orders of magni­ was a heart pacemaker whose output pulse rate was tude less electric power consumption, and (c) an in­ fixed.
    [Show full text]
  • Design and Simulation of an Experimental Microcomputer-Based Instructional System for Music
    University of Massachusetts Amherst ScholarWorks@UMass Amherst Doctoral Dissertations 1896 - February 2014 1-1-1980 Design and simulation of an experimental microcomputer-based instructional system for music. Irwin Stuart Smith University of Massachusetts Amherst Follow this and additional works at: https://scholarworks.umass.edu/dissertations_1 Recommended Citation Smith, Irwin Stuart, "Design and simulation of an experimental microcomputer-based instructional system for music." (1980). Doctoral Dissertations 1896 - February 2014. 3621. https://scholarworks.umass.edu/dissertations_1/3621 This Open Access Dissertation is brought to you for free and open access by ScholarWorks@UMass Amherst. It has been accepted for inclusion in Doctoral Dissertations 1896 - February 2014 by an authorized administrator of ScholarWorks@UMass Amherst. For more information, please contact [email protected]. DESIGN AND SIMULATION OF AN EXPERIMENTAL MICROCOMPUTER-BASED INSTRUCTIONAL SYSTEM FOR MUSIC A Dissertation Presented By IRWIN STUART SMITH Submitted to the Graduate School of the University of Massachusetts in partial fulfillment of the requirements for the degree of DOCTOR OF EDUCATION February 1980 School of Education Irwin Stuart Smith 1980 All Rights Reserved ii DESIGN AND SIMULATION OF AN EXPERIMENTAL MICROCOMPUTER- BAS ED INSTRUCTIONAL SYSTEM FOR MUSIC A Dissertation Presented By IRWIN STUART SMITH Approved as to style and content by: \A lA- ^SLqJlLs^ Howard A. Peelle, Chairperson Portia C. Elliott, Member iii To Betty, Marge, and Irwin iv ACKNOWLEDGMENTS Somewhat to my surprise, the pursuit of an advanced degree has turned out to be not at all an unpleasant experience. I attribute this happy circumstance in no small measure to the many able and congenial people with whom I have had an opportunity to work.
    [Show full text]
  • Personal Computers: How Are They Used in the American Household
    Fourth Floor Oklahoma State University Library PERSONAL COMPUTERS: HOW ARE THEY USED IN THE AMERICAN HOUSEHOLD by STANLEY KEITH WALTON Bachelor of Science Murray State University Murray, Kentucky 1978 Submitted to the Graduate Faculty of the Department of Management College of Business Administration Oklaho ma State University in partial fulfillment of the requirements for the Degree of MASTER OF BUSINESS ADMINISTRATION May, 1984 Name: Stanley Keith Walton Date of Degree: May, 1984 Institution: Oklahoma State University Location: Stillwater, Oklahoma Title of Study: PERSONAL COMPUTERS: HOW ARE THEY USED IN THE AM ERICAN HOUSEHOLD Pages in Study: 100 Candidate for Degree of Master of Business Administration Major Field: Business Administration Scope and Method of Study: This study developes a "post purchase usage survey" for households that own personal computers. The survey was designed, conducted, and analyzed over a period of two months. Additionally, an in-depth look was taken at the entire computer revolution, personal computers, and the changing role households are playing in the computer revolution. Findings and Conclusions: Personal computers used in the Ame rican Household have passed the stage of primarily being used by hobbyist or for only playing games. Home users are adapting a wide varie ty of applications to home computers. However, the American consumer, for the most part, is willing to give up leisure time for pr ogramming activities. But, the consumer is willing to purchase woftware which will provide a similar utility. Nevertheless, these findings have enforced this r esearcher's belief that personal computers in t he American home have become the norm.
    [Show full text]
  • Provides Microcomputer (Personal Computer) Software/Hardware Technical Assistance to School District Personnel; Does Related Work As Required
    MICROCOMPUTER TECHNICIAN GENERAL STATEMENT OF DUTIES: Provides microcomputer (personal computer) software/hardware technical assistance to school district personnel; does related work as required. DISTINGUISHING FEATURES OF THE CLASS: Under general supervision of higher level personnel, an incumbent of this position has responsibility for installing hardware and software; maintaining the network; trouble-shooting and/or isolating hardware and software problems and aiding in various data communication network functions. Employees of this class may assist in training school district administration personnel in the operation and maintenance of microcomputers, as well as software applications selection. Supervision is not a responsibility of this position. EXAMPLES OF WORK: (Illustrative Only) Provides technical assistance to District users when they encounter hardware and/or software problems; Assists in downloading data via commercial software packages for use with approved computer systems and networks; Installs and configures computer equipment; Assembles and tests new microcomputer hardware and software; Analyzes and takes corrective action regarding microcomputers and data communications hardware and software problems; Monitors and maintains the integrity of various installed networks in user school district; Attends workshops and seminars to maintain up-to-date knowledge of new trends and techniques for microcomputer hardware and software; Assists users with microcomputer hardware and software selection; May train users in operation
    [Show full text]
  • Inexpensive Microcomputer Systems for Research and Instruction: a Dream Or Reality?
    Behavior Research Methods & Instrumentation 1978, Vol. 10 (2), 345-351 Inexpensive microcomputer systems for research and instruction: A dream or reality? H. J. DURRETT, JR. Southwest Texas State University, San Marcos, Texas 78666 This paper presents a detailed introduction to two microcomputer systems useful for research and instruction. The systems are ready for immediate use, fully assembled, and require no knowledge of electronics. They also possess the high-level programming language, BASIC, which can be easily learned by researchers and students. The application of microprocessor technology and mass production has allowed the cost for a single microcomputer to be reduced to about $600. At this price, virtually any psychology department or individual researcher can begin to employ computer technology in psychological research and instruction. The hardware specifications, software characteristics, criteria for selection, and possible applications of these systems are considered, with emphasis on use in psychological applications. Computer technology has allowed many dreams to nology to the acquisition and control of behavioral become reality. Newell (Note 1) remarks in a paper data" (Kehoe, Frei, Tait, & Gormezano, 1975, p. 183). entitled "Fairytales," "I see the computer as the en­ Until recently, the cost of the computer was only a chanted technology. Better it is the technology of part of the overall cost of a computerized psychological enchantment, I mean that quite literally .... There are laboratory (Sidowski, 1975). The basic units afforded two essential ingredients in computer technology. First, little flexibility without the addition of input/output it is the technology of how to apply knowledge to devices, more memory, hardware interfaces, and soft­ action, to achieve goals ...
    [Show full text]
  • MICROCOMPUTERS a Microcomputer Is a Small, Relatively
    MICROCOMPUTERS A microcomputer is a small, relatively inexpensive computer with a microprocessor as its central processing unit (CPU). It includes a microprocessor, memory, and input/output (I/O) facilities. Microcomputers became popular in the 1970s and 80s with the advent of increasingly powerful microprocessors. microcomputer contains a microprocessor (a central processing unit on a microchip ),memory in the form of read-only memory and random access memory , I/O ports and a bus or system of interconnecting wires, housed in a unit that is usually called a motherboard . Monitors, keyboards and other devices for input and output may be integrated or separate. Computer memory in the form of RAM, and at least one other less volatile, memory storage device are usually combined with the CPU on a system bus in one unit. Other devices that make up a complete microcomputer system include batteries, a power supply unit, a keyboard and various input/output devices used to convey information to and from a human operator (printers, monitors, human interface devices). Microcomputers are designed to serve only one user at a time, although they can often be modified with software or hardware to concurrently serve more than one user. Microcomputers fit well on or under desks or tables, so that they are within easy access of users. Bigger computers like minicomputers, mainframes, and supercomputers take up large cabinets or even dedicated rooms. A microcomputer comes equipped with at least one type of data storage, usually RAM. Although some microcomputers (particularly early 8-bit home micros) perform tasks using RAM alone, some form of secondary storage is normally desirable.
    [Show full text]
  • Apple Computer: the Ipod, CASE the Imac, and the Business 2 Lessons of Closed Systems
    obr11544_ch03_072-116 09/05/2006 17:32PM Page 91 Chapter 3 / Computer Hardware ● 91 REAL WORLD Apple Computer: The iPod, CASE the iMac, and the Business 2 Lessons of Closed Systems teve Jobs has had much to celebrate lately. But the manufacturers like Dell, HP and IBM. When the technology Apple CEO was particularly happy in February 2006 dust settled, Apple ended up with barely 3.2 percent of the when he announced that the iTunes Music Store had U.S. desktop market. Ssold its billionth song, to a teenager in Michigan who had And that’s the way it was when Apple introduced the first bought a copy of Coldplay’s “Speed of Sound.” That mile- iPod in October 2001. The iPod was another closed system, stone is all the more impressive when you remember that but this time Steve Jobs created a closed system with mass Apple has numerous competitors in the digital music world. appeal. Fulcrum Global Partners estimates that iPods now Yahoo Music Unlimited and the legal incarnation of Napster account for 73 percent of the 30 million MP3 players cur- are gunning for iTunes customers. Sony and Samsung are rently in use in the United States. That’s partially because trying to create iPod slayers. Apple released versions of the iPod and iTunes for Windows. And the field is only getting more crowded. By the sum- But it’s also because Jobs cut a deal with the Big Five record mer of 2006, Amazon may launch a digital music service with companies in 2003 that locked up his device.
    [Show full text]
  • Microcomputer, Minicomputer, Mainframe Interfacing
    Behavior Research Methods, Instruments, & Computers 1985, 17(2), 163-164 Microcomputer, minicomputer, mainframe interfacing MICHAEL YOST, JAMES HOLCOMBE, and DOUGLAS EDDY Trinity University, San Antonio, Texas The problems associated with the transfer ofdata from one computer to another in conducting neuropsychological research are described. The reasons for using different computers to perform different tasks are outlined, and a rationale for using task-specific computers is presented. A detailed description ofthe use and function ofthe Kermit File Transfer Protocol in neuropsycho­ logical research is given. There are a number ofdifferent types of computer net­ noise induced into the lines could not easily be identified works. The ultimate network is one in which there is con­ and corrected. versation in both directions between any ofthe computers (3) A handshaking problem existed between the two in the network. Since the ability to communicate between computers. When communicating over an asynchronous any of the computers is not always a requirement, then line, our IBM computer operated in a half-duplex mode; the ultimate network is not always necessary. Much of that is; data traveled in only one direction at a time (in the communication between the computers in research a full-duplex mode, data can travel in two directions simul­ laboratories is for the transfer of data flIes. This is true taneously). In the half-duplex mode, after a line of data in the neuropsychology laboratory at Trinity University. is sent to the host (IBM) and a carriage return/linefeed As a part ofour research, we transfer data from one com­ is pressed, the terminal (PDP) must wait for a "turn­ puter to another.
    [Show full text]