Microcontroller System Design


EE 347


Fall 2003



Breaking News:

0. Although we discussed it in class, here is a short list of what will be emphasized on the final exam.

1. There will be an optional review session on Wednesday, December 17th, from 4-6 pm in CEH 358. You should bring questions, this is a help/review session and I do not intend to lecture.


Instructor Dr. Robert S. Fourney
Email Robert_Fourney@sdstate.edu
Phone 688-4016
Office 215 Harding Hall
Class Time MWF 8:00-8:50
Class Location Crothers Engineering Hall, room 358
Office hours MT: 9 am to 10 am
WTh: 1 pm to 2 pm

These are the times which you requested during the first week of class. If they turn out to not be the best times, this schedule can be adjusted. I am normally in (or near) my office, and I can usually make time to talk to students. If you plan on stopping by outside of scheduled office hours (especially if you are coming from off campus), please contact me by phone or email to make an appointment and ensure that I will be available.

Please do not disturb me between the hours of 2 and 5 on Tuesdays and Thursdays.

Text Microcontroller Technology: The 68HC11, 4th Ed. by Peter Spasov, published by Prentice Hall

The text may also be supplemented with additional reference materials which will be linked from this page and/or handed out in class as they are assigned.



Prerequisites
EE 345
Corequisites
EE 348 -- Microcontroller System Design Lab
Course Description
This course serves as an introduction to microcontrollers, using the MC68HC11 as an example.
Course Work

Unless otherwise specified, all work that you submit in this course must be your own; unauthorized collaboration is considered academic dishonesty. Please save us both a lot of trouble by realizing that I will pursue any such transgressions to the fullest extent possible.

As a rule, late assigments are not generally accepted (e.g., attempting to hand in an assigment after the start of class on the due date will result in a grade of 0 for that assignment).

Late assignments will only be accepted under exceptional circumstances AND with prior arrangement. A penalty may apply.

Grading Policy
 Final grades will be determined via the following breakdown:

 
Exam #1 25%
Exam #2 25%
Homework and Quizzes 15%
Class Participation 5%
Comprehensive Final Exam 30%

Your class participation grade will be determined by your on time attendance to class as well as your participation in classroom discussions. Pop quizzes, when given, will cover material previously covered in class, previous homework assignments, and/or simple questions on the current days reading assignment.
 

Please read Making the Grade by Kurt Wiesenfeld and keep his views (which I share) in mind when deciding how much effort to invest in your coursework.

Schedule of Upcoming Classes
Interfacing specifics for MC 68HC11
No. Date Topic, Reading, and Assignment
1 Sep 3 Introduction and Motivation

Chapter 1, Sections 1.1-1.1.3, and
Making the Grade by Kurt Wiesenfeld

Homework # 1 assigned

2 Sep 5 Chapter 1, Sections 1.1.4-1.3.2
3 Sep 8 Chapter 1, Sections 1.3.3-1.4
Chapter 2, Section 2.1

Homework # 2 assigned -- Due Monday, Sep 15

4 Sep 10 Sections 2.2-2.3, touch on 2.5
5 Sep 12 Read section 2.5 and then 2.4
6 Sep 15 Section 2.5.11 Memory Dumps
Section 2.6-2.6.3 Basic Ops (data handling, arithmetic, logic)
Section 2.7-2.7.2, Condition Code Register

Homework 2 Due

7 Sep 17 Read Section 2.4, Section 1.5

Homework 3 assigned

8 Sep 19 Section 2.8
9 Sep 22 Complete Chapter 2 (except as noted in class)

Homework 3 Due

10 Sep 24 The Stack

Sections 3.1-3.2,

Homework 4 assigned. Due Wednesday, October 1

11 Sep 26 Finish with stack, section 3.3 Subroutines
skim 3.4-3.4.3 (for background), and
Read sections 3.4.4-3.5
12 Sep 29 Program development, flow chart examples
13 Oct 1 Discussion of previous homework, Subroutine/Stack examples

Homework 5 assigned

homework 4 solutions

14 Oct 3 Introduction to Interrupts
Section 3.6
15 Oct 6 Finish Chapter 3 discussion on Interrupts
Sections 3.7-3.8
16 Oct 8 go over homework 5 + test review

Homework 5 Due

NA Oct 8 Evening review session. 5:30 in CEH 358.

Bring Questions, I will not prepare a lecture for this optional help session. I will answer questions and work problems. Priority will be given to specific questions (over "explain about addressing again"), but I will be glad to answer those types of questions also if we have enough time. I need to wrap it up by 7-ish

17 Oct 10 Exam # 1, closed textbook, closed notes

Please bring your "Programming Reference Guide" to class

This exam will cover (at least) the following topics

NA Oct 13 No Class (Native American Day)
18 Oct 15 Go over exam, discuss graded exam. Homework 6 handed out
19 Oct 17 Begin Chapter 5 -- concept of interfacing, tri-state buffers, intro to memory decoding.
20 Oct 20 Coninue with Chapter 5 -- memory decoding, partially decoded addressing, single chip and expanded multiplexed mode and using external memory
21 Oct 22 Complete Chapter 5 (actually hooking up the chip)
Begin Chapter 7 -- timing diagrams, bus timing
First half of semester ends

Homework 7 assigned

Homework 6 Due

22 Oct 24 Chapter 7 -- detailed timing of R/W to external memory. Cycle by cycle operations
23 Oct 27
24 Oct 29 Homework 7 Due

Homework 8 assigned

25 Oct 31 Timing discussion, Quiz 3, and Quiz 3 discussion
26 Nov 3 Timing Diagrams yet again
27 Nov 5 More timing examples.
discussion of Quiz 3.

Homework 9 assigned

28 Nov 7 Chapter 6
29 Nov 10 Drop Date
30 Nov 12

Homework 10 assigned: Due Nov 19

31 Nov 14 EEPROM
Chapter 6 and handouts
32 Nov 17 Discuss graded Homework, Chaps 5, 6, and 7
33 Nov 19 Review for Exam II Homework 10 solutions discussed. As promised, here is some clarificationof the provided solutions.

FAQ on what to study for the second exam.

Don't forget to review the quiz 3 comments.

NA Nov 19 Evening Review Session, 5:30 PM, CEH 358. Bring Questions
34 Nov 21 Exam # 2, closed book, closed notes
35 Nov 24 I/O, general concepts and interfacing
36 Nov 26
NA Nov 26 No Class, Thanksgiving Break
37 Dec 1 Using Parrallel ports for general purpose I/O
38 Dec 3 Interfacing 68HC11 to a Centronics printer, detailed example

Homework 11 assigned: Due December 10

39 Dec 5 Complete General Purpose I/O, parallel interface. Review asynchronous and begin to discuss SCI subsystem
40 Dec 8 Discuss RS-232 standard, details of SCI subsystem
41 Dec 10 Analog to digital conversion. Read sections 12.4 and 12.5 (pages 484-494) Survey of other subsystems.

Homework 11 Due

42 Dec 12 Review
NA Dec 17 Optional Review session. 4-6 pm in CEH 358
Bring Questions, this is a help/review session not a lecture
Final Exam Dec 18 9:00-10:40 am in CEH 358