EE 308
Lecture Outline for Spring 1996
Wednesday 1/17
- Sections 1.2-1.5, Miller: Introduction to
Microprocessors and Microcontrollers.
Friday 1/19
- Section 1.1, Miller: Binary and Hexadecimal Numbers.
- Monday 1/22
- Section 2.1, Miller: The 68HC11 Programming Model.
Section 6.1, 68HC11 Refernce Manual: Programmer's Model.
- Section 2.2, Miller: Instructions and Addressing Modes
Section 6.2, 68HC11 Refernce Manual: Addressing Modes.
- Wednesday 1/24
- Sections 3.1-3.3, Miller: Introduction to
Assembly Language Programming
- Friday 1/26
- Sections 3.1-3.3, Miller: More on Assembly Language Programming
Monday 1/29
- Sections 3.1-3.3, Miller: Still more on Assembly Language Programming
- Sections 4.1-4.6, Miller: Program Structure and Design
Wednesday 1/31
- Sections 4.1-4.6, Miller: More on Program Structure and Design
Friday 2/02
- More Examples of Assembly Language Progamming, Including Further
Discussion of Branching
Monday 2/05
- Sections 5.4-5.5, Miller: Stacks and Subroutines
Wednesday 2/07
- Port B and Port C
- Introduction to the C Programming Language
Friday 2/09
- C Programming: Data Types and Operators
- C Programming: Flow Control
- if ( ) { } else { } statement
- while ( ) { } statement
- for ( ; ; ) { } statement
- do { } while ( ) statement
Monday 2/12
- C Programming: Pointers
- C Programming: Functions
Wednesday 2/14
- C Programming: Pointers
- Introduction to the HC11 Timer Subsystem
(Miller, Section 7.8;
Motorola Reference Manual, Sections 10.1 - 10.2)
Friday 2/16
Monday 2/19
- More on the HC11 Timer Subsystem (Miller, Section 7.8; Motorola
Reference Manual, Sections 10.1 - 10.2)
- Introduction to Interrupts on the HC11
(Miller, Sections 6.9 - 6.10, 7.4;
Motorola Reference Manual, Section 5.3)
Wednesday 2/21
- Input Capture Function of the HC11 Timer Subsystem
(Miller, Section 7.8;
Motorola Reference Manual, Section 10.3)
Friday 2/23
- Output Compare Function of the HC11 Timer Subsystem
(Miller, Section 7.8;
Motorola Reference Manual, Section 10.4)
Monday 2/26
- Introduction to Microprocessor Address, Data and Control Busses
(Miller, Section 6.4;
Motorola Reference Manual, Section 2.6)
Wednesday 2/28
- The HC11 in Expanded Mode
(Miller, Section 7.14;
Motorola Reference Manual, Sections 7.3.2 - 7.3.4;
Motorola Technical Data Manual, Section 4.1.2)
- Port B and Port C in Expanded Mode
- Address Latching and Decoding
Friday 3/01
- More on the HC11 in Expanded Mode
(Motorola Reference Manual, Sections 7.3.2 - 7.3.4;
Motorola Technical Data Manual, Section 4.1.2, Appendix A)
- A Simple Input Port
- A Simple Output Port
- Address Decoding
- Timing Requirements for I/O Ports
Monday 3/04
- More on the HC11 Timer in Expanded Mode
(Motorola Reference Manual, Sections 7.3.2 - 7.3.4;
Motorola Technical Data Manual, Section 4.1.2, Appendix A)
- More on Address Decoding, Partical Decoding
- Adding RAM
- Adding an LSI Peripheral
Wednesday 3/06
- Review for Exam on Friday
- Detailed discussion of interrupt processing
Friday 3/08
Monday 3/18
- Motorola MC6821 Peripheral Interface Adapter
(Motorola MC6821 Data Sheet)
- Bus timing and compatipility with HC11 bus
- 6821 Ports A and B
- 6821 Registers -- Data, Data Direction and Control
Wednesday 3/20
- More on the Motorola MC6821 Peripheral Interface Adapter
(Motorola MC6821 Data Sheet)
- Control Lines CA1, CA2, CB1 and CB2
- Handshaking with the Control Lines
Friday 3/22
- More on the Motorola MC6821 Peripheral Interface Adapter
(Motorola MC6821 Data Sheet)
- More on Handshaking with the Control Lines
- Introduction to Interrupts with the 6821
Monday 3/25
- More on the Motorola MC6821 Peripheral Interface Adapter
(Motorola MC6821 Data Sheet)
- More on Interrupts with the 6821
Wednesday 3/27
- Serial Communication with the HC11 - The Serial Peripheral Interface
(SPI)
(Motorola Reference Manual, Chapter 8)
- Introduction to Synchronous Serial Communications
- The SPI Control, Status and Data Registers
Friday 3/29
- The Motorola MC68HC68T1 Real Time Clock
(Motorla MC68HC68T1 Data Sheet)
- Introduction to the Real Time Clock
- Serial Data Format for the Real Time Clock
Monday 4/1
- More on the Motorola MC68HC68T1 Real Time Clock
(Motorola Reference Manual, Section 8)
- Registers in the Real Time Clock
- Setting and Reading the Time from the Real Time Clock
Wednesday 4/3
- Asynchronous Serial Communications and the HC11 SCI
(Motorola Reference Manual, Section 9; Miller, Section 7.10)
- Basics of Asynchronous Serial Communications
- The HC11 SCI Subsystem
- SCI Regisiters, Flags and Interrupts
- Programming the SCI
Monday 4/8
- The HC11 A/D Converter Subsystem
(Motorola Reference Manual, Section 12; Miller, Section 7.11)
Wednesday 4/10
- More on the HC11 A/D Converter Subsystem
(Motorola Reference Manual, Section 12; Miller, Section 7.11)
Friday 4/12
Monday 4/15
- How Successive Approximation A/D Converters Work
(Motorola Reference Manual, Section 12)
- D/A Converters
- Simple A/D with D/A, Counter and Latch
- Successive Approximation A/D
Wednesday 4/17
- Review of Exam 3
- XIRQ Interrupt
- How XIRQ differs from IRQ
- How to clear X bit of CCR in C
Friday 4/19
- Discussion of Final Project
Lab
- Guidelines for modularizing C programs when writing a large program
Monday 4/22
- More on writing a large C program.
- Structures in C
Wednesday 4/24
- More on C programming and structures
Friday 4/26
- How to put your program into the EPROM HC11
- How to handle interrupt vectors.
- How to initialize things BUFFALO does for you.
- How to handle initialized constants.
Bill Rison,
<rison@ee.nmt.edu >