ECE 2560 Final Exam Review Department of Electrical











- Slides: 11
ECE 2560 Final Exam Review Department of Electrical and Computer Engineering The Ohio State University ECE 3561 - Lecture 1 1
Time l When? ? l l Friday December 12 th – This Friday 4: 00 pm to 5: 45 pm l Open book – Open Notes ECE 3561 - Lecture 1 2
On exam l All items from all lectures l l l l l 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 3
Binary Number System l Base 2 to Base 10 conversion l Base 10 to Base 2 conversion l Adding, subtracting, and multiplying in base 2. ECE 3561 - Lecture 1 4
The MSP 430 architecture l The register set l Memory organization l ALU operations supported l Peripheral Devices l Ports and I/O ECE 3561 - Lecture 1 5
Code segments l Know how to show results from a few instructions l Given a specification of the task, write a code segment of a few instructions to complete it. l Know what “busy waiting” is. ECE 3561 - Lecture 1 6
Code Composer l Know how to “end” your program l Know how to specify data variables for your program. l Know how to set up and create and Interrupt service routine. ECE 3561 - Lecture 1 7
Subroutines l Know how to pass arguments to subroutines. l In registers, in data variables, on the stack Know what side effects means and why subroutines should have no side effects. l Know what re-entrant means and the requirements for making a subroutine reentrant. l Know how to pass arguments and results from subroutines on the stack. l ECE 3561 - Lecture 1 8
Timing l Know how to use the reference material to determine the number of cycles required by instructions. l Know how to analyze a section of code for min and max execution time. ECE 3561 - Lecture 1 9
Digital I/O l Know what is supported on the MSP 430 l Know how to set up ports for input and/or output, ie, how to configure a port. l Know which ports are configurable for interrupts and how to do it. l Know how to use the flags register of a port to check the status of a port using busy waiting. ECE 3561 - Lecture 1 10
Interrupts l Know what ISR are and how to set them up in Code Composer. l Know the sequence of actions that happen when servicing an interrupt. ECE 3561 - Lecture 1 11