EE 308 Microntrollers, Fall 2012

Syllabus

Instructor

General Outline

Texts
Lectures
Number Title Text Sections Manuals Dates
1 Course Overview Sections 1.2 - 1.3   January 18
2 Introduction to MC9S12 Sections 1.4 - 1.8 S12CPUV2 Reference Manual, Sections 2.1 - 2.5
9S12DP256B Device Users Guide, Section 1
January 20
3 Assembly Language Programming Section 2.2   January 23
4 Addressing Modes Sections 1.9 - 1.10 S12CPUV2 Reference Manual, Section 3 January 25
5 More on MC9S12 Assembly Language Programming Section 2.3 S12CPUV2 Reference Manual, Sections 3, 5, and Appendix A January 27
6 More on MC9S12 Assembly Language Programing Section 2.3 S12CPUV2 Reference Manual, Sections 3, 5, and Appendix A January 30
7 Disassembly of MC9S12 Op Codes
Review of Binary and Hexadecimal Numbers
Sections 2.4 - 2.6 S12CPUV2 Reference Manual, Section 5 and Appendix A February 1
8 Writing an Assembly Language Program Sections 2.7 - 2.10   February 3
9 More on Writing an Assembly Language Program Sections 2.7-2.10, 7.5   February 6
10 The Stack and the Stack Pointer Section 4.3   February 8
11 An example that Uses the Stack Section 4.3   February 10
12 More on Using the Stack and Stack Pointer
Programming the MC9S12 in C (1/3)
Section 4.3
Sections 5.2 - 5.3
  February 13
13 Programming the MC9S12 in C (2/3) Sections 5.2 - 5.4   February 15
14 Programming the MC9S12 in C (3/3)
Introduction to the MC9S12 Timer Subsystem
Sections 5.8 - 5.10
Sections 8.3 - 8.4
 
HCS12 Enhanced Capture Timer (ECT) Block Guide
February 17
15 The MC9S12 Timer Subsystem
MC9S12 Reset
Interrupts and the Timer Overflow Interrupt
Sections 6.2 - 6.5
Sections 8.3 - 8.4
S12CPUV2 Reference Manual, Section 7
9S12DP256B Device Users Guide, Section 5
HCS12 Enhanced Capture Timer (ECT) Block Guide
February 20
16 Review for Exam 1
Using Interrupts on the MC9S12
Sections 6.2 - 6.5
Sections 8.3 - 8.4
9S12DP256B Device Users Guide, Section 5
HCS12 Enhanced Capture Timer (ECT) Block Guide
February 22
  Exam 1     February 24
17 Real Time Interrupt Sections 6.2 - 6.7 9S12DP256B Device Users Guide, Section 5
HCS12 Clocks and Reset Generator (CRG) Block Guide
February 27
18 Output Compare Function Section 8.6 9S12DP256B Device Users Guide, Section 5
HCS12 Enhanced Capture Timer (ECT) Block Guide
February 27
19 Input Capture Function Section 8.5 9S12DP256B Device Users Guide, Section 5
HCS12 Enhanced Capture Timer (ECT) Block Guide
March 2
20 Introduction to Pulse Width Modulation Sections 8.10 -- 8.11 HCS12 Pulse Width Modulator (PWM) Block Guide March 5
21 The MC9S12 Pulse Width Modulation Subsystem Sections 8.10 -- 8.11 HCS12 Pulse Width Modulator (PWM) Block Guide March 7
22 Analog to Digital Converters Sections 12.1 -- 12.2 HCS12 Analog to Digital Converter (ATD) Block Guide March 9
23 MC9S12 A/D Converter Sections 12.1 -- 12.2 HCS12 Analog to Digital Converter (ATD) Block Guide March 19
24 The Dragon12 LCD Display Sections 7.7 -- 7.8 Hantronix HDM16216L-S Data Sheet March 21
25 Introduction to Serial Communications Sections 9.2, 11.2 HCS12 Inter-Integrated Circuit (IIC) Block Guide March 23
26 The IIC Serial Interface and the DS1307 Real Time clock Sections 11.2-11.6 HCS12 Inter-Integrated Circuit (IIC) Block Guide
DS1307 Real Time Clock
March 26
27 Lab on the MC9S12 IIC and the DS1307 Real Time Clock
Asynchronous Serial Data Transfer
Sections 11.2-11.6 HCS12 Inter-Integrated Circuit (IIC) Block Guide
DS1307 Real Time Clock
March 28
28 Review for Exam 2
Introduction of the MC9S12 Expanded Mode
Sections 14.2, 14.7 Multiplexed External Bus Interface (MEBI) Module V3 Block User Guide March 30
  Exam 2     April 2
29 Expanded Mode on the MC9S12 (1/5) Sections 14.2, 14.7 Multiplexed External Bus Interface (MEBI) Module V3 Block User Guide April 4
30 Expanded Mode on the MC9S12 (2/5)     April 9
31 Expanded Mode on the MC9S12 (3/5)     April 11
32 Motor Control     April 16
33 Expanded Mode on the MC9S12 (4/5)     April 18
34 Fuzzy Logic Control (1/3)   Fuzzy Logic Motor Control from TI April 20
35 Fuzzy Logic Control (2/3)     April 23
36 Fuzzy Logic Control (3/3)     April 25
  Exam 3     April 27
37 Microcontroller Architectures
Review for Final Exam
    April 30
38 Review for Final Exam     May 2, 4
  Final Exam     May 7

Exam Information
Exams from previous year

Labs
Number Title Text Sections Manuals Dates
Lab 1 MC9S12 Assembler and Monitor   D-Bug 12 Reference Guide
S12CPUV2 Reference Manual, Section 6
January 25
Lab 2 - Part 1 Assembly Language Programming and Ports   9S12DP256B Device Users Guide, Section 1.6
S12CPUV2 Reference Manual, Section 6
February 1
Lab 2 - Part 2 Assembly Language Programming and Ports     February 8
Lab 2 - Part 3 Assembly Language Programming and Ports     February 15
Lab 3 - Part 1 C Language Programming, Interrupts and Timer     February 22
Lab 3 - Part 2 Timer Overflow and Real Time Interrupts     February 29
Lab 3 - Part 3 Timer Input Capture and Output Compare     March 7
Lab 4 - Part 1 MC9S12 Subsystems: Pulse Width Modulation     March 21
Lab 4 - Part 2 MC9S12 Subsystems: A/D Converter     March 28
Lab 4 - Part 3 MC9S12 Subsystems: Serial Communications     April 4
Lab 5 - Part 1 Final Project: Port Expansion     April 11
Lab 5 - Part 2 Final Project: Motor Speed Control     April 18, 25
Labs
The laboratory instructor is TBD

Homework
Homework 1 Solutions
Homework 2 Solutions
Homework 3 Solutions
Homework 4 Solutions
Homework 5 Solutions
Homework 6 Solutions
Homework 7 Solutions
Homework 8 Solutions
Homework 9 Solutions
Homework 10 Solutions
Homework 11
Homework 12 Solutions

Quizzes
References

  • 2011 Course Information
  • 2010 Course Information
  • 2009 Course Information
  • 2006 Course Information
  • 2005 Course Information
  • 2004 Course Information
  • 2003 Course Information
  • 2002 Course Information
  • 2001 Course Information
  • 2000 Course Information
  • 1999 Course Information
  • 1998 Course Information.
  • 1997 Course Information.
  • 1996 Course Information.