CPE/CS-390 Microprocessor Systems
Home Syllabus Lab Syllabus Lab Sections Lecture Notes Homework Solutions Grades

 

NOTE: Please handle the EVB's with appropriate care (i.e., as appropriate for an electrical or computer engineer). In contrast to older technologies which were relatively insensitive to how you handle them, the HC12 is a contemporary microcontroller with significant sensitivity to electrostatic discharge. When you remove a coat or sweater, you can often feel the electrostatic charge that you are carrying (and the shock that occurs when you touch a ground). This is what blows out the integrated circuits - and it definitely will. Before handling the EVB's, touch your hands to the metal portion of the equipment chassis to discharge yourself. In addition, do not touch the portions of the circuit board that hold the integrated circuit or electrical connections printed on the circuit board. You should develop these habits as a general rule that will follow you throughout your career and, if projections are correct, become increasingly important with time.

Teaching Assistant:
         Xiuyuan Zheng     xzheng1@stevens.edu

Lab location:   
         Burchard 123

Schedule:

Academic Week

Week Of

Lab Number & Topic

2

7/19

Lab 1: General Introduction to CpE390 Lab/ Introduction to the EVB

2

7/19

Lab 2: Basic Programming

3

7/26

Lab 3: Advanced Programming (Ch. 4 of text)

3

7/26

Lab 4: Interrupt Subroutine

4

8/02

Lab 5: Parallel I/O

4

8/02

Lab 7: Timer Functions 

5

8/09

Lab 6: Asynchronous Serial I/O

5 & 6

8/09 & 8/16

Term Project - Suggestions

Grading:     

Weekly Lab Report                                50%
Final Project (Presentation, Report)      50%

Note: This lab accounts for 25% of your overall course grade.

References:

Course Textbook

Each student should download (and have available for lecture and lab projects) the Manual for HC12 Development Board, the Reference Manual for 9S12DP256 version of HC12, and User Manual for D-Bug12 "Operating System" for general references. These manual will guide you through the various ways you can develop programs and debug them. User Manuals for Microcontroller is also available for your reference.

The HC12 evaluation board provides, on it's Flash EPROM, an "operating system" and associated "command line" instructions, i.e. D-Bug12. You will be using this basic operating system routinely when developing and testing programs. If you erase the Flash EPROM, you will be removing the operating system - a serious problem if not intended. The command line instructions are summarized in the Development Board Manual (see link in paragraph above). More detailed information is provided in this separate D-Bug12 Reference Manual .

 Notes and Guidelines:

Lab Report

In the lab you will work in groups. One lab report is submitted per group each week. Lab reports are due the week following completion of the lab project, and should be submitted in the lab during your regular session.

 Your lab report should generally be in the following format

·        Objective

·        Introduction (Background)

·        Design

-         Circuit diagram if any was used

-         Assembly code for any programs or subroutines used

·        Results

·        Conclusion

-         Summarize the results

-          Mention what you have learned

-         Compare your results with the expected one and explain any errors and deviations

 Materials:

It is advisable that groups bring the following with them to the lab

-         A printout of the manual for the lab you will attempt. This can be printed from the course webpage.

-          The course textbook since it is used as a reference for many of the lab exercises.

-         A floppy disk to save your results.

 

Final Project

Each group is required to do a final project. We will discuss the details of the project in the latter part of the semester.  The Final Project is due at the start of the Final Exam.