LETOURNEAU UNIVERSITY EEGR 3233 INTRODUCTION TO MICROCONTROLLERS Fall Semester 2008 2007-08 CATALOG DATA: Application of digital and logic concepts to the study of microcontroller function and use. Topics include assembly language programming and hardware interface design for typical applications. Class 3, Lab 1. Prerequisite: EEGR 3213. (Fall) CREDIT: 3. This is a required course for the Electrical concentration. Class meets 2 times per week for 1 hour and 20 minutes. Lab meets 1 time per week for 1 hour. TEXTBOOK: The 68HC12 Microcontroller, by Pack and Barrett, Prentice-Hall, 2002. REFERENCES: CPU12 Reference Guide, Freescale Semiconductor Inc., 2001. CPU12 Reference Manual, Freescale Semiconductor Inc., 2002. M68HC12B Family Data Sheet, Freescale Semiconductor Inc., 2004. MC68HC812A4 Family Data Sheet, Freescale Semiconductor Inc., 2004. M68HC12B32EVB Evaluation Board User’s Manual, Freescale Semiconductor Inc., 1999. GOALS AND/OR OBJECTIVES: To provide a basic knowledge of microprocessors, microprocessor programming, and interfacing that will allow the student to interface a representative microprocessor/microcontroller with the "outside world". PREREQUISITES: Course: EEGR 3213 Digital Electronics Topics: 1. Application of Boolean algebra to the design of logic circuits 2. Binary, octal, and hexadecimal number systems 3. Unsigned binary, sign-magnitude, one's complement, and two's complement arithmetic 4. Synchronous and asynchronous digital circuit operation 5. Counters and flip-flops TOPICS: Review of Number Systems and Computer Arithmetic 6812 Architecture 6812 Instruction Set and Addressing Modes The Stack; Subroutines Programming Methods Input/Output Operations Interrupts The Timer and PWM Modules A/D Conversion The Memory System Serial and Parallel Communication Applications COMPUTER USAGE: Utilization of microcomputer development systems in the laboratory. Use of 6812 simulators is encouraged. PROJECTS, LABORATORY, AND OTHER: The laboratory exercises and the project will include topics such as 1. Use of the D-Bug12 environment 9. Waveform synthesis 2. Use of assemblers 10. Serial communication 3. Addressing modes 4. Utility functions Lab reports should contain: 5. Interrupts Problem statement and flow chart................. 20% 6. The analog-to-digital converter Program written and assembled .................... 30% 7. Control of a stepper motor Program commented ..................................... 10% 8. Time/frequency measurement Demonstrated and printed results ................. 40% DESIGN CONTENT: Design is accomplished through the laboratory projects and a semester project that necessitate the integration of a microcontroller into a system. Design is encouraged for follow-on courses by encouraging the students to purchase the evaluation board used in this course. ORAL AND WRITTEN COMMUNICATION REQUIREMENTS: A project report and a few lab reports are required. POLICIES: 1. Regular attendance and class participation are important. Excessive tardiness or absences may affect grade. 2. Homework is due at the beginning of class; late homework will be accepted on or before the next class period with a 50% penalty. 3. Lab assignments are due weekly at each lab period; there will be a 20% deduction per day for late labs. 4. Four quizzes will be given during the semester, with the lowest one dropped; if a quiz is missed, then it is the one dropped. DISABILITY POLICY: Students enrolled in an institution of higher education are required to self-identify if they would like to request academic support services on the basis of a disability. LeTourneau University encourages a student with a disability to self-identify after admission and to provide required documentation to Student Services at (903) 233-4460. The university assumes that through self-identification and the utilization of appropriate academic services, the student will make academic progress. Students needing facility adjustments must also notify Student Services at (903) 233-4460. For more information, please visit the Disability Support Services website: http://www.letu.edu/opencms/opencms/_Student-Life/student-services/Students-withDisabilities/ GRADING: Grade Basis: Quizzes ............................................................25% Homework .......................................................15% Labs .................................................................15% Project ..............................................................20% Final Exam (Class)...........................................16% Final Exam (Lab) ...............................................9% Unexcused absences: -0.3% (each) or -0.15% (if class period partially attended). Grade Scale: A = B = C = D = F = 90%-100% 80%-90% 70%-80% 60%-70% 0%-60% OUTCOMES: This course contributes to the following program outcomes in that the students will 1. apply knowledge of math, engineering, and science; 2. design system, component, or process to meet functional and fabrication needs; 3. identify, formulate, and solve engineering problems; 4. communicate effectively. CHRISTIAN LEADERSHIP DISTINCTIVES: LeTourneau University is committed to encouraging and enabling students to progress in: Discovering Purpose, Grounding Values, Broadening Knowledge, Deepening Skills, and Collaborating Service. The specific leadership distinctives integrated into this course include: 1. 2. 3. Grounding values: Emphasized in the Scripture passages used during the devotional time. Deepening skills: Students learn about microcontrollers and their application. Collaborating Service: The team project contributes to this distinctive. ACADEMIC HONESTY: Your conduct in this course should be an expression of honesty and integrity. Please review the discussion of Academic Honesty in the LeTourneau University Student Handbook. Academic dishonesty is a breach of trust with serious consequences. Cases of academic dishonesty will be handled according to the procedures outlined in the Student Handbook. Prepared by: Marian Iordache March 7, 2016