Tuesday, February 22, 2011

Microcontrollers and Digital Systems Design


 Microcontrollers and Digital Systems Design


Lectures



  • Begin Unit 1: Embedded Programming in C
  • Lecture 1Syllabus
  • Lecture 2: Introduction to embedded systems
    1. Slides (PPT), Microprocessor and Embedded Systems
    2. Slides (PPT), Introduction to Microcontroller
    3. Slides (PDF), based on DeMicheli & Gupta, "Hardware-Software Codesign," Proc. IEEE, 1997
    4. Slides (PDF), from Lewis, Fundamentals of Embedded Software, Prentice Hall, 2002
    5. C Program Example for the PowerBox: Elevator Controller Program



  • Lab 1: Embedded programming environment (C, assembly)
  • Lectures 3 & 4: Embedded and C programming (Functions, types, variables, constants, arrays and pointers, structure and unions)
  • Assigned Reading: refer to Lab 2 Prelab


  • Lab 2: Meter program (C, PowerBox input/output)
  • Lectures 5 & 6: C programming for embedded systems continued


  • Lab 3: Password program (C, PowerBox input, program design)
  • Lectures 7 & 8: Embedded and C programming continued; Data memory layout, function and stack, and C library functions




  • Lab 5: Control-oriented and real-time programming, state-based programming (C)
  • Lecture 11: Introduction to Assembly Language continued, Function call and return
    • Notes: Sections 3.1-3.3, 4.1-4.3
    • Slides –  Function call and return (Powerpoint)
  • Exam 1 in class (Thursday) – through Lectures of week 5, Notes Sections 1-2













Begin Unit 3: Input/Output Subsystems and Interfacing
  • Lab 8: Messaging service
·        Lab Project
  • Lectures 18 & 19: Memory-mapped I/O, polling and interrupts I/O, Exceptions and Interrupts
·         Notes: Sections 5.2, 5.3
·         Supplementary notes
·         Slides – MPC 555 Interrupt System (PowerPoint)
·         How Interrupts Work
·         Supplemental reading
§         Understanding Interrupts, by R. Massey, fromwww.embedded.comJune 1, 2001
§         MPC555 Interrupts, Motorola Semiconductor Application Note, by J. Dunlop, J. Fuchs, and S. Mihalik, July 26, 2001

  • Lectures 20: MPC555 PIT and Exception Processing (PowerPoint)
·         Notes: Sections 5.2, 5.3
·         How Interrupts Work
  • Exam 2, Thursday March 30

  • Lab 10: A/D I/O
  • Lecture 21 & 22: MPC555 On-chip I/O and ESR Programming
·         Notes: Section 5.1
·         Slides – MPC555 On-chip I/O and Interrupt Systems (PPT)
·         Supplementary notes 


  • Lecture 23 & 24: MPC555 ADC Design and Programming
·         Slides – MPC555 QADC64: Design and Programming (PPT)

·         Lab ProjectLab Project Evaluation
  • Lectures 25 & 26: TPU continued, Input Capture, Output Compare
·         Slides – Introduction to the TPU (PPT)
·         Supplementary notes 
·         Supplemental Reading
·         Remarks from lecture
·         General TPU C Functions, Motorola Semiconductor Application Note, Oct. 2002 Using the Input Capture TPU Function, Motorola Semiconductor Application Note, Oct. 2002
·         Using the Output Compare TPU Function, Motorola Semiconductor Application Note, Oct. 2002
·         Using the Pulse-Width Modulation TPU Function, Motorola Semiconductor Application Note, Oct. 2002
·         Supplemental Slides, Chapter 4 Peripherals, from Embedded System Design by Vahid and Givargis, Wiley 2002. (PPT)
Slide on PWM, as well as other I/O peripheral interfaces.


  • Lab Demonstration
  • Lectures 27: Review, Embedded Systems Special Topics
·         Fantasies Embedded in Real Time,” May 2002
·         Slides – CPRE211 Summary
  • Exam 3, Wednesday May 3, 9:45am – 11:00am




No comments:

Post a Comment

Search This Blog