ECE3724 Microprocessors
From Ece
Instructor: Professor Bryan A. Jones (section 01)
Prerequisites: Both ECE 3714 (Digital Devices) and CSE 1384 (Intermediate Computer Programming), with a grade of C or better in both courses
Office hours policy: Students may come by at any time. You may call or email for an appointment to make sure you can be seen.
Textbook: Microcontrollers: From Assembly Language to C Using the PIC24 Family by R. Reese, J. W. Bruce, and B. A. Jones
Meeting times: MWF 9:00-9:50AM (section 01) in Simrall 203
Lab: weekly in Simrall 329
ECE3724 Microprocessors is an undergraduate course in Electrical and Computer Engineering at Mississippi State University.
Contents |
PIC18 course
Older websites for previous versions of the class based on the PIC18F2420 and the PIC18F242 provide information for students who took this version of the class and now use these processors for senior design projects.
Course summary
Textbook - videos - software - syllabus - lab notes - schedule - archives - grades - PIC instruction set summary and reference
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.
Announcements
- Purchase breadboard the week of 31-Aug for $30 (cash only) from IEEE officers, which will attend the lab sections.
- For the fall 2009 semester, W5YD, the MSU amateur radio club, will hold monthly meetings on the last friday of each month at 6:30PM in Simrall 129. Dues are $20. Please see the amateur radio bonus policy to see what kind of extra credit you can get in class for participating in this fun hobby.
- Dr. Jones specializes in robotics for undergrads (SECON and Intro to Robotics), graduate students, and K-12 students. A number of videos illustrate these areas.
- Dr. Jones's wife keeps a blog.
Schedule
The class schedule specifies reading and homework assignments, test dates, and per-class material covered. Use the homework cover sheet when turning in homework assignments.
Test schedule
Note the test schedule: four tests will be given on Monday nights starting at 7:00 PM in the Simrall Auditorium. If you cannot make the test date, e-mail the instructor at least one week in advance to schedule an alternate time. Test dates:
- Test 1 - 14-Sep
- Test 2 - 28-Sep
- Test 3 - 19-Oct
- Test 4 - 16-Nov
Homework
- Homework #1 is due Monday, 24-Aug.
- Homework #2, ch. 2 problems 2-10 even is due Friday, 28-Aug. Clarifications:
- Problem 4: Include a table which shows the order in which instructions are executed in your solution; the table should contain the memory location, instruction, and DOUT value for each instruction executed.
- Problem 8:
- Note that DOUT[3] refers to the third (top) bit of the 4-bit DOUT value: if DOUT = 1010, then DOUT[3] = 1, DOUT[2] = 0, DOUT[1] = 1, DOUT[0] = 0.
- To clarify the last sentence of the problem: "For the program in Table 2.10, how many clock cycles does it take to reach, but not execute, location 3?
- Homework #3, ch. 3 problems 2-32 even is due Friday, 4-Sep.
- Note: Table 3.6 on page 91 was formatted to save space. However, the left-hand location/value pair is separate and unrelated to the right-hand location/value pair: Location W0 contains the value 0x1006. Location 0x1000 contains the value 0x382A. However, W0 is not at location 0x1000!
- Homework #4, ch. 4 problems 2-8 even, 36, 38*, 44, 46 is due Friday, 11-Sep.
- Problem 38: There's a mistake in this problem: replace "(uint8) u8_q)" with "(uint16) u8_q)" per the errata.
- Homework #5, ch. 5 problems 2, 4, 8, 12, 14, 22, 24, 26, 30 is due Monday, 21-Sep.
- Homework #6, ch. 6 problems 2-10, 26-28 even is due Friday, 25-Sep.
- Homework #7, ch. 8 problems 2-20 even is due Friday, 9-Oct.
- Homework #8, ch. 9 problems 2, 6-10 even, 20 is due Friday, 16-Oct.
- Homework #9, ch. 10 problems 2-14 even is due Friday, 30-Oct.
Other
Please report any errors in the textbook (see also the errata), labs, slides, code, test solutions, etc. so they can be fixed!!
Fun stuff
- A PIC-based microflyer!
- PIC-based robots at MSU from the SECON hardware competition or Intro to Robotics
- The PCB Design & Assembly page
Microchip Trademark Acknowledgment
"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.
"MPASM ®" is a registered trademark of Microchip Technology Inc., in the U.S.A. and other countries.
External links
- Microchip web site
- Knowledge Door contains several online educational tools including one that converts from any base to any base (use it to practice your hex to decimal conversions) and one that does unit conversions.
- Wiki Books has a good C programming book
- Sparkfun sells a number of interesting sensors.




