DOC PREVIEW
NMT EE 308 - EE 308 Course Overview

This preview shows page 1-2-3-4-5 out of 16 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 16 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 16 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 16 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 16 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 16 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 16 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

EE 308 Spring 2010Course Overviewhttp://www.ee.nmt.edu/~rison/ee308Texts: Class Notes (http://www.ee.nmt.edu/~rison/ee308)Freescale Databooks on the MC9S12Recommended: The HCS12/9S12: An Introduction to Software andHardware Interfacing, 2nd Edition by Han-Way Huang,ISBN 978-1435427426Grading:• 20%: Homework due every Monday.• 10%: Quiz every Friday• 45%: Four midterms exams• 25%: Final exam1EE 308 Spring 2010Outline:• Introduction to the MC9S12 Microcontroller• Binary and Hexadecimal Numbers• Assembly Language Programming• C Language Programming• Introduction to MC9S12 Internal Peripherals– The MC9S12 Timer Subsystem– Interrupts using the Timer Subsystem– The MC9S12 Pulse Width Modulator Subsystem• The MC9S12 Expanded Mode– Address and Data Buses and Timing– Adding Memory and External Peripherals– Interfacing to the MC9S12• More MC9S12 Internal Peripherals– The A/D Converter Subsystem– The Serial Peripheral Interface– The Serial Communications Interface• Using the MC9S12 in a Control Application2EE 308 Spring 2010Lab Overview• The lab instructors ar Dr. Aly El-Osery and Dr. Hector Erives. The labmeets Monday and Wednesday afternoons. No labs this week.• Lab handouts will be posted on the EE 308 website:http://www.ee.nmt.edu/~rison/ee308• The MC9S12 evaluation kits will be passed out in lab next week.• You need to bring a bound lab notebook to the first lab.• There will be a prelab for each lab. This must be done and turned inat the start of your lab section. The lab TA will verify that you havecompleted the prelab.• Be prepared to answer questions about the pre-lab when you come tolab.• If you do not complete the prelab before coming to lab, you will lose 50%of the points for that lab.3EE 308 Spring 2010SETAUTOMOBILE CRUISE CONTROLCONTROLMEASURESPEEDSPEEDDESIREDTHROTTLE4EE 308 Spring 2010∆ T∆ T= time for one revolution of wheel.Speed = C/∆T, where C is the circumference of the wheel75TIMER D/ATHROTTLESPEEDSETDISPLAYAUTOMOBILE CRUISE CONTROLCONTROL5EE 308 Spring 2010∆∆ADD ACCON?THROTTLEREAD MANUALG = MTSTARTNOYESG = G+K(S −S )READ SS = C/ TREAD T6EE 308 Spring 2010A/DD/AParallelSerialTimeCOMPUTERMEMORYMICROCONTROLLER7EE 308 Spring 2010REG AREG BMEMORYINSTRUCTIONINSTRUCTION ACTION(A) + (B) => A0 => A(A) => Address 518 06875A 05SIMPLE MICROPROCESSOR8EE 308 Spring 2010STATUSALU CONTROLMEMORYINSTRUCTIONMEMORYDATADATAINSTRUCTION& ADDRCONTROLHARVARD ARCHITECTUREMICROPROCESSORCLOCKOUTINCONTROL9EE 308 Spring 2010MICROPROCESSORMEMORYPRINCETON (VON NEUMAN) ARCHITECTURESTATUSOUTINCONTROLCLOCKCONTROLALUDATAINSTRUCTION& ADDRCONTROL10EE 308 Spring 2010DATAPROGRAMMEMORY MAP(Princeton Architecture)Function of memorydetermined by programmer11EE 308 Spring 2010InstAddr_Mux_SelALU_CtrlZ_LoadC_LoadV_LoadA_LoadX_LoadControlPC_LoadPC_IncNVCZN_LoadMem_WALUZAddr_MuxAXPCMARIRVCAddressNMemoryData_MuxData_Mux_SelProcessor0xFF Reset VectorInputOutputIR_LoadMAR_Load12EE 308 Spring 201013EE 308 Spring 2010Hex0123456789ABCDEFDecimal 0 1 2 3 4 5 6 7 8 9101112131415Binary000000010010001101000101011001111000100110101011110011011110111114EE 308 Spring 2010Convert Binary to Decimal111101121 x 2 + 1 x 2 + 1 x 25 4+ 1 x 2 + 0 x 2 + 1 x 2 + 1 x 26 2 1031 x 64 + 1 x 32 + 1 x 16 + 1 x 8 + 0 x 4 + 1 x 2 + 1 x 11231015EE 308 Spring 2010Convert Hex to Decimal334948 x 16 + 2 x 16 + 13 x 16 + 6 x 1682D6162 1 038 x 4096 + 2 x 256 + 13 x 16 + 6 x


View Full Document

NMT EE 308 - EE 308 Course Overview

Documents in this Course
Load more
Download EE 308 Course Overview
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view EE 308 Course Overview and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view EE 308 Course Overview 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?