Microprocessor System Design and Interfacing

Slides:



Advertisements
Similar presentations
Please CLOSE YOUR LAPTOPS, and turn off and put away your cell phones, and get out your note-taking materials. Today’s daily quiz will be given at the.
Advertisements

Economics 1 Principles of Microeconomics Instructor: Ted Bergstrom.
College of Engineering Prevention and Detection of Academic Dishonesty May 1, 2009.
Happy Last Day of Classes Eat doughnuts Final exam information Address questions Course evaluations.
1 ECE 263 Embedded System Design Lessons 2, 3 68HC12 Hardware Overview, Subsystems, and memory System.
Syllabus Please print off and read through syllabus completely. It can be found on my website which is :
Please open your laptops, log in to the MyMathLab course web site, and open Daily Quiz 9. Remember: If you have time left out of your five minutes after.
Please open your laptops, log in to the MyMathLab course web site, and open Quiz 2.6/9.1. IMPORTANT NOTE: If you have time left after you finish the problems.
Please CLOSE YOUR LAPTOPS, and turn off and put away your cell phones, and get out your note-taking materials. Today’s daily quiz will be given at the.
 Mrs. DeBoard’s Contact Information  Phone:   Website: deboardvirtualbio.wikispaces.com  Office Hours:
Please open Daily Quiz 34. A scientific calculator may be used on this quiz. You can keep your yellow formula sheets out when you take the quiz. Remember.
Syllabus and Scheduling Kristen Traynor, Political Science Andrea Maxwell, Art History.
Math 119 ELEMENTARY STATISTICS. Contact Information INSTRUCTOR: Olga Pilipets INSTRUCTOR: Olga Pilipets
Please CLOSE YOUR LAPTOPS, and turn off and put away your cell phones, and get out your note- taking materials.
ECEN 301Discussion #1 – Syllabus1 All Sections MWF 1:00 – 1:50 PM 256 CB Lecture: MW Recitation: F Labs: M or Th Instructor: Prof. David Long Office: CB.
Course Objectives Discuss fundamental concepts of information technology Show how computers are used as practical tools for solving personal, business,
Classroom Procedures and Expectations Rm 116. Biology Notebook Will consist of a three ring binder, a pocket folder, and filler paper. Should be used.
8 RED TEAM OPEN HOUSE Welcome!. Expectations Electronic Devices, including cell phones and Ipods, are not allowed to be used in the school building. Cell.
Psychology Fundamentals (B) Professor Mark Steyvers Course website:
Welcome to 8 th grade Environmental Science Mrs. Montgomery – Room
CS151 Introduction to Digital Design Noura Alhakbani Prince Sultan University, College for Women.
Welcome to Mr. Romano’s 6 th Grade Math Class. Welcome  Don’t be afraid to ask questions.  Feel free to bring up thoughts, comments or concerns throughout.
Course: Math 7 / PreAlgebra Teacher: Mrs. Donlon Class Grade Test & Quizzes  All test and quizzes will be announced in class.  Review packet for tests.
Web Application Development Instructor: Matthew Schurr Please sign in on the sheet at the front of the room when you arrive.
Mr. Chavel September 2015 Teacher Talk.  For allowing me to partner with you to help your young person be all that he is intended to be!  For completing.
Welcome to Mr. Romano’s 6 th Grade Math Class. Welcome  Don’t be afraid to ask questions.  Feel free to bring up thoughts, comments or concerns throughout.
CMSC201 Computer Science I for Majors Lecture 12 – Midterm Review Prof. Katherine Gibson.
Warm-up Fill out the name card on your desk
Day 1: Getting Organized Spring 2014
Introduction to Digital System Design
Teacher Contact Information address - Phone number – 215 – 944 – 1154 Website is always available for you.
CLOSE Please YOUR LAPTOPS, and get out your note-taking materials.
AP Environmental Science
General Chemistry 1 CHEM 1411 Dr. Lorenz J Bauer
Warm-up Fill out the name card on your desk
PROBLEM SOLVING AND PROGRAMMING
Mon. Oct 2 Announcements Quiz Postponed to Wednesday – still only on 2.a + 2.b Video lecture for 2.a posted Lab 6 experiment extension You must come to.
Intermediate Small Business Programs, Part B SBP 202 Lesson 1: Introduction February 2017 Lesson 1: Introduction.
Subcontracting SBP 210 Lesson 1: Introduction
Fri. Oct 13 Announcements Lab practical next week
CMSC202 Computer Science II for Majors Lecture 08 – Overloaded Constructors Dr. Katherine Gibson Based on slides by Chris Marron at UMBC.
Course Information Mark Stanovich Principles of Operating Systems
Lab Practical #1 Review Tim Rogers 2017.
Kelly Pratt-Booth World History Teacher Rank II
We’ll be spending minutes talking about Quiz 1 that you’ll be taking at the next class session before you take the Gateway Quiz today.
Course Information and Introductions
Day 1: Getting Organized Fall 2012
Notetaking and Study Skills Syllabus
Mrs. Atkinson 6th grade Math and Science
IB HL Biology Year 1 Maura Palillo.
NRS 220 Alterations in Health III
Journey: Introduction to Embedded Systems
Andy Wang Operating Systems COP 4610 / CGS 5765
FALL 2014 SCC Language Lab S P A N I S H Lab Orientation.
Algebra 1 Communication Class Materials Grading Discipline
PreAP Geometry welcome cell phone policy expectations one credit to
6th Grade Math Be respectful. Be successful.
Spanish 120, 110, and 111, Elementary Spanish I
ELT & Vocabulary Learning
Moving Arrays -- 2 Completion of ideas needed for a general and complete program Final concepts needed for Final DMA.
First Semester 1439/1440 Welcome 
MAP Geometry Be respectful. Be successful.
Independent timers build into the processor
Homework Reading Machine Projects Labs
8th Advanced Science Be respectful. Be successful.
Medical Terminology Be Safe. Be Responsible. Be Respectful.
Principles of Health Science
Mastery Based Learning and Grading 101
[CONTACT] Biology [GRADING] Course Description
Financial Mathematics
Presentation transcript:

Microprocessor System Design and Interfacing Final Lab Practical Review Notes

Announcements Mini-Project Spark challenge signup deadline today (what they told me - although website says Dec 1….), just register now to be sure Final report/poster/video due Mon. Dec 11 Reminder: Last day to demo is Thursday Dec 7 by 12 noon. If you can demo early, please do.

ECE 362 Final Lab Practical Date: November 27 – Dec 1 Time: Your Scheduled Lab Period 8:30 AM labs, exam will be 9:00 AM – 11:00 AM 11:30 AM labs, exam will be NOON – 2:00 PM 2:30 PM labs, exam will be 3:00 PM – 5:00 PM Place: Lab Material covered: Module 1 (second opportunity to demonstrate) and Module 3 Closed book and notes Calculators not needed / not allowed (but can use Windows Calculator) Microcontroller boards will be supplied

Restrictions Exam is closed book and notes You must use the supplied #2 pencils Book bags must be left by the entrance Cell phones must be turned off and left in your book bag Hand-held calculators are not needed and may not be used (the Windows calculator may be used, however) Earphones/earbuds may not be worn Caps may not be worn during the exam Makeup exams can only be scheduled under extraordinary circumstances

Academic Honesty Discussing any aspect of this exam while it is in progress will be considered cheating Attempted use of any type of electronic recording, communication, photo, and/or scanning device will be considered cheating Any attempt to cheat on the exam will result in a failing grade for the course All cases of cheating will be reported to the ECE Associate Head for Instruction and the Dean of Students A professional person does not take credit for the work of someone else!

Course Outcome Tested A student who successfully fulfills the course requirements will have demonstrated: an ability to program a microcontroller to perform various tasks (in both ASM and C) an ability to interface a microcontroller to various devices an ability to effectively utilize microcontroller peripherals an ability to design and implement a microcontroller-based embedded system References Provided: - CPU12 Ref Guide and S12CPU Ref Manual - 9S12 Device User Guide (A.C./D.C. Characteristics) - CRG, ATD, SCI, SPI, TIM, and PWM Block Users Guides - Module 3 Lecture Summary Notes

Learning Outcome Assessment You will earn 1% bonus credit for each course outcome you successfully demonstrate Outcome 1 will be assessed based on scores received for the lab practical programming problems, for which a score of at least 60% on either of the two practical exams -OR- a score of at least 60% on each lab experiment will be required to demonstrate basic competency Outcomes 2 and 3 will be assessed based on concept and design/analysis questions included on the lab practical exams, for which a score of at least 60% will be required to demonstrate basic competency Outcome 4 will be assessed based on the Embedded System Design Mini-Project, for which a score of at least 60% will be required to demonstrate basic competency

Grade Determination 90% to 100% A-, A, A+ 80% to 90% B-, B, B+ C-, C, C+ 60% to 70% D-, D, D+ < 60% F Grade Determination Bonus Exercises (TA Evaluation, M-P Poster, Video, Showcase) ∆1% Class Participation (iClickers) 5.0% Homework Assignments (10 @ 1%) 10.0% Lab Experiments (10 @ 2%) 20.0% In-Class Graded Quizzes Lab Practical Concept Exams – Outcomes 2 & 3 (2 @ 15%) 30.0% Lab Practical Programming Exams – Outcome 1 (2 @ 7.5%) 15.0% Embedded System Design Mini-Project – Outcome 4 ∆2% Outcome Demonstration Bonus (4 @ 1%) 100+∆%

Grade Determination Calculation of Raw Weighted Percentage: RWP then “curved” (mean-shifted) with respect to upper percentile of class, yielding the Normalized Weighted Percentage (NWP) Windowed Standard Deviation (WSD) for class is calculated based on statistics of “middle” 90% of class Cutoff Width Factor (CWF) is then max(WSD,10), i.e., the nominal cutoffs are 90-80-70-60 for A-B-C-D, respectively

Final Lab Practical – Part 1 General Concept Questions CRG block, including PLL, watchdog, and RTI analog data acquisition and ATD synchronous serial communication and SPI timer (TIM) and pulse accumulator (PA) pulse width modulation (PWM) and analog signal reconstruction asynchronous serial communication (SCI) Parts 1 & 2 will be cast as multiple-choice questions – C source files and their associated projects will be provided (~ 40 questions total)

Final Lab Practical – Part 2 Code Analysis thought questions addressed in lab experiments and clicker quizzes functional analysis / code behavior peripheral initializations device drivers interrupt service routines Parts 1 & 2 will be cast as multiple-choice questions – C source files and their associated projects will be provided (~ 40 questions total)

Final Lab Practical – Part 3 Programming Exercise (Outcome 1) o(30) lines of C code general theme: waveform synthesis 10 point grading rubric based on functionality, organized into steps (4+4+2) to facilitate partial credit score also based on efficiency: 2-point (min) penalty for inefficient/cumbersome coding will include “bonus worksheet” that, based on the extent to which it is completed, will count for up to 1% bonus credit

How would you generate a waveform?

What about with a buffer?

Buffer in C // Globals #define BUF_SIZE 100 unsigned char buffer[BUF_SIZE]; unsigned int buffcounter = 0; buffer[99] buffer[0] ...

Buffered TIM isr in C interrupt 15 void tim_isr(void) { // clear flag TFLG1 = TFLG1 | 0x80; // Store the next buffer value to PWM PWMDTY0 = buffer[buffcounter]; buffcounter = (buffcounter + 1) % BUF_SIZE; }

Main() and isr interaction for (…) { } } // loop to fill buffer You will write this code: Producer ... I will give you this code: Consumer tim_isr() // consumes 1 value per // interrupt to send to PWM

What values should I put in the buffer to produce this?