Transcript
Page 1: CSE 470/570  EE 470/570  Microprocessor-based System Design

CSE 470/570 EE 470/570

Microprocessor-basedSystem Design

Prof. Richard E. Haskell

115 Dodge Hall

Page 2: CSE 470/570  EE 470/570  Microprocessor-based System Design

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

Page 3: CSE 470/570  EE 470/570  Microprocessor-based System Design

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

Page 4: CSE 470/570  EE 470/570  Microprocessor-based System Design

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.

Page 5: CSE 470/570  EE 470/570  Microprocessor-based System Design

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.

Page 6: CSE 470/570  EE 470/570  Microprocessor-based System Design

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

Page 7: CSE 470/570  EE 470/570  Microprocessor-based System Design

Course Contents (cont.)

• Timers and PWM

• The Serial Communication Interface (SCI)

• Fuzzy Control

• Program Development in assembly language, C, and WHYP

Page 8: CSE 470/570  EE 470/570  Microprocessor-based System Design

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

Page 9: CSE 470/570  EE 470/570  Microprocessor-based System Design

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

Page 10: CSE 470/570  EE 470/570  Microprocessor-based System Design

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

Page 11: CSE 470/570  EE 470/570  Microprocessor-based System Design

Term Project

Each 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.

Page 12: CSE 470/570  EE 470/570  Microprocessor-based System Design

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

Page 13: CSE 470/570  EE 470/570  Microprocessor-based System Design

“…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

Page 14: CSE 470/570  EE 470/570  Microprocessor-based System Design

Engine Encoder SimulatorDani NadraMayur PatelNika Juncaj

Page 15: CSE 470/570  EE 470/570  Microprocessor-based System Design

Final Design

Page 16: CSE 470/570  EE 470/570  Microprocessor-based System Design

Internal Circuit Connections

EncoderPulse

IndexPulse

CAMSignal

FEV Standard

Page 17: CSE 470/570  EE 470/570  Microprocessor-based System Design

Example - Encoder Pulse Signal

Current Simulation Current Output

Page 18: CSE 470/570  EE 470/570  Microprocessor-based System Design

Exams

• Exam 1

• Exam 2

• No Final Exam

• Project presentations and demonstrations: Mon., December 13, 7:00 - 10:00 p.m.

Page 19: CSE 470/570  EE 470/570  Microprocessor-based System Design

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%

Page 20: CSE 470/570  EE 470/570  Microprocessor-based System Design

Office Hours

• Mon., Wed., 3:00 – 4:00 p.m.; 115 DH

• Phone: 248-370-2861

• email: [email protected]

• Web site: – www.cse.secs.oakland.edu/haskell– click on HC12 Book and click CSE/EE 470/570


Top Related