200 likes | 436 Views
CSE 470/570 EE 470/570 Microprocessor-based System Design. Prof. Richard E. Haskell 115 Dodge Hall. CSE/EE 470/570. Prerequisites : CSE 470: CSE 378 EE 470: EE 378 CSE 570: BS in CE or CS EE 570: BS in EE. CSE/EE 470/570. Text : MC9S12C32 : 16-Bit Microcontroller datasheets
E N D
CSE 470/570 EE 470/570 Microprocessor-basedSystem Design Prof. Richard E. Haskell 115 Dodge Hall
CSE/EE 470/570 • Prerequisites: • CSE 470: CSE 378 • EE 470: EE 378 • CSE 570: BS in CE or CS • EE 570: BS in EE
CSE/EE 470/570 • Text: MC9S12C32 : 16-Bit Microcontroller datasheets Download 9S12C32_ZIP.ZIP from http://e-www.motorola.com/webapp/sps/site/ prod_summary.jsp?code=MC9S12C32&nodeId =03t3ZGpnLn8636K100#documentation
CSE/EE 470/570 • Suggested references: • 68HC12 Microcontroller: Theory and Applications, Daniel J. Pack and Steven F. Barrett, Prentice Hall, 2002. • Software and Hardware Engineering: Motorola M68HC12, Fredrick M. Cady and James M. Sibigtroth, Oxford University Press, 2000. • MC68HC12: An Introduction – Software and Hardware Interfacing, Han-Way Huang, Thomson, 2003. • Embedded Microcomputer Systems: Real Time Interfacing, Jonathan W. Valvano, Brooks/Cole, 2000. • Design of Embedded Systems Using 68HC12/11 Microcontrollers, Richard E. Haskell, Prentice Hall, 2000.
CSE/EE 470/570 • Development board: • Each student must purchase a CML-12C32 development board directly from Axiom Manufacturing, www.axman.com. $78.00 with educational discount.
Course Contents • The 68HC12 and HCS12 Families of Microcontrollers • 68HC12 instructions and addressing modes • Parallel Interfacing • Interrupts • The Serial Peripheral Interface (SPI) • Analog-to-Digital Converter
Course Contents (cont.) • Timers and PWM • The Serial Communication Interface (SCI) • Fuzzy Control • Program Development in assembly language, C, and WHYP
Course ObjectivesBy the end of this course you should be able to: • Write 68HC12 assembly language programs • Implement and test programs on the Motorola MC9S12C32 microcontroller
Course Objectives (cont.)By the end of this course you should be able to: • Design an HCS12-based embedded system that uses • Parallel ports • Synchronous (SPI) and asynchronous (SCI) serial ports • Timers (input capture and output compare) • A/D converters
Homework and Labs • Individual homework assignments done on CML-12C32 development board • Group lab assignments done on CML-12C32 development board • Homework and lab assignments checked off by lab instructor during lab periods
Term ProjectEach group will • Design and implement a prototype of a microcontroller-based product that will meet a specific need (e.g. of a disabled person) and for which there would be a market. • Write a final report describing the design. • Make an oral presentation and demonstration to the class.
Term Project (cont.) • Assume that your group is a small business that wants to be successful • What makes small businesses successful? • “To borrow a phrase: It’s the idea, stupid” • Doug Hall, host of Brain Brew Radio • Wall Street Journal, p. R6, July 12, 2004
“…the most thriving entrepreneurs are the so-called American dreamers – the ones who see a void in American commerce and try to address it rather than haphazardly chasing any inspiration. For instance, the guy who can’t find a printer cartridge on a weekend and is moved to open an office-supply store; or the entrepreneur who goes to a dirty theme park and decides he can do better. That, Mr. Hall suggests, is where the Staples and Disneys of the world originate.” Gwendolyn Bounds, “Lessons of Success – and Failure” The Wall Street Journal, p. R1, R6, July 12, 2004
Engine Encoder Simulator Dani Nadra Mayur Patel Nika Juncaj
Internal Circuit Connections Encoder Pulse Index Pulse CAM Signal FEV Standard
Example - Encoder Pulse Signal Current Simulation Current Output
Exams • Exam 1 • Exam 2 • No Final Exam • Project presentations and demonstrations: Mon., December 13, 7:00 - 10:00 p.m.
Grading • Homework and Labs 15% • Projects • Hardware/Software Design 20% • Written report 15% • Oral presentation 5% • Marketability 5% • Exam 1 20% • Exam 2 20% • 100%
Office Hours • Mon., Wed., 3:00 – 4:00 p.m.; 115 DH • Phone: 248-370-2861 • email: haskell@oakland.edu • Web site: • www.cse.secs.oakland.edu/haskell • click on HC12 Book and click CSE/EE 470/570