ECET410: Microprocessors IIFall of 2006

Class Hours: Tuesday

Office Hours (GITC 2106)

Snow Phone

973-596-3000 (Day classes by 6 A.M., evening classes by 2 P.M.)

Course Objectives

One of the main objectives of this course is to provide ECET students with some of the necessary tools for successful completion of their senior projects. By the end of the course the studentwillbe able to:

  1. Work with microcontrollers to develop applications in the ECET and other related fields
  1. Distinguish between the characteristics of a microcontroller, its applications and how it compares to a microprocessor.
  2. Understand the relationship between hardware, software as they relate to microcontroller embedded systems and how they work together to solve a problem.
  3. Work with the important features of embedded systems such as timers, interrupts, A/D, serial and parallel communications and their applications.
  1. Work with an Integrated Development Environment, an Evaluation Board, and various other tools for project design, troubleshooting and debugging.
  2. Analysis of a given flow chart and hardware schematic to deduce operation and functions of a microcontroller/embedded system.
  3. Synthesis of a microcontroller/embedded system from a real-life problem statement.

Grading: / Homework / 10 % / Tests / 25 %
Projects / 25 % / Final Exam / 30 %

Note:
(1) NJIT Honor Code will be strictly followed in all courses.
(2) Any revisions to the syllabus during the semester will be made in consultation with students.

ECET 410: Microprocessors II

Text:Huang, Han-Way, The HCS12/9S12: An Introduction to Software and Hardware Interfacing, Thomson/Delmar.

Software:Included with Text

Hardware: Dragon 12 board from Wytec.

Week / Date / Reading / Topics & Activities / Homework
1 / 1.1 – 1.4 / Microcontroller and Microprocessor architecture, Registers / #1 Ch.1: 1 - 9
2 / 1.5 – 1.12 / Addressing modes
Four types of instructions / #2 Ch. 1: 10 – 20
3 / 2.1 - 2.5 / Assembly code and structure, Assembler directives, Arithemetic, BCD / #3 Ch.2: 1 - 5, 6, 8, 9, 10, 12
4 / 2.6 – 2.12 / Loops, shift and rotate, bit operations, execution time / #4 Ch. 2: 13, 14, 15, 17, 19, 23, 24
5 / 3.1 – 3.8 / Using the assembler and EVB / Instructor Assigned Problems
6 / 4.1 – 4.8 / Arrays, vectors, strings, stack usage, introduction to subroutines / #5 Ch. 4: 1, 2, 3, 6, 9, 10
7 / Midterm
8 / 4.9 – 4.12 / Subroutine examples, D-Bug12 functions / #7 Ch.4: 12, 14, 18
9 / Chapter 6 / Interrupts, Clock and Reset Generation Block, WAI, Stop, Resets, Operation Modes / #8 Ch.6: 1 – 8, L2
10 / 7.1 – 7.7 / I/O basics, I/O Synchronizing, ParallelPorts, I/O Electrical Considerations, I/O Device Interfacing / #9 Ch. 7: 1 - 4
11 / 7.7 – 7.14 / LCD Control, Switches, Keypads, D/A, Stepper Motors, Key Wakeups / #10Ch.7: 6, 7, 9, 11, 14
12 / 8.1 – 8.7 / Timer Control Register, Input-Capture, Output Compare, Pulse Accumulator / #11 Ch. 8:1, 2, 7, 16, L1
13 / 8.10 – 8.12 / Modulus Down Counter, Pulse Width Modulation, DC Motor Control / #12 Ch. 8: 5, 9, 11, 17, L2, L3
14 / 12.1 – 12.6 / A/D Conversion Basics, Pins and Registers Used for A/D, A/D Procedures, Temperature Sensing / #13Ch. 12: 1 – 7, L1

Summaries and Objectives of Laboratory Exercises

  1. Become familiar with firmware/software (assembly and C) and hardware covered in this course. Given a program, enter, assemble, download, and run that program on an HCS12 microcontroller based evaluation board.
  2. Write and run a “chaser light” assembly language program. Make minor revisions to the given program.
  3. Develop a simple alarm system making use of switches for modes, push buttons for windows, LEDs for status, and the speaker for soundingan alarm.
  4. Using a multiplexing technique, display the student’s birthday on a quad 7-segment display using the format: mm dd and then the year in four digits.
  5. Making use of A/D to develop a simple digital voltmeter.
  6. Revise # 5 by using ‘C’ programming and the LCD display.
  7. Project for remaining weeks. Tentative choices: motor control, Digital Thermometer, Infrared control of a device.

FOLLOWING TO BE REVISED:

Outcome # 1. The student will be able to explain and apply characteristics of a microcontroller, its applications and how it compares to a microprocessor.
Strategies & Actions / TAC Criterion 2 / Program Outcomes / Assessment Methods
Fundamentals are covered in lectures, homework,.In teams, students use the software and hardware, write reports, and participate in class exercises. / Tests, Homework, and reports of the lab assignments are graded.
Outcome # 2. Students will be able to explain and apply the relationship between hardware and software and how they work together to accomplish a task.
Strategies & Actions / TAC Criterion 2 / Program Outcomes / Assessment Methods
Fundamentals are covered in lectures, homework, and project 4. In teams, students use the software, write reports, and participate in class exercises. / Tests, Homework, and reports of the projects are graded.
Outcome # 3.Students will have the ability to simulate and troubleshoot simulations of combinational and sequential logic. They will be able to create designs using vhdl.
Strategies & Actions / TAC Criterion 2 / Program Outcomes / Assessment Methods
Fundamentals of the software are covered in lectures, homework, and project 4. In teams, students use the software, write reports, and participate in class exercises. / a – g, k / 1,2,3,4,7,8 / Tests, Homework, and reports of the projects are graded.
Outcome # 4. Students will appreciate the value of professionalism and timeliness in their class work, projects and career as well as the usefulness of, and role of professional societies in, lifelong learning.
Strategies & Actions / TAC Criterion 2 / Program Outcomes / Assessment Methods
Homework and project reports are on a strict schedule and must follow professional standards in their content and structure. Students are required to submit a brief report on their attendance at a professional society meeting and a brief report from a technical journal article. / g, h, i, k / 3, 5, 6,8 / Reports graded.

TAC of ABET stands for the Technology Accreditation Commission of ABET, 111 Market Place, Suite 105, Baltimore, MD21202-4012. Telephone (410) 347-7700

TAC of ABET Criterion #2, concerned with student knowledge of and abilities in:

a. Technical mastery

b. Apply/adapt knowledge to emerging applications of math, science, engineering and technology

c. Experimentation and use to improve processes

d. Applying creativity to design systems, etc.

e. Teamwork

f. Identify, analyze, solve technical problems

g. Communication (oral and written)

h. Engaging in lifelong learning

i. Professional, ethical and social responsibilities

j. Diversity and societal issues

k. Quality, timeliness, continuous improvement

ECET Program Educational Objectives

( “…career and professional accomplishments that the program is preparing graduates to achieve during the first few years following graduation.”)

  1. Our graduates will establish productive careers in technology-based organizations in such diverse positions as design, manufacturing, teaching, management, system engineering and sales.
  2. Our graduates will participate in lifelong learning activities including graduate school and other professional education.

ECET Program Outcomes

(“…units of knowledge or skill students are expected to acquire from the program to prepare them to achieve the program educational objectives.”)

The ECET BS graduate will:

  1. Be able to specify, design, analyze, modify and implement hardware, software, and integrated systems applications
  2. Be able to apply knowledge gained in basic science, electrical and computer engineering technology and mathematics to solutions of real world applications using creative problem-solving skills
  3. Be able to communicate effectively orally and in writing
  4. Be able to work productively in teams, have team building skills as well as have management and leadership skills
  5. Understand the importance of continuous (life-long) learning and be aware of available resources to keep skills current as technologies continuously change.
  6. Recognize the importance and relevance of personal and professional ethics.
  7. Be able to work effectively in a diverse environment while following accepted professional, ethical and social standards.

8. Understand the importance of a commitment to quality and continuous improvement.

Page 1 of 5