EE 308
Lecture Outline for Spring 1998
Wednesday 1/14
- Introduction to
Microprocessors and Microcontrollers.
- Figures
- Binary and hexadecimal numbers (Katz, Appendix A).
- Figures
Thursday 1/21
- Signed and Unsigned Hex Numbers (Katz, Chapter 5)
- Figures
- Introduction to the HC12 registers
- Figures
Tuesday 1/26
- HC12 Memory Map (Technical Summary, Section 5.4; EVBU Manual, Section
3.8) and Addressing Modes (CPU Reference Manual, Sections 3.1-3.6)
- Figures
- Assembly Language Programming
- Figures
Thursday 1/28
- HC12 Addressing Addressing Modes (CPU Reference Manual, Sections
3.1-3.8. Skip Sections 3.8.4 and 3.8.7))
- Figures
- Using the assembly directives dc and ds to create arrays.
- Figure
- Introduction the jump and branch instructions (CPU12 Reference Manual,
Sections 5.18 and 5.20)
Tuesday 2/2
- HC12 Instruction Summary (CPU Reference Manual, Sections
5.1-5.27. Skip sections 5.4, 5.6 5,11, 5.14, 5.15, 5.16, 5.17, 5.19, 5.24,
5.27)
- Table 5-1: Ignore LEAS, LEAX, LEAY
- Table 5-2: Only use TFR, EXG, SEX
- Table 5-3: Ignore all
- Table 5-4: Ignore ADCA, ADCB, SBCA, SBCB
- Table 5-5: Ignore all
- Table 5-10: Ignore all
- Table 5-13: Ignore all
- Table 5-14: Ignore all
- Table 5-15: Ignore all
- Table 5-16: Ignore all
- Table 5-20: Ignore all
- Table 5-21: Ignore CALL, RTC. We will cover BSR, JSR and RTS later
- Table 5-22: Ignore TRAP. We will cover RTI, SWI later
- Table 5-24: Ignore LEAS. We will cover these instructions later
- Table 5-25: Ignore all
- Table 5-26: We will cover these instructions later
- Table 5-27: Ignore for now
- Table 5-28: Ignore
- Programming in assembly language. Use of flow charts.
- Figures
Thursday 2/4
- More on assembly language programming
- Figures
- Introduction to the stack and stack pointer.
- Figures
Tuesday 2/9
Thursday 2/11
- More on HC12 Hardware
- Memory -- RAM, EEPROM, Flash EEPROM
- Ports -- A/D, Timer, Serial, PWM, General I/O
- Ports A and B, Data Direction Registers A and B
- Introduction to C programming
- Figures
Tuesday 2/16
- More on C programming for the HC12
- Figures
Thursday 2/18
Tuesday 2/23
- Introduction to the HC12 timer subsystem and interrupts on the HC12
(Technical Summary, Sections 9.1, 9.2, 9.6; Section 12)
- Figures
Thursday 2/25
- More on the HC12 timer subsystem and interrupts on the HC12
(Technical Summary, Sections 9.1, 9.2, 9.6)
The Timer Overflow Interrupt (Technical Summary, Section 12)
The Real Time Interrupt (Technical Summary, Sections 10.1, 10.3, 10.5)
- Figures
- The HC12 Input Capture Subsystem (Technical Summary, Section 12)
- Figures
Tuesday 3/2
- More on the HC12 Input Capture Subsystem (Technical Summary, Section 12)
- Figures
- Introduction to the HC12 Output Compare Subsystem (Technical Summary, Section 12)
- Figures
Thursday 3/4
- More on the HC12 Output Compare Subsystem (Technical Summary, Section 12)
- Figures
Tuesday 3/9
- The HC12 Pulse Width Modulation Subsystem (Technical Summary, Section
11)
- Figures
Thursday 3/11
- Do not do something which takes a long time inside an interrupt
service routine.
- Figure
- The HC12 Pulse Accumulator (Technical Summary, Section 12)
- Figures
- The HC12 Analog-to-Digital Converter Subsystem (Introduction) (Technical
Summary, Section 15)
Tuesday 3/23
- The HC12 Analog-to-Digital Converter (Technical Summary, Section
15)
- Figures
Thursday 3/25
Tuesday 3/30
- Review for exam on Thursday
Thursday 4/1
Tuesday 4/6
- Introduction to the HC12 Serial Peripheral Interface (Technical Summary, Sections 13.3, 13.4)
- Figures
Thursday 4/8
- More on the SPI and the MAX522 D/A Converter
- Figures
Tuesday 4/13
- Solutions of Exam 2
- The HC12 Serial Communications Interface (Technical Summary, Section 13.2)
- Figures
Tuesday 4/15
- More on the HC12 Serial Communications Interface (Technical Summary, Section 13.2, HC12 Electrical Characteristics, Table 14 and Figure 8)
- Introduction to the HC12 external bus and interfacing to the HC12
(Technical Summary, Sections 5 and 6)
- Figures
Tuesday 4/20
- More on the HC12 external bus and interfacing to the HC12
(Technical Summary, Sections 5 and 6)
- Figures
Thursday 4/22
- More on the HC12 external bus and interfacing to the HC12
(Technical Summary, Sections 5 and 6)
- Figures
Tuesday 4/27
- More on the HC12 external bus and interfacing to the HC12
(Technical Summary, Sections 5 and 6; MC68HC12B32 Electrical Characteristics,
Figure 8 and Table 14; Sharp LH52256CD-70LL data
sheet)
- Figures
- External interrupts - the IRQ and XIRQ pins (Technical Summary,
Sections 9.1-9.3)
- Figures
Thursday 4/29
- HC12 Background Debug and Low Power Modes
(Technical Summary)
- Figures
Bill Rison,
<rison@ee.nmt.edu >