Microcontroller System Design Lab


EE 347L


Spring 2009



Announcements:

1. Helpful C language reference.

2. Directions to install the gcc compiler at home are here.


Instructor Sahithi Peddireddy (supervising faculty: Dr. Robert S. Fourney
Email Still being assigned
Office 316 Harding Hall (there is no phone in this room)
Class Times Section 01 Thursday 9:00-11:50 am
Section 02 Thursday 6:00-8:50 pm
Class Location Harding Hall, room 319
Office hours Friday 2-4pm
Text Lab manual will be downloaded piecemeal from this web page


Corequisites
EE 347 -- Microcontroller System Design
Course Description
This course provides practical hand-on experience to complement the material you are learning in EE 347.
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.

Schedule of Upcoming Labs
Week Lab Date Lab and Background Reading
1 Jan 15 Nobody showed up for their labs today. I guess we can try again next week.
2 Jan 22

Lab #1: Review of C Language and Introduction to gcc Cross-Compiler

You should also be familar with, and adhere to, our departmental report guidelines

3 Jan 29

Lab #2: Introduction AS 11 Assembly, Addressing Modes, and fun with pointers in C

4 Feb 5

Lab #3: Triple Precision Multiplication

Note that this lab includes a "prelab" for next week. You should undersand these C programs, since you will be performing the same task in our assembly language next week.

5 Feb 12

Lab #4: Subroutines

Note that you are required to turn in the Sim68 part for the "well behaved" re-entrant tpm subroutine prior to lab (for a Lecture Homework Grade and for prelab). For lab, you need to completely test, demonstrate, and debug your tpm subroutine, and the factorial subroutine which makes use of the tpm subroutine. The numbers we are dealing with are fairly small, but you MUST implement the factorial subroutine in a recursive fashion. If you have another preferred design tool (pseudo code, outline, etc) I will not require a flowchart prior to lab.

If you get finished early, you may start on next week's lab.

6 Feb 19

Lab #5: Software Interrupts

7 Feb 26 Lab 6: Traffic Light Controller . Note that you are to do both the C and the Assembly in both polling and interrupt driven versions. Also, the exact amounts of the delays should be coded in such a way to be easily changed. Do a good job on this lab. Your lab practical will probably be based on this lab. Make sure you get the entire assembly portion running before spending too much time on the C parts

FYI, here is the GNU Development Chain Documentation (documentation for the gcc compiler we are using)

And here's a link to a sample C program that blinks some LEDs using a variable time delay. Your textbook has a problem (Problem 7.5) which is similar to part of the lab assignment. In past semesters, students found Example 7.5 (on page 299) helpful for this exercise. We probably won't have an adequate supply of decent switches, but you can move a wire from one position on the breadboard to another. Due to the nature of your circuit, switch-bounce should not be a problem. In any event, we will be discussing software methods of debouncing switches.

8 Mar 5 You are to use this time to complete your lab from last week.
9 Mar 12 No Lab -- Spring Break

Don't forget to email your project proposals prior to Friday, March 6th

10 Mar 19 For Lab 7 you are to design and demo the stepper motor lab that was discussed in class.
11 Mar 26

Lab #8:Parallel I/O, Polling, and Hardware Interrupts

12 Apr 2,9 Demonstrate the SPI communication problem discussed in class.
13 Apr 16 Lab Practical Exams