CE-320 (Fall 2013)

Microcomputers I

News/Announcement

  • Fixed the answers of 6.m in Exercise 3.
  • Welcome to CE-320!

Weekly Schedule

The schedule is subject to change without notice.

Week Day Topics Reading Exercise Quiz/Test
W 1 Mon 1: Introduction to CE-320 - Ex1_Q  
Wed 2: Review of Number Systems - EX1_A  
Fri 3: Introduction to the Microcomputers 2-24  
W 2 Mon 4: Basic Addressing Modes 24-26,29-30 Ex2_Q
Wed 5: Assembly Programming 39-41 Ex2_A
Fri 6: Arithmetic Instructions 49-55 Quiz 1
W 3 Mon 7: Branches 63-71 Ex3_Q
Wed 8: Comparison Branches 65-71 Ex3_A
Fri 9: Assembly Language Example 65-71
W 4 Mon 10: Advanced Arithmetic Instructions 55-60 Ex4_Q
Wed 11: Boolean Logic Instructions 72-81 Ex4_A
Fri 12: Special Bit Instructions Quiz 2
W 5 Mon 13: The Stack 146-148 Ex5_Q
Wed 14: Subroutines 148-151 Ex5_A
Fri Review for midterm
W 6 Mon Midterm Midterm
Wed 15: Parameter Passing 151-157 Ex6_Q
Fri 16: Subroutines, Parameter Passing, Stack 185-195 Ex6_A
W 7 Mon 17: Basic I/O Hardware
Wed 18: Introduction to C Ex7
Fri 19: Functions and Program Structure 205-224 Quiz 3
W 8 Mon 20: C Programming in Embedded Systems Ex8
Wed 21: Using Assembly Subroutines in C
Fri NO CLASS
W 9 Mon 21: Using Assembly Subroutines in C 216-219 Ex. 9
Wed 22: Interrupt Basics 262-265
Fri 23: Interrupt Devices 287-292 Quiz 4
W 10 Mon 24: Interrupt Program Example
Wed 25: Advanced Topics
Fri Review - Quiz 4
W 11 Mon NO CLASS
Tue Review for final -
Final Exam – TBD FINAL

Course description

This course covers the fundamentals of the very important field of microcomputers. Microcomputers are found in devices from microwave ovens to desktop computers. This class will cover topics of machine language, structured assembly programming, subroutines, interrupts, and basic C programming. An understanding of microcomputers is necessary to debug current systems, develop specifications for new chips, and use any already available microcomputer in our circuit designs. Although the concepts covered apply to an extremely large number of different microcomputers, we will primarily use the HCS12/9S12 as the focus for examples.

Contents

  • Introduction to the HCS12 Microcontroller
    • Introduction to CE-320
    • Number systems
    • Introduction to Microcomputers
    • Introduction to HCS12/9S12
  • HCS12 Assembly Programming
    • Addressing Modes
    • Assembly Programming
    • Arithmetic Instructions
    • Branches
    • Comparison Branches
    • Assembly Examples
    • Advanced Arithmetic Instructions
    • Boolean Logic Instructions
    • Bit-wise Instructions
  • HW/SW Development Tools for HCS12
  • Advanced Assembly Programming
    • Stack
    • Subroutines
    • Parameter Passing
    • Subroutine, Parameter Passing, and Stack
  • Input and Output Devices
    • Input and Output
  • C Language Programming
    • Introduction to C
    • Functions and Program Structure
    • C Programming in Embedded Systems
    • Using Assembly Subroutines in C
  • Interrupts, Clock Generation
    • Fundamental Concepts of Interrupts
    • Interrupt Devices
    • Interrupts in C

Textbook

The HCS12/9S12: An Introduction to Software and Hardware Interfacing, Huang (2nd Edition) ISBN-10: 1435427424 ISBN-13: 9781435427426

Instructor

Dr. Jaerock Kwon Email: jkwon (at) kettering.edu Office: 2-703 K Phone: (810) 762-9500 ext. 5917 Twitter: @jaerock_ece facebook: jaerock.ece

Hours

Class: MWF 11:20am-12:20pm Office Hours: MW 1:20pm-2:20pm or by appointment

Grading

All grades will be posted in Blackboard under the lecture class (including lab grades).

  • Pop quizzes: 10%
  • 4 Main quizzes: 5% each = 20%
  • Midterm exam: 20%
  • Final exam: 30%
  • Labs (CE-320L): 20%

The Midterm grade will be calculated by Midterm exam 30% + Pop quizzes 20% + Main quizzes 30% + Labs 20%.

Exercises

Students take the full responsibility for exercises. Each exercise is released as two files: one that just contains problems and the other with both problems and answers. It is strongly recommended that you attempt to complete the problems without looking at the answers first.

Pop Quizzes

All pop quizzes are taken at the end of class. Each quiz is based primarily on the corresponding lecture materials. These quizzes will be approximately 10 minutes and will be taken. Open books and notes. No calculators are allowed.

Main Quizzes

All main quizzes are taken at the beginning of class. Each quiz is based primarily on the corresponding homework assignment and the related lectures and reading assignments, although the topics covered in the course typically require an understanding of the preceding material and a few questions from previous quizzes should be expected. These quizzes will be approximately 15 ~ 30 minutes and will be taken with no aids, (calculators, books, notes, crib sheets, etc.) unless explicitly stated.

Exams

There will be a midterm exam tentatively scheduled for the during of Week 6 and a final exam. The only aid allowed on the exams will be a copy of the S12 instruction set supplied by the instructor.

Responsibilities

The following describes what is expected of a student who wishes to do well in the course.

  • Attend class regularly and inform the instructor in advance if you must miss a lecture.
  • Spend a minimum of 2 to 2.5 hours per hour of lecture on course activities outside the classroom. These activities include reading the textbook, reviewing lecture notes, completing homework assignments, reviewing the course objectives, seeking help with the instructor, etc.
  • Begin working on the homework shortly after it is released. This will enable you to better understand the following lectures and class discussions.
  • Monitor your progress in the course through Blackboard.
  • Ask the instructor if you have questions about anything (lecture material, homework questions, your performance in the course, etc.). It is your responsibility to seek help from the instructor when you do not yet feel you fully understand a topic.

The following is a list of responsibilities that you may expect from the instructor.

  • Provide lectures that reach as broad a range of learning styles as is feasible within the constraints of the amount of material that must be covered and the time available for lectures.
  • Be available outside of class for explanations and answers tailored to individual students.
  • Make the student aware of the learning objectives and provide assignments that both teach basic use and application of the objectives.

Laboratory

There will be a separate syllabus for the lab portion distributed in lab.

Common Statement on Students with Documented Disabilities

The University will make reasonable accommodations for persons with documented disabilities. Students need to register with the Wellness Center every term they are enrolled in classes. To be assured of having services when they are needed, students should contact the Wellness Center during the first week of each term. Note that it is the student’s responsibility to arrange accommodations with each professor.

Common Statement on Ethics in the University and Academic Integrity

Kettering University values academic honesty and integrity. Cheating, collusion, misconduct, fabrication, and plagiarism are serious offenses. Each student has a responsibility to understand, accept, and comply with the University’s standards of academic conduct as set forth in our statement, “Ethics in the University,” and “Academic Integrity” as well as policies established by individual professors.

Resources

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 147 other followers

%d bloggers like this: