Hector Erives, Ph.D., P.E.
Associate Professor
EE 308 Mircontrollers
Syllabus

Lectures
Number Title Dates
1 Course Overview
2 Introduction to 9S12
3 Assembly Language Programming
4 Addressing Modes
5 Assembler Directives
6 Disassemble of Op Codes
7 Writing an Assembly Program
8 More on Assembly Programming
9 Using the Stack and Stack Pointer
10 Example that Uses Stack Pointer
11 Programming in C (1/3)
12 Programming in C (2/3)
13 Programming in C (3/3)
14 Interrupts and Timer Overflow Interrupts
15 Real Time Interrupts
16 Output Compare Function (1/2)
17 Input Capture Function
18 Output Compare Function (2/2)
19 Pulse Width Modulation Subsystem
20 Analog to Digital Converters (1/2)
21 Analog to Digital Converters (2/2)
22 Liquid Crystal Displays (LCD) Displays
23 Serial Communications
24 DS1307 Real Time clock
25 IIC and SCI on the MC9S12 (1/2)
26 IIC and SCI on the MC9S12 (2/2)
27 Lab on IIC of the MC9S12
28 Expanded Mode on the MC9S12 (1/4)
29 Expanded Mode on the MC9S12 (2/4)
30 Expanded Mode on the MC9S12 (3/4)
31 Expanded Mode on the MC9S12 (4/4)
32 Pulse Accumulator
33 Motor Control
34 Fuzzy Logic Control

Texts
  • Manuals and data sheets from Freescale (Available online)
  • The HCS12/9S12: An Introduction to Software & Hardware Interfacing, 2nd Edition, H-W. Huang, Thomas/Delmar Learning (Recommended)

Exam Information
Exams from previous year

Exam Reviews
Review Exam 1

Labs
The laboratory instructors are Ian Johnson (Mon) and Andrew Ronquillo (Wed)

General Outline (Tentative)
  • Introduction to the MC9S12 Microcontroller
  • Binary and Hexadecimal Numbers
  • Assembly Language Programming
  • C Language Programming
  • Introduction to MC9S12 Internal Peripherals: Timer, Timer interrupts, PWM subsystems
  • The MC9S12 Expanded Mode: Address/Data buss timing, Internal/External memory, Interfacing
  • More MC9S12 Internal Peripherals: A/D converters, Serial Peripheral Interface (SPI), Serial Communications Interface (SCI)
  • Using the MC9S12 in a Control Application

Homeworks
Homework 1
Homework 2
Homework 3
Homework 4
Homework 5
Homework 6
Homework 7
Homework 8
Homework 9

Quizzes
Quiz 1
Quiz 2
Quiz 3
Quiz 4
Quiz 5
Quiz 6
Quiz 7
Quiz 8

References
Last Modified: December 2010