ECE 3724 Microprocessors I

Fall 2006, R. Reese



Lectures     Lab Page

Useful Links

Microchip Trademark Acknowledgement


The textbook for this course is Microprocessors: From Assembly to C using the PIC18xx2 , the author is R. Reese. The book supplemental web site is www.reesemicro.com

Here is a list of known errata in the textbook. Please let me know if you find additional errata and I will add it to this list.

Learning Objectives contains a list of the skills you will have after this class.

Course Philosophy discusses my approach to reaching the learning objectives, and things we can both do to ensure that those learning objectives are obtained.

Class Policies discusses grade assignments and academic dishonesty for the current semester.

Lecture/Test schedule, for the current semester. The detailed slides are found in the Lecture section below.

Extra Points Opportunity, Fall 2006 Challenge Projects

Class Email is ece3724-01.fall2006@Courses.MsState.Edu

Lab Schedule, Current Semester , Supplementary files for lab exercises


Lectures

These lectures are PDF documents with one slide per page. One method to print multiple slides per page is to open the document in Adobe, and chose the "Adobe Distiller" printer (you must have the full Adobe package for this printer choice to appear). Select the "Properties" button, and choose the number of slides per page you wish to print. Some of the slides become unreadable if you print more than 4 slides per page.


  1. Number Systems and Digital Logic Review , Chapter 1.
  2. Introduction to Stored Program Machines , Chapter 2.
  3. Introduction to the PIC18Fxx2 , Chapter 3.
  4. 8-bit Unsigned Operations, Conditional Tests, Looping , Chapter 4.
  5. Extended Precision Operations, signed comparisons , Chapter 5.
  6. Subroutines, the Stack, Pointers, Table Reads , Chapter 6, sections 6.1 - 6.8.
  7. C Compilation, PIC18 Hardware Intro, Power Consumption, WatchDog Timer, SLEEP mode , Chapter 8, sections 8.1 - 8.8.
  8. Parallel Port Operation, LED/Switch IO , Chapter 8, sections 8.9 - 8.11
  9. Asynchronous Serial IO , Chapter 9.
  10. PIC18 Interrupts , Chapter 10, Sections 10.1 - 10.5, 10.7.
  11. I2C and a Serial EEPROM , Chapter 11, Sections 11.2, 11.6 - 11.9.
  12. ADCs and DACs , Chapter 12 (excluding waveform generation example).
  13. Timer2 - Periodic Interrupts, PWM, DC Motors, Servos Chapter 10.8, 10.9, 13.7.
  14. Timer2 - Periodic Interrupts, PWM, Waveform generation , Chapter 10.8, 10.9, 13.7, Chapter 12 (waveform generation).
  15. Memory Technologies , 15.2.
  16. Time Measurement, IR decoding (Experiment 12) , Chapter 13, sections 13.1 - 13.6.
  17. Audio Sampling , Chapter 14, Section 14.2.
  18. Fixed Point/Floating Point , Chapter 7, Sections 7.4 - 7.5.
  19. CAN Bus Intro , Chapter 15.
  20. USB Intro , Chapter 15.
  21. Passing parameters via a Data Stack , Chapter 7.

Test/Weekly Quiz solutions, sample/old Tests, Homework Assignments (Fall 06)

    Homeworks

  1. Homework #1 , due Friday Aug 25th.
  2. Homework #2 , due Friday Sep 1th.
  3. Homework #3 , due Monday Sep 11th.
  4. Homework #4 , due Friday Sep 15th.
  5. Homework #5 , due Monday Sep 25th.
  6. Homework #6 , due Wed Oct 4th.
  7. Homework #7 , due Mon Oct 23rd.
  8. Homework #8 , due Friday Oct 27.
  9. Homework #9 , due Friday Nov 10.
  10. Homework #10 , due Friday Nov 17.

    Quiz Solutions

  11. Quiz #1 solution
  12. Quiz #2 solution
  13. Quiz #3 solution
  14. Quiz #4 solution
  15. Quiz #5 solution
  16. Quiz #6 solution
  17. Quiz #7 solution
  18. Quiz #8 solution
  19. Quiz #9 solution
  20. Quiz #10 solution

    Tests

  21. Test #1 , Test #1 solution
  22. Test #2 , Test #2 solution
  23. Test #3 , Test #3 solution
  24. Test #4 , Test #4 solution

Test/Weekly Quiz solutions, sample/old Tests, Homework Assignments (Summer 06)

    Homeworks

  1. Homework #1 , due Monday Jun 5th.
  2. Homework #2 , due Wednesday Jun 7th.
  3. Homework #3 , due Tues Jun 13th.
  4. Homework #4 , due Tuesday Jun 20.
  5. Homework #5 , due Friday Jun 23.
  6. Homework #6 , due Tue Jul 11.
  7. Homework #7 , due Thu Jul 13.

    Quiz Solutions

  8. Quiz #1 solution
  9. Quiz #2 solution
  10. Quiz #3 solution
  11. Quiz #4 solution
  12. Quiz #5 solution
  13. Quiz #6 solution
  14. Quiz #7 solution
  15. Quiz #8 solution
  16. Quiz #9 solution

    Test Solutions

  17. Test #1 , Test #1 solution
  18. Test #2 , Test #2 solution
  19. Test #3 , Test #3 solution
  20. Test #4 , Test #4 solution

Test/Weekly Quiz solutions, sample/old Tests, Homework Assignments (Spring 06)

  1. Homework #1 , due Monday, Jan 23rd.
  2. Homework #2 , due Wednesday, Feb 1.
  3. Quiz #1 solution
  4. Homework #3 , due Monday, Feb 6.
  5. Homework #4 , due Friday, Feb 10.
  6. Quiz #2 solution
  7. Quiz #3 solution
  8. Test #1 , Test #1 solution
  9. Homework #5 , due Monday Feb 20.
  10. Homework #6 , due Friday Feb 24.
  11. Quiz #4 solution
  12. Quiz #5 solution
  13. Test #2 , Test #2 solution
  14. Quiz #7 solution
  15. Homework #7 , due Wed Mar 29th.
  16. Homework #8 , due Friday Mar 31st.
  17. Test #3 , Test #3 solution
  18. Quiz #8 solution
  19. Quiz #9 solution
  20. Quiz #10 solution
  21. Test #4 , Test #4 solution

Test/Weekly Quiz solutions, sample/old Tests, Homework Assignments (Fall 05)

  1. Homework #1 , due Friday August 26th.
  2. Quiz #1 solution
  3. Homework #2 , due Friday Sept 2.
  4. Homework #3 , due Wednesday Sept 7.
  5. Quiz #2 solution
  6. Homework #4 , due Wednesday Sept 14.
  7. Quiz #3 solution
  8. Homework #5 , due Wednesday Sept 21.
  9. Test #1 , Test #1 solution
  10. Homework #6 , due Friday Sept 30.
  11. Quiz #4 solution
  12. Quiz #5 solution
  13. Test #2 , Test #2 solution
  14. Quiz #6 solution
  15. Homework #7 , due Monday Oct 31st.
  16. Homework #8 , due Friday Nov 4th.
  17. Quiz #7 solution
  18. Test #3 , Test #3 solution
  19. Quiz #8 solution
  20. Quiz #9 solution
  21. Homework #9 , due Friday Nov 18th.
  22. Test #4 , Test #4 solution

Test/Weekly Quiz solutions, sample/old Tests, Homework Assignments (Summer 05)

  1. Homework #1 , due Monday Jun 6th.
  2. Homework #2 , due Wednesday Jun 6th.
  3. Quiz #1 solution
  4. Quiz #2 solution
  5. Homework #3 , due Thursday Jun 15th.
  6. Homework #4 , due Tuesday Jun 21.
  7. Test #1 , Test #1 solution
  8. Homework #5 , due Friday Jun 24.
  9. Quiz #3 solution
  10. Quiz #4 solution
  11. Test #2 , Test #2 solution
  12. Homework #6 , due Friday July 8.
  13. Homework #7 , due Wednesday July 13.
  14. Quiz #5 solution
  15. Quiz #6 solution
  16. Test #3 , Test #3 solution
  17. Homework #8 , due Thurs July 21.
  18. Homework #9 , due Mon July 25.
  19. Homework #10 , due Tues July 26.
  20. Quiz #7 solution
  21. Quiz #8 solution
  22. Test #4 , Test #4 solution

Test/Weekly Quiz solutions, sample/old Tests, Homework Assignments (Spring 05)

  1. Homework #1 , due Wed Jan 19th.
  2. Homework #2 , due Wed Jan 26th.
  3. Quiz #1 solution
  4. Homework #3 , due Wed Feb 2nd.
  5. Quiz #2 solution
  6. Quiz #3 solution
  7. Homework #4 , due Friday, Feb 11th.
  8. Test #1 , Test #1 solution
  9. Homework #5 , due Wednesday, Feb 16th.
  10. Homework #6 , due Wednesday, Mar 2nd.
  11. Test #2 , Test #2 solution
  12. Quiz #4 solution
  13. Homework #7 , due Wednesday, Mar 23rd.
  14. Quiz #5 solution
  15. Homework #8 , due Wednesday, Apr 5th.
  16. Test #3 , Test #3 solution
  17. Quiz #6 solution
  18. Homework #9 , due Wednesday, Apr 20.
  19. Quiz #7 solution
  20. Quiz #8 solution
  21. Test #4 , Test #4 solution

Test/Weekly Quiz solutions, sample/old Tests (Fall 04)

  1. Weekly Quiz #1 solution
  2. Homework #1 solution
  3. Weekly Quiz #2 solution
  4. Homework #2 solution
  5. Weekly Quiz #3 solution
  6. Homework #3 solution
  7. Test #1 , Test #1 solution
  8. Homework #4 solution
  9. Homework #5 Assignment
  10. Weekly Quiz #4 solution
  11. Homework #5 Solution
  12. Test #2 , Test #2 solution
  13. Weekly Quiz #5 solution
  14. Homework #6 Assignment
  15. Weekly Quiz #6 solution
  16. Homework #6 Solution
  17. Homework #7 Assignment
  18. Weekly Quiz #7 solution
  19. Homework #7 Solution
  20. Test #3 , Test #3 solution
  21. Homework #8 Assignment
  22. Homework #8 Solution
  23. Weekly Quiz #8 solution
  24. Homework #9 Assignment
  25. Homework #9 Solution Assignment
  26. Weekly Quiz #9 solution
  27. Test #4 , Test #4 Solution

Test/Weekly Quiz solutions, sample/old Tests (Summer 04)

  1. Weekly Quiz #1 solution
  2. Weekly Quiz #2 solution
  3. Weekly Quiz #3 solution
  4. Test #1 solution
  5. Weekly Quiz #4 solution
  6. Test #2 sample
  7. Test #2 Solution
  8. Weekly Quiz #5 Solution
  9. Test #3 Review
  10. Weekly Quiz #6 Solution
  11. Test #3 solution
  12. Weekly Quiz #7 Solution
  13. Weekly Quiz #8 Solution
  14. Test #4 Solution


Here are the old PIC16 quizzes/notes/tests . For the hardware topics, the PIC16 and PIC18 hardware modules are virtually identical, so these are helpful if you want an idea of the types of questions I ask on tests/quizzes.


Useful Links


Microchip Trademark Acknowledgement

"PIC®" is a registered trademark of Microchip Technology Inc., in the U.S.A. and other countries.

"MPLAB®" is a registered trademark of Microchip Technology Inc., in the U.S.A. and other countries.

"PICmicro®" is a registered trademark of Microchip Technology Inc., in the U.S.A. and other countries.

"MPASMTM" is a registered trademark of Microchip Technology Inc., in the U.S.A. and other countries.