1 / 11

Final Exam Review

Prepare for the ECE 3561 final exam with a review of binary number system, MSP430 architecture, code segments, subroutines, timing, digital I/O, and interrupts.

davislarry
Download Presentation

Final Exam Review

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. ECE 2560 Final Exam Review Department of Electrical and Computer Engineering The Ohio State University ECE 3561 - Lecture 1

  2. Time • When???? • Friday December 12th – This Friday • 4:00pm to 5:45pm • Open book – Open Notes ECE 3561 - Lecture 1

  3. On exam • All items from all lectures • Binary Number System • The MSP 430 architecture • The MSP 430 Instruction Set • Simple code segments • The sections of a program in Code Composer • Subroutines • Timing of instructions • Digital I/O • Interrupts and Interrupt Service Routines ECE 3561 - Lecture 1

  4. Binary Number System • Base 2 to Base 10 conversion • Base 10 to Base 2 conversion • Adding, subtracting, and multiplying in base 2. ECE 3561 - Lecture 1

  5. The MSP 430 architecture • The register set • Memory organization • ALU operations supported • Peripheral Devices • Ports and I/O ECE 3561 - Lecture 1

  6. Code segments • Know how to show results from a few instructions • Given a specification of the task, write a code segment of a few instructions to complete it. • Know what “busy waiting” is. ECE 3561 - Lecture 1

  7. Code Composer • Know how to “end” your program • Know how to specify data variables for your program. • Know how to set up and create and Interrupt service routine. ECE 3561 - Lecture 1

  8. Subroutines • Know how to pass arguments to subroutines. • In registers, in data variables, on the stack • Know what side effects means and why subroutines should have no side effects. • Know what re-entrant means and the requirements for making a subroutine re-entrant. • Know how to pass arguments and results from subroutines on the stack. ECE 3561 - Lecture 1

  9. Timing • Know how to use the reference material to determine the number of cycles required by instructions. • Know how to analyze a section of code for min and max execution time. ECE 3561 - Lecture 1

  10. Digital I/O • Know what is supported on the MSP430 • Know how to set up ports for input and/or output, ie, how to configure a port. • Know which ports are configurable for interrupts and how to do it. • Know how to use the flags register of a port to check the status of a port using busy waiting. ECE 3561 - Lecture 1

  11. Interrupts • Know what ISR are and how to set them up in Code Composer. • Know the sequence of actions that happen when servicing an interrupt. ECE 3561 - Lecture 1

More Related