EE319K_LabManualF10 - Jonathan W Valvano EE319K Fall 2010...

Info icon This preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
Jonathan W. Valvano EE319K Fall 2010 Lab Manual Page 1 [email protected] 8/20/2010 EE319K Laboratory Manual Univ of Texas at Austin, Valvano, Yerraballi, Bard Do not print the entire document, we will be making small changes. Fall 2010 (8/20/10 version) Table of Contents LAB 1. A DIGITAL LOCK ...................................................................................................................................................... 5 LAB 2. SWITCH AND LED INTERFACING ........................................................................................................................ 7 LAB 3. MINIMALLY INTRUSIVE DEBUGGING METHODS ....................................................................................... 15 LAB 4. VENDING MACHINE CONTROLLER ................................................................................................................. 19 LAB 5. LCD DEVICE DRIVER ............................................................................................................................................ 23 LAB 6. REAL-TIME POSITION MEASUREMENT SYSTEM ........................................................................................ 31 LAB 7. DISTRIBUTED DATA ACQUISITION SYSTEM ................................................................................................. 39 LAB 8. DIGITAL PIANO USING A DIGITAL TO ANALOG CONVERTER ................................................................ 47 LAB 9. TEXAS ROBOTS 1.83B ............................................................................................................................................ 56 HOW TO DEVELOP C PROGRAMS METROWERKS/TECH ARTS 9S12DG128 BOARD ....................................... 67 A) T O OPEN AN EXISTING M ETROWERKS PROJECT ................................................................................................................. 67 B) H OW TO CONFIGURE CREATE A NEW M ETROWERKS PROJECT ............................................................................................ 67 C) H OW TO RUN M ETROWERKS C CODE ON THE R EAL 9S12 BOARD ...................................................................................... 70 This lab manual is updated each semester. If you find a mistake, or if you find a section vague or confusing, please email me at [email protected] If you enjoy EE319K, you might also enjoy EE345L. Furthermore, if you are good at EE319K, you might consider specializing in embedded systems. 9S12DG128/9S12DP512 I/O Pins Chip TechArts TExaS V1.37 Simulation PAD15-PAD8 H2 Digital input PAD7-PAD0 H1 Analog input or Digital input PA7-PA0 H2 Digital I/O, no external data bus PB7-PB0 H2 Digital I/O, no external data bus PE7-PE0 H1/H2 no PE5,PE6 Digital I/O, no IRQ, no XIRQ, no external data bus PH7-PH0 H1 Digital I/O, Key wakeup PJ7-PJ6 H2 Digital I/O, Key wakeup, no I2C, no CAN PJ1-PJ0 H2 Digital I/O, Key wakeup PM7-PM0 H2 Digital I/O, no CAN, no SPI PP7-PP0 H1 Digital I/O, Key wakeup, no SPI, no PWM PS7-PS0 H1 Digital I/O, SCI0 or SCI1 (not both), no SPI PT7-PT0 H1 Digital I/O, input capture, output compare Please return the serial cable and LCD that you borrow from the 2 nd floor lab when done with Lab 7. If you do not return either of these two items by 12/1, we will drop your overall grade in EE319K one letter grade.
Image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon