UNIVERSITY OF NEVADA, RENO
COMPUTER SCIENCE & ENGINEERING DEPARTMENT
CPE 301 - MICROPROCESSOR SYSTEMS DESIGN
Fall 2008

Catalog:
Description: Introduction to embedded applications. Emphasis on hardware: combinational logic, flip-flops, architecture for a selected microcomputer, memory and I/O decoding, timing, interrupt controllers, microcontrollers. Prerequisites: CPE 201

Textbooks:
I. Scott MacKenzie, The 8051 Microcontroller,4th Ed., Prentice Hall, Inc., 2007
M. Morris Mano, Digital Design, 3rd Ed., Prentice Hall, 2002.

References:
The Microcontroller Idea Book, Jan Axelson, Lakeview Research, 1997. (see: http//www.lvr.com)
Programming and Customizing the 8051 Microcontroller, Myke Predko, McGraw Hill, 1999.
The 8051 Microcontroller: Hardware, Software and Interfacing, J. W. Stewart & Kai X. Miao, Prentice Hall, 1999
John F. Wakerly, DIGITAL DESIGN: Principles & Practices, 3rd Ed Updated., Prentice-Hall, Inc., 1994/99.

Instructor:       Dwight Egbert, Professor of Computer Science & Engineering (egbert@cse.unr.edu)

Office Hours:      10:00AM-Noon Wednesday (or by appointment); Room 322 SEM; Tel: (702) 784-6952

If you have a disability for which you will need to request accommodations, please contact me or Mary Zabel at the Disability Resource Center (Thompson Student Services - 107), as soon as possible to arrange for appropriate accommodations.

Course Goals:
To become familiar with the architecture of a specific microprocessor. To understand the fundamental principles of digital hardware components in system design using this microprocessor and interfacing it to peripheral devices. To understand and be able to use the assembly language of this microprocessor.

Course Topics:

  • Microcomputer Architecture (Chapt. 1)
  • The 8051 Architecture ( 2.1, 2.2, 2.3, 2.6)
  • Some 8051 Assembly Language Instructions (3.1, 3.2, Appendix A)
  • Assemblers (7.1, 7.2, 7.3)
  • System Design (10.1, 10.2)
  • The Complete 8051 (remainder of Chapt. 2)
  • The Complete 8051 (remainder of Chapt. 3)
  • Assembly Language Programming( Chapts. 7, 8)
  • A Monitor Program: The Command Processor (Suppl.)
  • I/O Interfacing: via Data/Address busses (Suppl.)
  • I/O Interfacing: via built-in I/O Ports (Suppl.)
  • I/O Interfacing to a standard Parallel Port (Suppl.)
  • The 8051 Timer (Chapt. 4)
  • The 8051 Serial Port with Computer Vision Applications (Chapt. 5)
  • 8051 Interrupts (Chapt. 6)
  • Analog to Digital Conversion Techniques (Suppl.)
  • ARM7 Assembly Language (Suppl.)

Course Objective:
Students will demonstrate an understanding of and competent use of Microprocessor Architecture, interfacing principles, and assembly language programming.

Course Outcomes:
The course outcomes are skills and abilities students should have acquired by the end of the course. These outcomes are defined in terms of the ABET Accreditation Criterion 3 Program Outcomes which are relevant to this course. All Criterion 3 Outcomes are listed below and those relevant to this course are identified in the following Table.

Engineering programs must demonstrate that their graduates have:
(a) an ability to apply knowledge of mathematics, science, and engineering
(b) an ability to design and conduct experiments, as well as to analyze and interpret data
(c) an ability to design a system, component, or process to meet desired needs
(d) ability to an function on multi-disciplinary teams
(e) an ability to identify, formulate, and solve engineering problems
(f) an understanding of professional and ethical responsibility
(g) an ability to communicate effectively
(h) the broad education necessary to understand the impact of engineering solutions in a global and societal context
(i) a recognition of the need for, and an ability to engage in life-long learning
(j) a knowledge of contemporary issues
(k) an ability to use the techniques, skills, and modern engineering tools necessary for engineering practice.

 

ABET Criterion 3 Outcomes

Course Outcomes

Course Strategies & Actions

 

c

 

Students demonstrate that they can design interfaces for a microprocessor and a single board computer.

Study of CPU registers and memory & I/O mapping necessary for interface devices. Homework & labs requiring students to design, build, and test interfaces

 

e

 

Students demonstrate that they can interface external digital devices to a microprocessor and a single board computer.

Study of single board computer schematic diagram. Homework & labs requiring students to design, build, and test interfaces.

 

g

 

Students demonstrate that they can communicate how their engineering solutions work.

Students must present an oral report for each lab assignment and answer questions from the teaching assistant about the assignment.

 

h

 

Students demonstrate that they understand how microprocessors work and how they are integrated into consumer products.

Study of CPU registers and memory & I/O mapping. Homework & labs requiring students to design, build, and test interfaces.

 

i

 

Students demonstrate that they can learn the assembly language for more than one microprocessor.

Homework requiring specific program functions. Labs requiring programs to activate hardware interfaces. Examination of assembly language for both Intel 8051 and ARM 7 RISC processors.

 

k

 

Students demonstrate that they can design and write assembly language programs for a microprocessor to make it perform pre-defined tasks.

Homework requiring specific program functions. Labs requiring programs to activate hardware interfaces. Examination of assembly language generated by C. compiler.

Student Participation:
The course will contain three basic and interrelated blocks. First, the textbook will provide the framework for the course. Second, as material is reached in the textbook it will be related to supplementary material covering advanced microprocessor topics. Third, each student will design and build hardware to interface to the 8051 single board computer in Lab.

Students are expected to attend all classes and read all of the assigned sections of the textbook. Often, material will not be covered in both lectures and reading assignments. Thus, both are essential to a full understanding of the course content. Normally, in-class quizzes will be given each week covering current material. These quizzes are considered part of your class participation and no make-ups are allowed. The two lowest quiz grades will be discarded at the end of the semester.

Also, completion of homework is essential. Homework will be due each TUESDAY, or the next following class if there is no Tuesday class.

LATE HOMEWORK WILL NOT BE ACCEPTED OR GRADED.

Students are encouraged to study together, but each person must prepare his or her solutions and have a firm understanding of any work turned in. When you put your name on your homework you are stating that it is your own work and not the work of another person. As a reminder of UNR academic standards, please read page 80 in the 2007-2008 University Catalog defining these standards. Specifically, the following: "Plagiarism is defined as submitting the language, ideas, thoughts or work of another as one's own; or assisting in the act of plagiarism by allowing one's work to be used in this fashion." This means that if another student asks to borrow your work to copy - JUST SAY NO - or you are participating in plagiarism.

Course Grade Structure:
Each course activity will contribute to the course grade as shown below. All activities will be graded on a scale of 0-100 points, and the final course grade will be determined as shown below.

STUDENTS MUST PASS BOTH LECTURE AND LAB IN ORDER TO PASS THE COURSE

STUDENTS MUST PASS THE FINAL EXAM IN ORDER TO PASS THE COURSE

All quizzes and exams given in this course will be closed notes and closed books. Only calculators and materials handed out at the time of the exam may be used. Normally, plus/minus grades are not given in this class. The instructor reserves the right to assign plus/minus grades under special circumstances involving borderline grades based upon class participation. Your grade will never be lower than defined here unless you have an excessive number of un-excused absences from class or lab, however, positive class participation can be used as a basis for raising your grade.

HOMEWORK                                          20%
QUIZZES                                                20%
MID-TERM EXAM                                  20%
COMPREHENSIVE FINAL EXAM      
      20%
LAB GRADE                                           20%
      = COURSE GRADE                          100%

90 - 100 points =  A
80 - 89.9 points = B
65 - 79.9 points = C
50 - 64.9 points = D
00 - 49.9 points = F