Input/Output Modes Chapter 8
|
|
- Barbara Potter
- 6 years ago
- Views:
Transcription
1 Input/Output Modes Chapter 8 Microcomputers can communicate with a variety of I/O devices This information can be either data or control Data is usually encoded in numeric or alphanumeric forms such as binary, BCD, and ASCII Control is usually one of several types, such as commands from the MPU, service requests from I/O devices, control codes from the MPU or status codes from I/O devices Roberto Muscedere Images and Text Portions 2003 Prentice Hall 1
2 Input/Output Modes I/O involves the transmission of data from one device to another Sender, transmitter, or source sends the data Receiver or destination receives the data Sender may use a DAV or Data Available signal to let the device know that it is ready The receiver may send back a DACK or Data Acknowledged signal to let the sender know the information was received Known as hardware handshaking Roberto Muscedere Images and Text Portions 2003 Prentice Hall 2
3 Input/Output Modes I/O transfers can be initiated in many ways The MPU may do so either: Unconditionally, the device is always ready for a transfer Conditionally, the device must be asked if it is ready for the transfer Roberto Muscedere Images and Text Portions 2003 Prentice Hall 3
4 Input/Output Modes The device may initiate the transfer as well It can do so by using: An interrupt Requesting the MPU to look at some result from the device A DMA or Direct Memory Access MPU is disabled and external circuit has access to full memory 68HC11 does not support this Roberto Muscedere Images and Text Portions 2003 Prentice Hall 4
5 Input/Output Modes MPU Initiated Unconditional Transfer Circuit was seen before Reads from $8004 gets the status of switches while writes to $8000 enable/disable Light Emitting Diodes (LEDs) Roberto Muscedere Images and Text Portions 2003 Prentice Hall 5
6 Input/Output Modes MPU Initiated Conditional Transfer The MPU begins the transfer, but must wait for the device to finish An example of this is an A/D converter Must wait t c time before data is available Some devices may have a ready flag when completed (EOC) Roberto Muscedere Images and Text Portions 2003 Prentice Hall 6
7 Complete 68HC11 Block Diagram Functional Diagram Has 5 ports: A, B, C, D, and E B and C are reserved in expanded mode, but can be used for parallel hardware handshaking Roberto Muscedere Images and Text Portions 2003 Prentice Hall 7
8 Data Converters All physical signals exist in analog form Binary is an analog signal; however, we commonly exclude it from analog terminology We can perform analog processing on signals; however, it is sometimes more attractive to use economical digital ICs to perform the same types of processing algorithms (if not better ones) Digital Signal Processing (DSP) Microcontrollers Roberto Muscedere Images and Text Portions 2003 Prentice Hall 8
9 Data Converters In order to use digital processing effectively, we need to move information from the analog domain into the digital domain (binary) To convert analog signals to digital numbers, we use an analog-to-digital converter (A-to-D, A/D converter, ADC) Once we have processed this information, we may need to move the digital data back into analog form To convert digital numbers back to analog signals, we use a digital-to-analog converter (D-to-A, D/A converter, DAC) Roberto Muscedere Images and Text Portions 2003 Prentice Hall 9
10 Sampling of Analog Signals DSP relies on the sampling of analog signals A switch closes periodically under the control of a periodic clock The switch is closed for a short period of time and the samples are stored (held) on the capacitor This is a sample-and-hold circuit We sample the data during the hold intervals Output is fed to an A/D converter Roberto Muscedere Images and Text Portions 2003 Prentice Hall 10
11 Signal Quantization Consider an analog signal between 0 and 10V Assume we wish to convert this to a 4-bit binary value (0 to 15) Our resolution will then be 10/15V or 2/3V, therefore: 0V will be represented as /3V will be represented as V will be represented as V will be represented as V could be represented as 1001 or 1010, but will be 1001 as it is closer to 6V This adjustment is known as quantization This error in coding is known as quantization error Using more bits for the digital representation reduces this error Roberto Muscedere Images and Text Portions 2003 Prentice Hall 11
12 D-to-A Conversion In order to produce smooth analog signals, the output of a DAC is fed to a sample and hold circuit and then goes through a low pass filter (eliminate high-frequency transitions) Roberto Muscedere Images and Text Portions 2003 Prentice Hall 12
13 Functional Blocks In schematic form, we use functional blocks to describe ADCs and DACs Analog signal is v A Digital signal width depends on accuracy of the converters (N) Roberto Muscedere Images and Text Portions 2003 Prentice Hall 13
14 A/D Converter Circuits (Feedback type Converter) Uses a DAC! Comparator has a single bit output, v A >v O or v A <v O Up/down counter changes v O based on comparison Process continues until DAC output is very close to input (comparator output oscillates) Slower converter, low bit resolution (8-10 bits), economical (microcontrollers) Roberto Muscedere Images and Text Portions 2003 Prentice Hall 14
15 A/D Converter Circuits (Parallel or Flash Converter) Utilizes 2 N -1 comparators to compare the input signal to the 2 N -1 possible quantization levels The outputs of the comparators are fed into an encoding block, which outputs the digital word Very fast (hundreds of megahertz, one clock cycle), low bit resolution (10-12 bits), and expensive (complex circuits) Roberto Muscedere Images and Text Portions 2003 Prentice Hall 15
16 A/D Conversion 68HC11 Port E is used for either input or for A/D conversion $1039 Bit 7 (ADPU) enables the A/D Bit 6 (CSEL) selects which clock generator to use, E- clock (0) or built in RC (1) $1030 Bit 7 (CCF) indicates when a conversion is done Bit 5 (SCAN) is set to continuously convert signals Bit 4 (MULT) is set to convert multiple signals Bit 3-0 select which input to convert (when MULT=0) Roberto Muscedere Images and Text Portions 2003 Prentice Hall 16
17 A/D Conversion 68HC11 Conversion is performed 4 times, either on the same input or on 4 in sequence 32 E-clocks are required for each conversion 128 total E-clocks are used for one full conversion round Roberto Muscedere Images and Text Portions 2003 Prentice Hall 17
18 Device Initiated Transfers - Interrupts Interrupts are the preferred method for transferring data to and from devices Polling (or waiting) can consume a significant amount of CPU resources May miss something when MPU is handling other requests Roberto Muscedere Images and Text Portions 2003 Prentice Hall 18
19 Device Initiated Transfers - Interrupts When an interrupt occurs, the MPU automatically pushes the PC, IY, IX, ACCA, ACCB and CCR onto the stack It then proceeds to the ISR location Once a RTI instruction is reached, the MPU pops all previous registers and PC off the stack to continue prior operation Roberto Muscedere Images and Text Portions 2003 Prentice Hall 19
20 Interrupts /XIRQ is active low /IRQ can be programmed to be active low, or falling edge sensitive by setting bit 5 (IRQE) of $1039 /IRQ interrupts can be disabled by using SEI and enabled by using CLI /XIRQ can only be disabled in the first 64 E-clocks of the MPU /XIRQ can be initiated by a power-failure Roberto Muscedere Images and Text Portions 2003 Prentice Hall 20
21 Interrupts The address of all ISR is in upper memory starting at $FFC0 Only /IRQ and /XIRQ are generated externally while most others are generated by internal microcontroller components Roberto Muscedere Images and Text Portions 2003 Prentice Hall 21
22 Interrupts Interrupts can be interrupted (another interrupt occurs in the ISR) if I=0 (CCR) See figure When an interrupt occurs, I (CCR) is set to 1 in ISR automatically Set to avoid signal bouncing Roberto Muscedere Images and Text Portions 2003 Prentice Hall 22
23 Multiple Interrupts Multiple devices share a single interrupt line A secondary line (or other method) is later polled in the ISR to determine the true source of the interrupt Roberto Muscedere Images and Text Portions 2003 Prentice Hall 23
24 Port A is used for either I/O or for pulse accumulation or input capture and output compare As an I/O port, 5 pins are outputs and 3 are inputs (default) Controlled by $1021, $1022 & $1026 $1000 (PORTA) Each bit corresponds to I/O pin Port A 68HC Roberto Muscedere Images and Text Portions 2003 Prentice Hall 24
25 Port A 68HC11 Bit 7 of Port A can be used as a pulse accumulator $1027 Increments based on settings of next register $1026 PAEN enables pulse accumulation PAMOD & PEDGE set the external events required to increment counter Remaining bits control alternative functions Roberto Muscedere Images and Text Portions 2003 Prentice Hall 25
26 Port A 68HC11 First 4 pins can be used as an input capture (one is shared with output compare) $1021 (TCTL2) Select the mode of capture (which edge) When event occurs, free running timer is copied to TIC1-3 ($1010-$1015) $1022 (TMSK1) Selects which capture will generate an interrupt $1023 (TFLG1) Write a 1 here to clear the interrupt so it can occur again Roberto Muscedere Images and Text Portions 2003 Prentice Hall 26
27 Port A 68HC11 Other pins can be used as an output compare When the free running timer equals one of the output compares ($1016-$101F), the corresponding output pin is changed $1020 (TCTL1) Select the action of the compare $1022 (TMSK1) Selects which compare will generate an interrupt $1023 (TFLG1) Write a 1 here to clear the interrupt so it can occur again Roberto Muscedere Images and Text Portions 2003 Prentice Hall 27
Roberto Muscedere Images and Text Portions 2003 Prentice Hall 1
Microcomputer Structure and Operation Chapter 5 A Microprocessor ( P) contains the controller, ALU and internal registers A Microcomputer ( C) contains a microprocessor, memory (RAM, ROM, etc), input and
More informationInterrupt and Timer ISRs. Student's name & ID: Partner's name(s) & ID(s): Your Section number & TA's name
MPS Interrupt Lab Exercise Interrupt and Timer ISRs Student's name & ID: Partner's name(s) & ID(s): Your Section number & TA's name Notes: You must work on this assignment with your partner. Hand in a
More informationME 4447 / ME 6405: Introduction to Mechatronics
ME 4447 / ME 6405: Introduction to Mechatronics Interrupts and Resets Rohan Bansal Edward Chyau Anirudh Rudraraju Interrupts and Resets 1 Telephone Analogy How do we know if someone is calling? Use polling
More information538 Lecture Notes Week 5
538 Lecture Notes Week 5 (Sept. 30, 2013) 1/15 538 Lecture Notes Week 5 Answers to last week's questions 1. With the diagram shown for a port (single bit), what happens if the Direction Register is read?
More informationECE 372 Microcontroller Design Parallel IO Ports - Interrupts. ECE 372 Microcontroller Design Parallel IO Ports - Interrupts
Interrupts An interrupt can be compared with a phone call interrupting your task which you will resume when the call is finished You can mask an interrupt just as you can decide not to answer any phone
More information538 Lecture Notes Week 5
538 Lecture Notes Week 5 (October 4, 2017) 1/18 538 Lecture Notes Week 5 Announements Midterm: Tuesday, October 25 Answers to last week's questions 1. With the diagram shown for a port (single bit), what
More informationIntroduction to Mechatronics. Fall Instructor: Professor Charles Ume. Interrupts and Resets
ME645 Introduction to Mechatronics Fall 24 Instructor: Professor Charles Ume Interrupts and Resets Reason for Interrupts You might want instructions executed immediately after internal request and/or request
More informationMicrocomputer Architecture and Programming
IUST-EE (Chapter 1) Microcomputer Architecture and Programming 1 Outline Basic Blocks of Microcomputer Typical Microcomputer Architecture The Single-Chip Microprocessor Microprocessor vs. Microcontroller
More informationLab 9: On-Board Time Generation and Interrupts
Lab 9: On-Board Time Generation and Interrupts Summary: Develop a program and hardware interface that will utilize externally triggered interrupts and the onboard timer functions of the 68HC12. Learning
More informationInterrupt and Timer ISRs. Student's name & ID (1): Partner's name & ID (2): Your Section number & TA's name
MPSD Interrupt Lab Exercise Interrupt and Timer ISRs Student's name & ID (1): Partner's name & ID (2): Your Section number & TA's name Notes: You must work on this assignment with your partner. Hand in
More information8051 Microcontroller
8051 Microcontroller The 8051, Motorola and PIC families are the 3 leading sellers in the microcontroller market. The 8051 microcontroller was originally developed by Intel in the late 1970 s. Today many
More informationIntroduction to Computers - Chapter 4
Introduction to Computers - Chapter 4 Since the invention of the transistor and the first digital computer of the 1940s, computers have been increasing in complexity and performance; however, their overall
More informationEE4390 Microprocessors
EE4390 Microprocessors Lessons 23, 24 - Exceptions - Resets and Interrupts Revised: Aug 1, 2003 1 - Exceptions - Resets and Interrupts Polling vs. Interrupts Exceptions: Resets and Interrupts 68HC12 Exceptions
More informationInterrupts. Interrupts Resets Low Power Modes. Resets Low Power Modes
Interrupts Resets Low Power Modes Drop everything and get your priorities straight! Alan Claghorn Chris Golder Raja Shah Outline Interrupts Why use interrupts? Types of interrupts Interrupt Flow Priorities
More informationEE Embedded Systems Design. Lessons Exceptions - Resets and Interrupts
EE4800-03 Embedded Systems Design Lessons 7-10 - Exceptions - Resets and Interrupts 1 - Exceptions - Resets and Interrupts Polling vs. Interrupts Exceptions: Resets and Interrupts 68HC12 Exceptions Resets
More informationSECTION 5 RESETS AND INTERRUPTS
SECTION RESETS AND INTERRUPTS Resets and interrupt operations load the program counter with a vector that points to a new location from which instructions are to be fetched. A reset immediately stops execution
More informationMicrocontrollers. Microcontroller
Microcontrollers Microcontroller A microprocessor on a single integrated circuit intended to operate as an embedded system. As well as a CPU, a microcontroller typically includes small amounts of RAM and
More informationThe HC11. Alexandra Carey & Richard Hughey. University of California, School of Engineering Santa Cruz, CA 95064
Abstract A microcontroller is a microprocessor that controls everyday appliances such as microwaves and wristwatches. The microkits used by computer engineering classes use a Motorola HC11 microcontroller
More informationModule Introduction. PURPOSE: The intent of this module is to explain MCU processing of reset and interrupt exception events.
Module Introduction PURPOSE: The intent of this module is to explain MCU processing of reset and interrupt exception events. OBJECTIVES: - Describe the difference between resets and interrupts. - Identify
More informationEE 3170 Microcontroller Applications
Block Diagram of 68HC11A8 EE 3170 Microcontroller Applications Lecture 14: Advanced 68HC11 Hardware- PartI A: Measuring Real-Time in the 68HC11 - Miller 7.7-7.8 Based on slides for ECE3170 by Profs. Davis,
More informationWhat happens when an HC12 gets in unmasked interrupt:
What happens when an HC12 gets in unmasked interrupt: 1. Completes current instruction 2. Clears instruction queue 3. Calculates return address 4. Stacks return address and contents of CPU registers 5.
More informationEEL 4744C: Microprocessor Applications. Lecture 7. Part 2. M68HC12 Interrupt. Dr. Tao Li 1
EEL 4744C: Microprocessor Applications Lecture 7 Part 2 M68HC12 Interrupt Dr. Tao Li 1 Reading Assignment Software and Hardware Engineering (New version): Chapter 12 or SHE (old version) Chapter 8 And
More informationHC12 Built-In Hardware
HC12 Built-In Hardware The HC12 has a number of useful pieces of hardware built into the chip. Different versions of the HC12 have slightly different pieces of hardware. We are using the MC68HC912B32 chip
More informationThis set of Microprocessor Multiple Choice Questions & Answers (MCQs) focuses on PIO 8255 (Programmable Input Output Port).
This set of Microprocessor Multiple Choice Questions & Answers (MCQs) focuses on PIO 8255 (Programmable Input Output Port). 1. Programmable peripheral input-output port is other name for a) serial input-output
More informationEC2304-MICROPROCESSOR AND MICROCONROLLERS 2 marks questions and answers UNIT-I
EC2304-MICROPROCESSOR AND MICROCONROLLERS 2 marks questions and answers 1. Define microprocessors? UNIT-I A semiconductor device(integrated circuit) manufactured by using the LSI technique. It includes
More informationChapter 14. Motorola MC68HC11 Family MCU Architecture
Chapter 14 Motorola MC68HC11 Family MCU Architecture Lesson 1 68HC11 MCU Architecture overview 2 Outline CPU Registers, MCU Architecture overview Address and Data Buses Execution Unit- ALU Ports 3 CPU
More informationBASIC INTERFACING CONCEPTS
Contents i SYLLABUS UNIT - I 8085 ARCHITECTURE Introduction to Microprocessors and Microcontrollers, 8085 Processor Architecture, Internal Operations, Instructions and Timings, Programming the 8085-Introduction
More informationPulse Accumulator on the HCS12
Pulse Accumulator on the HCS12 A pulse accumulator counts the number of active edges at the input of its channel. The HCS12 has four 8-bit pulse accumulators, configurable as two 16- bit pulse accumulators.
More informationAli Karimpour Associate Professor Ferdowsi University of Mashhad
AUTOMATIC CONTROL SYSTEMS Ali Karimpour Associate Professor Ferdowsi University of Mashhad Main reference: Christopher T. Kilian, (2001), Modern Control Technology: Components and Systems Publisher: Delmar
More informationConsider, for example an input device that has data available at
Lecture-38 CPU Initiated Conditional I/O Transfer In conditional data transfer, execution of the I/O instruction transferring the data is conditioned on the I/O device being ready for the data transfer
More information10. INPUT/OUTPUT STRUCTURES
10. INPUT/OUTPUT STRUCTURES (R. Horvath, Introduction to Microprocessors, Chapter 10) The input/output (I/O) section of a computer handles the transfer of information between the computer and the devices
More informationVALLIAMMAI ENGINEERING COLLEGE S.R.M. NAGAR, KATTANKULATHUR-603203. DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING VII-EEE EE6502- MICROPROCESSORS AND MICROCONTROLLERS QUESTION BANK UNIT I 1. What
More informationUsing Input Capture on the 9S12
The 9S12 Input Capture Function Huang Sections 8.1-8.5 ECT_16B8C Block User Guide o Interrupts on the 9S12 o Capturing the time of an external event o The 9S12 Input Capture Function o Registers used to
More informationTopics. Interfacing chips
8086 Interfacing ICs 2 Topics Interfacing chips Programmable Communication Interface PCI (8251) Programmable Interval Timer (8253) Programmable Peripheral Interfacing - PPI (8255) Programmable DMA controller
More informationINPUT/OUTPUT THE Z80 PROGRAMMABLE INPUT/OUTPUT (Z80-PIO )
INPUT/OUTPUT To enable the microcomputer system to output data or to receive data from outside world. This allow the CPU to communicate with outside world. The way data is sent or received is either in
More informationQuestion Bank Microprocessor and Microcontroller
QUESTION BANK - 2 PART A 1. What is cycle stealing? (K1-CO3) During any given bus cycle, one of the system components connected to the system bus is given control of the bus. This component is said to
More informationEE445L Fall 2010 Final Version A Page 1 of 10
EE445L Fall 2010 Final Version A Page 1 of 10 Jonathan W. Valvano First: Last: This is the closed book section. You must put your answers in the boxes on this answer page. When you are done, you turn in
More informationME 4447/6405. Microprocessor Control of Manufacturing Systems and Introduction to Mechatronics. Instructor: Professor Charles Ume.
ME 4447/6405 Microprocessor Control of Manufacturing Systems and Introduction to Mechatronics Instructor: Professor Charles Ume Timers Lecture Outline General Description of Main Timer Input Capture Concept
More informationCapstone Design Course. Lecture-2: The Timer
Capstone Design Course Lecture-2: The Timer By Syed Masud Mahmud, Ph.D. Copyright 2002 by Syed Masud Mahmud 1 The Timer The 68HC11 has a 16-Bit Free Running Timer. The count value of the timer is available
More informationComputer Hardware Requirements for ERTSs: Microprocessors & Microcontrollers
Lecture (4) Computer Hardware Requirements for ERTSs: Microprocessors & Microcontrollers Prof. Kasim M. Al-Aubidy Philadelphia University-Jordan DERTS-MSc, 2015 Prof. Kasim Al-Aubidy 1 Lecture Outline:
More informationAli Karimpour Associate Professor Ferdowsi University of Mashhad
AUTOMATIC CONTROL SYSTEMS Ali Karimpour Associate Professor Ferdowsi University of Mashhad Main reference: Christopher T. Kilian, (2001), Modern Control Technology: Components and Systems Publisher: Delmar
More informationMicroProcessor. MicroProcessor. MicroProcessor. MicroProcessor
1 2 A microprocessor is a single, very-large-scale-integration (VLSI) chip that contains many digital circuits that perform arithmetic, logic, communication, and control functions. When a microprocessor
More informationOverview of Microcontroller and Embedded Systems
UNIT-III Overview of Microcontroller and Embedded Systems Embedded Hardware and Various Building Blocks: The basic hardware components of an embedded system shown in a block diagram in below figure. These
More informationEE 308/MENG 483 Spring 2017
Exam II Review April 2017 Introduction to the MC9S12 Timer Subsystem The MC9S12 has a 16-bit counter that runs with a 24 MHz. The clock starts at 0x0000, counts up until it gets to 0xFFFF. It takes 2.7307
More informationIntroduction to the MC9S12 Hardware Subsystems
Setting and clearing bits in C Using pointers in C o Program to count the number of negative numbers in an area of memory Introduction to the MC9S12 Hardware Subsystems o The MC9S12 timer subsystem Operators
More informationMAHALAKSHMI ENGINEERING COLLEGE TIRUCHIRAPALLI UNIT IV I/O INTERFACING PART A (2 Marks)
MAHALAKSHMI ENGINEERING COLLEGE TIRUCHIRAPALLI-621213. UNIT IV I/O INTERFACING PART A (2 Marks) 1. Name the three modes used by the DMA processor to transfer data? [NOV/DEC 2006] Signal transfer mode (cycling
More informationIntroduction to Embedded Systems
Stefan Kowalewski, 4. November 25 Introduction to Embedded Systems Part 2: Microcontrollers. Basics 2. Structure/elements 3. Digital I/O 4. Interrupts 5. Timers/Counters Introduction to Embedded Systems
More informationFredrick M. Cady. Assembly and С Programming forthefreescalehcs12 Microcontroller. шт.
SECOND шт. Assembly and С Programming forthefreescalehcs12 Microcontroller Fredrick M. Cady Department of Electrical and Computer Engineering Montana State University New York Oxford Oxford University
More informationUNIT V MICRO CONTROLLER PROGRAMMING & APPLICATIONS TWO MARKS. 3.Give any two differences between microprocessor and micro controller.
UNIT V -8051 MICRO CONTROLLER PROGRAMMING & APPLICATIONS TWO MARKS 1. What is micro controller? Micro controller is a microprocessor with limited number of RAM, ROM, I/O ports and timer on a single chip
More informationSYLLABUS UNIT - I 8086/8088 ARCHITECTURE AND INSTRUCTION SET
1 SYLLABUS UNIT - I 8086/8088 ARCHITECTURE AND INSTRUCTION SET Intel 8086/8088 Architecture Segmented Memory, Minimum and Maximum Modes of Operation, Timing Diagram, Addressing Modes, Instruction Set,
More informationIn this tutorial, we will discuss the architecture, pin diagram and other key concepts of microprocessors.
About the Tutorial A microprocessor is a controlling unit of a micro-computer, fabricated on a small chip capable of performing Arithmetic Logical Unit (ALU) operations and communicating with the other
More informationQUESTION BANK CS2252 MICROPROCESSOR AND MICROCONTROLLERS
FATIMA MICHAEL COLLEGE OF ENGINEERING & TECHNOLOGY Senkottai Village, Madurai Sivagangai Main Road, Madurai -625 020 QUESTION BANK CS2252 MICROPROCESSOR AND MICROCONTROLLERS UNIT 1 - THE 8085 AND 8086
More informationvon Neumann Architecture Basic Computer System Early Computers Microprocessor Reading Assignment An Introduction to Computer Architecture
Reading Assignment EEL 4744C: Microprocessor Applications Lecture 1 Part 1 An Introduction to Computer Architecture Microcontrollers and Microcomputers: Chapter 1, Appendix A, Chapter 2 Software and Hardware
More informationBasic Computer System. von Neumann Architecture. Reading Assignment. An Introduction to Computer Architecture. EEL 4744C: Microprocessor Applications
Reading Assignment EEL 4744C: Microprocessor Applications Lecture 1 Part 1 An Introduction to Computer Architecture Microcontrollers and Microcomputers: Chapter 1, Appendix A, Chapter 2 Software and Hardware
More informationLecture 1. Course Overview and The 8051 Architecture
Lecture 1 Course Overview and The 8051 Architecture MCUniversity Program Lectures 8051 architecture t System overview of C8051F020 8051 instruction set System clock, crossbar and GPIO Assembler directives
More informationEECS 373 Midterm 2 Fall 2018
EECS 373 Midterm 2 Fall 2018 Name: unique name: Sign the honor code: I have neither given nor received aid on this exam nor observed anyone else doing so. Nor did I discuss this exam with anyone after
More informationMicrocontroller basics
FYS3240 PC-based instrumentation and microcontrollers Microcontroller basics Spring 2017 Lecture #4 Bekkeng, 30.01.2017 Lab: AVR Studio Microcontrollers can be programmed using Assembly or C language In
More informationSH69P55A EVB. Application Note for SH69P55A EVB SH69P55A EVB SH69V55A
Application Note for SH69P55A EVB SH69P55A EVB The SH69P55A EVB is used to evaluate the SH69P55A chip's function for the development of application program. It contains of a SH69V55A chip to evaluate the
More informationAE66/AC66/AT66/ AE108/AC108/AT108 MICROPROCESSORS & MICROCONTROLLERS
Q.2 a. Draw pin diagram and signal group diagram of 8085 microprocessor. (8) b. List out the various categories of the 8085 instructions. Give examples of the instructions for each group. (8) Data transfer
More informationBachelor of Engineering in Computer and Electronic Engineering
Bachelor of Engineering in Computer and Electronic Engineering Computer Engineering 1 Year 2 Semester 3 Autumn 08 Niall O Keeffe Instructions to Candidates: - 2 hours duration Answer 4 out of 6 questions.
More informationComputer Hardware Requirements for Real-Time Applications
Lecture (4) Computer Hardware Requirements for Real-Time Applications Prof. Kasim M. Al-Aubidy Computer Engineering Department Philadelphia University Real-Time Systems, Prof. Kasim Al-Aubidy 1 Lecture
More informationMicroprocessors & Interfacing
Lecture Overview Microprocessors & Interfacing Interrupts (I) Lecturer : Dr. Annie Guo Introduction to Interrupts Interrupt system specifications Multiple sources of interrupts Interrupt priorities Interrupts
More informationInterrupts (I) Lecturer: Sri Notes by Annie Guo. Week8 1
Interrupts (I) Lecturer: Sri Notes by Annie Guo Week8 1 Lecture overview Introduction to Interrupts Interrupt system specifications Multiple Sources of Interrupts Interrupt Priorities Interrupts in AVR
More informationChapter 7 Central Processor Unit (S08CPUV2)
Chapter 7 Central Processor Unit (S08CPUV2) 7.1 Introduction This section provides summary information about the registers, addressing modes, and instruction set of the CPU of the HCS08 Family. For a more
More informationME 4447/6405. Microprocessor Control of Manufacturing Systems and Introduction to Mechatronics. Instructor: Professor Charles Ume LECTURE 6
ME 4447/6405 Microprocessor Control of Manufacturing Systems and Introduction to Mechatronics Instructor: Professor Charles Ume LECTURE 6 MC9S12C Microcontroller Covered in Lecture 5: Quick Introduction
More informationGrundlagen Microcontroller Interrupts. Günther Gridling Bettina Weiss
Grundlagen Microcontroller Interrupts Günther Gridling Bettina Weiss 1 Interrupts Lecture Overview Definition Sources ISR Priorities & Nesting 2 Definition Interrupt: reaction to (asynchronous) external
More informationMicroprocessors/Microcontrollers
Microprocessors/Microcontrollers A central processing unit (CPU) fabricated on one or more chips, containing the basic arithmetic, logic, and control elements of a computer that are required for processing
More information1. Define Peripherals. Explain I/O Bus and Interface Modules. Peripherals: Input-output device attached to the computer are also called peripherals.
1. Define Peripherals. Explain I/O Bus and Interface Modules. Peripherals: Input-output device attached to the computer are also called peripherals. A typical communication link between the processor and
More informationECE/CE 3720: Embedded System Design
Basic Components of Input Capture Slide 1 ECE/CE 3720: Embedded System Design Chris J. Myers Lecture 12: Input Capture Slide 3 Basic Principles of Input Capture Basic Principles of Input Capture (cont)
More informationRegisters Format. 4.1 I/O Port Address
4 Registers Format The detailed descriptions of the register format and structure of the ACL- 8112 are specified in this chapter. This information is quite useful for the programmer who wish to handle
More informationSH69P48A EVB. Application Notes for SH69P48A EVB SH69V48A JP2 J4(ICE_J4) S1 IDD TEST JP1 74HC273 JP4 JP3 74HC273 JP6 STKOVE JP7 SW1 J5(ICE_J5)
SH69P48A EVB Application Notes for SH69P48A EVB The SH69P48A EVB is used to evaluate the SH69P48A chip's function for the development of application program. It contains of a SH69V48A chip to evaluate
More informationCS/ECE 5780/6780: Embedded System Design
CS/ECE 5780/6780: Embedded System Design John Regehr Lecture 10: Interrupts in the 6812 General Features of Interrupts All interrupting systems must have the: Ability for the hardware to request action
More informationFIFTH SEMESTER DIPLOMA EXAMINATION IN ENGINEERING/ TECHNOLOGY-MARCH 2014 EMBEDDED SYSTEMS (Common for CT,CM) [Time: 3 hours] (Maximum marks : 100)
(Revision-10) FIFTH SEMESTER DIPLOMA EXAMINATION IN ENGINEERING/ TECHNOLOGY-MARCH 2014 EMBEDDED SYSTEMS (Common for CT,CM) [Time: 3 hours] (Maximum marks : 100) PART-A (Maximum marks : 10) I. Answer all
More informationWed. Aug 23 Announcements
Wed. Aug 23 Announcements Professor Office Hours 1:30 to 2:30 Wed/Fri EE 326A You should all be signed up for piazza Most labs done individually (if not called out in the doc) Make sure to register your
More informationTEVATRON TECHNOLOGIES PVT. LTD Embedded! Robotics! IoT! VLSI Design! Projects! Technical Consultancy! Education! STEM! Software!
Summer Training 2016 Advance Embedded Systems Fast track of AVR and detailed working on STM32 ARM Processor with RTOS- Real Time Operating Systems Covering 1. Hands on Topics and Sessions Covered in Summer
More informationChapter 1. Microprocessor architecture ECE Dr. Mohamed Mahmoud.
Chapter 1 Microprocessor architecture ECE 3130 Dr. Mohamed Mahmoud The slides are copyright protected. It is not permissible to use them without a permission from Dr Mahmoud http://www.cae.tntech.edu/~mmahmoud/
More informationSANKALCHAND PATEL COLLEGE OF ENGINEERING, VISNAGAR. ELECTRONICS & COMMUNICATION DEPARTMENT Question Bank- 1
SANKALCHAND PATEL COLLEGE OF ENGINEERING, VISNAGAR ELECTRONICS & COMMUNICATION DEPARTMENT Question Bank- 1 Subject: Microcontroller and Interfacing (151001) Class: B.E.Sem V (EC-I & II) Q-1 Explain RISC
More informationM68HC08 Microcontroller The MC68HC908GP32. General Description. MCU Block Diagram CPU08 1
M68HC08 Microcontroller The MC68HC908GP32 Babak Kia Adjunct Professor Boston University College of Engineering Email: bkia -at- bu.edu ENG SC757 - Advanced Microprocessor Design General Description The
More informationInfineon C167CR microcontroller, 256 kb external. RAM and 256 kb external (Flash) EEPROM. - Small single-board computer (SBC) with an
Microcontroller Basics MP2-1 week lecture topics 2 Microcontroller basics - Clock generation, PLL - Address space, addressing modes - Central Processing Unit (CPU) - General Purpose Input/Output (GPIO)
More informationEC 6504 MICROPROCESSOR AND MICROCONTROLLER
DEPARTMENTOFELECTRONICS&COMMUNICATIONENGINEERING EC 6504 MICROPROCESSOR AND MICROCONTROLLER UNIT I THE 8086 MICROPROCESSOR PARTA 1. What is microprocessor? What is the difference between a MP and CPU?
More informationProcessor and compiler dependent
Fundamental concept in computation Interrupt execution of a program to handle an event Don t have to rely on program relinquishing control Can code program without worrying about others Issues What can
More informationAdvanced Parallel Architecture Lesson 3. Annalisa Massini /2015
Advanced Parallel Architecture Lesson 3 Annalisa Massini - 2014/2015 Von Neumann Architecture 2 Summary of the traditional computer architecture: Von Neumann architecture http://williamstallings.com/coa/coa7e.html
More informationChapter 1 Microprocessor architecture ECE 3120 Dr. Mohamed Mahmoud http://iweb.tntech.edu/mmahmoud/ mmahmoud@tntech.edu Outline 1.1 Computer hardware organization 1.1.1 Number System 1.1.2 Computer hardware
More informationMPC55xx Highlighted Features
MPC55xx Highlighted Features Why Do I Need an etpu? Number one constraint of microcontrollers is their limited ability to perform high speed time related tasks. Limited by CPU interrupt overhead in servicing
More informationWrite A General Form Of The Assembly
Write A General Form Of The Assembly Instruction Of 8085 Official Full-Text Publication: An Introduction to Microprocessor 8085 on ResearchGate, the professional network for scientists. Therefore, it is
More information8051 Microcontroller Interrupts
8051 Microcontroller Interrupts There are five interrupt sources for the 8051, which means that they can recognize 5 different events that can interrupt regular program execution. Each interrupt can be
More information8051 Microcontroller
8051 Microcontroller 1 Salient Features (1). 8 bit microcontroller originally developed by Intel in 1980. (2). High-performance CMOS Technology. (3). Contains Total 40 pins. (4). Address bus is of 16 bit
More informationUNIT - II PERIPHERAL INTERFACING WITH 8085
UNIT - II PERIPHERAL INTERFACING WITH 8085 Peripheral Interfacing is considered to be a main part of Microprocessor, as it is the only way to interact with the external world. The interfacing happens with
More informationRyerson University Department of Electrical and Computer Engineering ELE 538 Microprocessor Systems Final Examination December 8, 2003
Ryerson University Department of Electrical and Computer Engineering ELE 538 Microprocessor Systems Final Examination December 8, 23 Name: Student Number: Time limit: 3 hours Section: Examiners: K Clowes,
More informationAVR Microcontrollers Architecture
ก ก There are two fundamental architectures to access memory 1. Von Neumann Architecture 2. Harvard Architecture 2 1 Harvard Architecture The term originated from the Harvard Mark 1 relay-based computer,
More informationECE/CS 5780/6780: Embedded System Design
ECE/CS 5780/6780: Embedded System Design Scott R. Little Lecture 10: Interrupts in the 6812 Scott R. Little (Lecture 10: 6812 Interrupts) ECE/CS 5780/6780 1 / 35 General Features of Interrupts All interrupting
More informationGeneral Features of Interrupts. ECE/CS 5780/6780: Embedded System Design. Stack Before and After an Interrupt. Sequence of Events During Interrupt
General Features of Interrupts ECE/CS 5780/6780: Embedded System Design Scott R. Little Lecture 10: Interrupts in the 6812 All interrupting systems must have the: Ability for the hardware to request action
More informationDepartment of Electronics and Instrumentation Engineering Question Bank
www.examquestionpaper.in Department of Electronics and Instrumentation Engineering Question Bank SUBJECT CODE / NAME: ET7102 / MICROCONTROLLER BASED SYSTEM DESIGN BRANCH : M.E. (C&I) YEAR / SEM : I / I
More information5-1 Instruction Codes
Chapter 5: Lo ai Tawalbeh Basic Computer Organization and Design 5-1 Instruction Codes The Internal organization of a digital system is defined by the sequence of microoperations it performs on data stored
More informationMicrocontrollers. Principles and Applications. Ajit Pal +5 V 2K 8. 8 bit dip switch. P2 8 Reset switch Microcontroller AT89S52 100E +5 V. 2.
Ajit Pal Microcontrollers Principles and Applications +5 V 2K 8 8 bit dip switch P2 8 Reset switch Microcontroller AT89S52 100E +5 V +5 V 2.2K 10 uf RST 7 Segment common anode LEDs P1(0-6) & P3(0-6) 7
More informationIntroduction to ARM LPC2148 Microcontroller
Introduction to ARM LPC2148 Microcontroller Dr.R.Sundaramurthy Department of EIE Pondicherry Engineering College Features of LPC2148 in a Nut Shell CPU = ARM 7 Core Word Length = 32 Bit ROM = 512 KB RAM
More informationCHAPTER 5 : Introduction to Intel 8085 Microprocessor Hardware BENG 2223 MICROPROCESSOR TECHNOLOGY
CHAPTER 5 : Introduction to Intel 8085 Hardware BENG 2223 MICROPROCESSOR TECHNOLOGY The 8085A(commonly known as the 8085) : Was first introduced in March 1976 is an 8-bit microprocessor with 16-bit address
More informationMAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC Certified) MODEL ANSWER
MODEL ANSWER SUMMER 17 EXAMINATION Subject Title: Microprocessor Subject Code: 17443 I m p o r t a n t I n s t r u c t i o n s t o e x a m i n e r s : 1) The answers should be examined by key words and
More informationMC68HC908GR8A MC68HC908GR4A Data Sheet
MC68HC908GR8A MC68HC908GRA Data Sheet M68HC08 Microcontrollers MC68HC908GR8A Rev. 5 0/2007 freescale.com MC68HC908GR8A MC68HC908GRA Data Sheet To provide the most up-to-date information, the revision
More informationArchitecture of 8085 microprocessor
Architecture of 8085 microprocessor 8085 consists of various units and each unit performs its own functions. The various units of a microprocessor are listed below Accumulator Arithmetic and logic Unit
More information