EE 319K - INTRODUCTION TO MICROCONTROLLERS by moti

VIEWS: 275 PAGES: 3

									        EE 319K (15845/50/55) – INTRODUCTION TO MICROCONTROLLERS
                         SPRING 2008 – TTh 3:30 - 5 ENS 127
               LABS: ACA 1.102 – (15845) W 2 - 3; (50) 3 – 4; (55) 4 – 5.
                  Bill Bard (ENS 436, 471-4802, bard@ece.utexas.edu)
               OFFICE HOURS: TTh 1 - 2:30 p.m. and by appointment

TEXT:    Introduction to Embedded Systems: Interfacing To The Freescale 9S12,
Jonathan W. Valvano, available through HKN

COURSE WEB SITE:       courses.utexas.edu

TA:     Priyank Patel <priyank.patel@mail.utexas.edu>

COURSE OBJECTIVE:
This course is intended to provide students with an understanding
of how computers interact with their environment. It provides
hands-on laboratory experiences that demonstrate how an embedded
microcontroller system can be used to implement practical
functions. The course emphasizes understanding and analysis.
Laboratory assignments develop both software and hardware
components. Software is developed in assembly language for the
Freescale 6812. All software components are tested with a
simulator and selected components are run on a microcontroller
development system. Hardware development is performed on a
breadboard that integrates the microcontroller development system
with selected external devices, e.g., switches and LEDs.

COURSE OUTLINE:
Embedded systems; machine language execution; assembly language
programming; local variables; input/output synchronization;
analog to digital conversion (ADC), digital to analog conversion
(DAC); debugging; and interrupts.

PREREQUISITES:
EE 306 and EE 312 with a grade of at least C.

REFERENCE MATERIALS:
The laboratory manual and reference material for the
microcontroller used in the course, the MC 9S12 (C32 or DP512),
will be posted on the course Web site.
ASSIGNMENTS:
Homework – problem sets relating to lecture, lab, and textbook
material will be distributed at regular intervals during the
semester. The problem sets will NOT be graded.

Quizzes – there will be three short (~15 minute) scheduled
quizzes at the beginning of selected class periods. Each quiz
will be a set of selected questions taken from the most recent
set of homework problems.

Exams - there will be three scheduled exams during the semester.
Each will consist of problems derived from material discussed in
class or covered in lab. The exams will be closed book/notes
with limited supplemental student-generated reference material.
The second exam will be a programming assignment to be performed
in the lab.

Final - there will be a comprehensive final scheduled during the
final examination period.

GRADING:
     25 Laboratory assignments, due on Wednesdays
     10 In class Quizzes
     15 In class Exam 1
     15 Lab Exam 2
     15 In class Exam 3
     20 Final

APPROXIMATE LAB SCHEDULE

  date   Lab No.       Platform                       Topic
  1/30       1             Simulator      TExaS Simulator – Digital Lock
   2/6       2             Simulator     Hand execute and hand assembly
  2/20       3      Simulator & Board      Debugging – LED interfacing
  2/27       4      Simulator & Board         Traffic light controller
  3/19       5      Simulator & Board   LCD driver & fixed point conversion
                                        Position measurement system using
  3/26       6      Simulator & Board
                                                   TCNT timer
   4/2       7      Simulator & Board   Distributed Data Acquisition System
   4/9       8      Simulator & Board      Music generation using DAC
  4/23       9             Simulator     Tank robot (Trobot) Introduction
  4/30      10             Simulator            TRobot competition
APPROXIMATE SCHEDULE OF TOPICS:

  Date                                             Topic
  1/15    Course description, Numbers, conversions
  1/17    Basic instructions, using the TExaS simulator, simple addressing modes
          Arithmetic operations, fixed-point numbers, common errors, 9S12 architecture,
  1/22
          basic instructions
  1/24    Simple addressing modes, execution as simulated by TExaS, Lab 1 discussion
  1/29    6812 execution, 6812 addressing modes, memory allocation
  1/31    addressing modes, stack, introduction to programming, Lab 2 discussion
   2/5    instructions, logical shift operations, subroutines and the stack, Quiz 1
          Real 9S12 board demonstration (lecture in ENS 317), switch & LED interface,
   2/7
          pseudo ops
  2/12    Exam 1 review, assembly directives, debugging, 16-bit timer, finite state machine
  2/14    Exam 1, In class, ENS 127
  2/19    Lab 3 discussion
  2/21    Finite state machines, traffic light controller, Lab 4 discussion
  2/26    Local Variables, local variable implementation, Parameter passing
  2/28    Device driver, LCD interfacing, SCI, Quiz 2
   3/4    Timer, Analog to digital conversion
   3/6    Exam 2 review, Lab 5 discussion
  3/18    Exam 2, In lab, ACA 1.102
  3/20    FIFO
  3/25    Lab 6 discussion
   4/1    Output compare Interrupt, SCI, Lab 7 discussion
   4/3    DAC
   4/8    Optional Programming Assignment, Lab 8 discussion
  4/10    Stepper Motors
  4/15    Stepper motor interfacing
  4/17    Introduction to Trobot, Lab 9 discussion, Quiz 3
  4/22    Exam 3 review
  4/24    Exam 3, In class, ENS 127
  4/29    Lab 10 discussion
   5/1    Final exam review, Course instructor survey
   5/5    TRobot competition
 5/7-13   Final Exam

								
To top