Other Chapters From the text by Valvano: Introduction to Embedded Systems: Interfacing to the Freescale 9S12.

Slides:



Advertisements
Similar presentations
Unit 7 Discrete Controllers
Advertisements

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.
MC68HC11 System Overview. System block diagram (A8 version)
Chapter 10 Input/Output Organization. Connections between a CPU and an I/O device Types of bus (Figure 10.1) –Address bus –Data bus –Control bus.
TM Freescale Semiconductor Confidential and Proprietary Information. Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc.
Khaled A. Al-Utaibi  Computers are Every Where  What is Computer Engineering?  Design Levels  Computer Engineering Fields  What.
SPI Serial Peripheral Interface. SPI Serial Peripheral Interface is communication between two devices, one bit at a time sequential one bit at time over.
Oscilloscope Watch Teardown. Agenda History and General overview Hardware design: – Block diagram and general overview – Choice of the microcontroller.
EUT 1040 Lecture 10: Programmable Logic Controllers.
Photolithography Machine Control System Ben Conrad and Mark Edwards Projects in Computer Engineering II December 9, 2003.
1 Color Discriminating Tracking System Lloyd Rochester Sam Duncan Ben Schulz Fernando Valentiner.
Input-Output Problems L1 Prof. Sin-Min Lee Department of Mathematics and Computer Science.
1 ECE 263 Embedded System Design Lessons 2, 3 68HC12 Hardware Overview, Subsystems, and memory System.
ASPPRATECH.
Chapter 17 Microprocessor Fundamentals William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper.
Local Asynchronous Communications. Bit-wise data transmission Data transmission requires: Encoding bits as energy Transmitting energy through medium Decoding.
ECE 353 Introduction to Microprocessor Systems Michael G. Morrow, P.E. Week 13.
Engineering 1040: Mechanisms & Electric Circuits Fall 2011 Introduction to Embedded Systems.
Microcontrollers, Basics Fundamentals of Designing with Microcontrollers 16 January 2012 Jonathan A. Titus.
Lecture 12 Today’s topics –CPU basics Registers ALU Control Unit –The bus –Clocks –Input/output subsystem 1.
ECE 265 – LECTURE 12 The Hardware Interface 8/22/ ECE265.
Embedded Systems – Shape the World Course Review: Jan – May 2015 edX – MOOC UT.6.02x University of Austin, Texas Jonathan Valvano & Ramesh Yerriballi Student:
Input/Output Chapter 13, Exploring the Digital Domain.
Chapter 8 Input/Output. Busses l Group of electrical conductors suitable for carrying computer signals from one location to another l Each conductor in.
LSU 10/22/2004Serial I/O1 Programming Unit, Lecture 5.
Ch. 9 Interrupt Programming and Real-Time Sysstems From Valvano’s Introduction to Embedded Systems.
Input/Output mechanisms
CPU BASICS, THE BUS, CLOCKS, I/O SUBSYSTEM Philip Chan.
Revised: Aug 1, ECE 263 Embedded System Design Lesson 1 68HC12 Overview.
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.
Microcontroller based system design Asst. Prof. Dr. Alper ŞİŞMAN.
CHAPTER 3 TOP LEVEL VIEW OF COMPUTER FUNCTION AND INTERCONNECTION
ECE 353 Introduction to Microprocessor Systems Michael Schulte Week 13.
Chapter 8 Serial and Parallel Port Interfacing Valvano’s Intro. To Embedded Systems.
Microcontroller Presented by Hasnain Heickal (07), Sabbir Ahmed(08) and Zakia Afroze Abedin(19)
(More) Interfacing concepts. Introduction Overview of I/O operations Programmed I/O – Standard I/O – Memory Mapped I/O Device synchronization Readings:
© 2008 RoboRubik1 11 Technical Communication Skills Practicum Theory of Operation and Hardware Design Narrative.
Microprocessor-based Systems
MICROPROCESSOR AND MICRO CONTROLLER
Chapter 4 9S12 Architecture From the text by Valvano: Introduction to Embedded Systems: Interfacing to the Freescale 9S12.
ATtiny23131 A SEMINAR ON AVR MICROCONTROLLER ATtiny2313.
L/O/G/O Input Output Chapter 4 CS.216 Computer Architecture and Organization.
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
©2008 R. Gupta, UCSD COSMOS Summer 2008 Peripheral Interfaces Rajesh K. Gupta Computer Science and Engineering University of California, San Diego.
Welcome to the world of ARM. COURSE CONTENT Module 1: Introduction  Introduction of ARM Processors  Evolution of ARM  32 - bit Programming Module 2:
© 2009, Renesas Technology America, Inc., All Rights Reserved 1 Course Introduction  Purpose:  This course provides an overview of the serial communication.
Computer Hardware – System Unit
Preface Freescale ARM Corex-M Embedded Programming by Mazidi et al.
Ch. 10 Numerical Calculations From Valvano’s text Introduction to Embedded Systems.
1 Chapter Overview Modems The Internet and Web Browsers.
بسم الله الرحمن الرحيم MEMORY AND I/O.
Ch.12 Communication Systems Valvano’s text Introduction SCI can be used to create a network. Figure 12.1 gives a general visualization. –At lowest.
Embedded Systems February 10, Serial Interface - SPI  Serial Peripheral Interface  Synchronous communications  Clock supplied by the Master.
ECET 340 Entire Course (All ilabs and Homework) For more classes visit ECET 340 Week 1 HomeWork 1 ECET 340 Week 1 iLab 1 ECET 340.
BLDC Motor Speed Control with RPM Display. Introduction BLDC Motor Speed Control with RPM Display  The main objective of this.
MICROCONTROLLER INTERFACING WITH STEPPER MOTOR MADE BY: Pruthvirajsinh Jadeja ( ) COLLEGE:DIET BRANCH:EC.
ECE 101 Exploring Electrical Engineering Chapter 7 Data Acquisition Herbert G. Mayer, PSU Status 11/30/2015 Derived with permission from PSU Prof. Phillip.
MICROPROCESSOR INTEL 8086/8088 BY: SERA SYARMILA SAMEON.
FOR MORE CLASSES VISIT   ECET 340 Week 1 HomeWork 1  ECET 340 Week 1 iLab 1  ECET 340 Week 2 HomeWork 2  ECET 340 Week 2 iLab.
1. PIC ADC  PIC18F877 has 8 analog input channels i.e. port A pins(RA0 to RA5) and port E pins(RE1 and RE2). These pins are used as Analog input pins.
Introduction to Microcontroller Technology
ECET 340 Competitive Success/snaptutorial.com
ECET 340 Education for Service-- snaptutorial.com.
ECET 340 Teaching Effectively-- snaptutorial.com.
Introduction to Microprocessors and Microcontrollers
8051 Micro Controller.
Chapter 13: I/O Systems.
Presentation transcript:

Other Chapters From the text by Valvano: Introduction to Embedded Systems: Interfacing to the Freescale 9S12

Chapter 8 Seril and Parallel Port Interfacing 8.1 General Introduction –Mechanical Design of Physical Components –Analog and digital electronics used to connect the physical components. –Low level software that transforms the mechanical and electrical devices into objects that perform the desired tasks.

8.2 Serial Communications Interface, SCI RS232 Protocol Transmitting in Asynchronous Mode Receiving in Asynchronous Mode S12 Details –SCI Baud Rate can be set using the SCI0BD –SCI control register is SCI0BD –Table 8.4 has more details –Program 8.1 shows initialization

8.3 Synchronous Peripheral Interface, SPI Low-bandwidth protocol, up to 100,000 bps SPI Fundamentals SPI Details s12DPS512 Module Routing Register (for port pin configurations) bit DAC (external)

8.4 Scanned Keyboards A scanned interface has switches placed in a row/column matrix

8.5 Parallel Port LCD Interface with the HD44780 LCD Displays are widely used and have replaced most of the “LED” interfaces.

8.6 Binary Actuators Interface –Relays, solenoids, and DC Motors have similar electrical interfaces. –There is a coil that the computer drives (or not drives) current through Electromagnetic and Solid-state Relays

8.7 Pulse-Width Modulation Duty cycle of a fixed frequency digital output wave is changed to provide power in a variable manner.

8.8 Stepper Motors A motor controls the rotational position, instead of the rotational speed.

Ch. 9 Interrupt Programming and Real-Time Systems 9.1 I/O Synchronization –Software Latency –Real-Time System Definition A system that can guarantee a worst case latency. Software Response Time is small and bounded. 9.2 Interrupt concepts –“An interrupt is the automatic transfer of software execution in response to a hardware event that is asynchronous with the software execution.” 9.3 Key Wakeup Interrupts –A wakeup is an interrupt request on the rising/falling of an external input signal.

Ch.9 (cont.) 9.4 Periodic Interrupt Programming 9.5 Real-Time Interrupt (RTI) 9.6 Timer Overflow, Output Compare, and Input Capture 9.7 Pulse Accumulator 9.8 Direct Memory Access 9.9 Hardware Debugging Tools (Logic Analyzer and In-Circuit Emulator or ICE) 9.10 Profiling –A debugging process that collects the time history of strategic variables.

Chapter 10 Numerical Calculations 10.1 Fixed-Point Numbers 10.2 Extended Precision Calculations 10.3 Expression Evaluation 10.4 IEEE Floating-Point Numbers

Ch. 11 Analog I/O Interfacing 11.1 Approximating Continuous Signals in the Digital Domain 11.2 Digital to Analog Conversion 11.3 Music Generation 11.4 Analog to Digital Conversion 11.5 Multiple Access Circular Queues 11.6 Real-Time Data Acquisition 11.7 Control Systems

Ch. 12 Communication Systems 12.1 Introduction 12.2 Reentrant programming and Critical Sections –A program segment is reentrant if it can be concurrently executed by two (or more) threads Interthread Communication and Synchronization 12.4 Serial Port Interface Using Interrupt Synchronization 12.5 Distributed Systems

Ch.12 (cont.) 12.6 Design and Implementation of a Controller Area Network (CAN) –CAN is a high-integrity serial data communication bus that is used for real-time applications. –Speeds up to 1Mbps 12.7 Inter-Integrated Circuit (I 2 C) Interface –2-wire interface (speeds up to kpbs)—Version 1 –Version 2—speeds up to 2.4 Mbps. (not supported by 9S12) 12.8 Wireless Communication (page 470)