CSE/EE 5/7385 Microcontroller Architecture and Interfacing - Syllabus

Southern Methodist University, Spring 2016

Additional lab access for the final project

These are walk-in hours available to ALL STUDENTS to have access to the ARM boards.
Please take advantage of these extra hours to complete your project early.

Additional lab access time

Wednesday April 20th, 02:00PM to 05:00PM in Caruth Hall 484 (Laptops only)
Thursday April 21st, 02:00PM to 5:00PM in Junkins 215 Moved to Caruth Hall 484 (Laptops only)
Monday April 25st, 02:00PM to 07:00PM in Junkins 215
Tuesday April 26th, 10:00AM to 12:00PM in Junkins 215
Wednesday April 27th, 10:00AM to 11:00AM in Junkins 215
Wednesday April 27th, 02:00PM to 03:30PM in Junkins 215
Monday May 2nd, 01:00PM to 09:00PM in Junkins 215
Feel free to come to any of the time slots and use the boards for testing. (First come first served)

Course Description

Emphasizes the design and interfacing of microprocessor computer systems. Topics covered: processor architecture and interfacing, memory structure and interfacing, bus systems, support chips, tools for hardware design, analysis, simulation, implementation, and debugging. The theoretical part of the course is complemented by a laboratory in which students get practical experience in designing and analyzing interfaces to processors, memories, and peripherals.

Schedules

Class schedule

Class Day Time Location
Mon 11:00AM-12:20PM Junkins 113
Wed 11:00AM-12:20PM Junkins 113

Laboratory schedule

Sections Day Time Location
N14 MON 7:00PM-8:50PM Junkins 215
N12 THU 8:00AM-9:50AM Junkins 215
N13 THU 10:00AM-11:50AM Junkins 215
N11 FRI 8:00AM-9:50AM Junkins 215

Instructors

Class instructor

David Kebo Houngninou
Computer Science and Engineering Department
Bobby Lyle School of Engineering
Southern Methodist University
P.O. Box 750122
Dallas, TX 75275-0122
Office: Caruth Hall 308
Email: dhoungninou@smu.edu

Lab instructor

Yi Sun

Office: Expressway Tower 300F
Email: yis@smu.edu

Help desk:
W: 01:00PM-03:00PM
F: 11:00AM-01:00PM
Caruth Hall 484

Office hours

MW 10:00AM-10:50AM
Caruth Hall 308
or by email appointment

Material

Text

Software Downloads

Keil Tools Demo Version (available for student download)

Learning management system

A discussion board is available on Canvas

Topics

  • Microcontrollers and Embedded Systems
  • ARM Architecture
  • ARM Programming Model
  • ARM Instruction Set
  • Exception Handling
  • Vectored Interrupt Controller
  • Efficient Embedded Programming
  • Memory Systems
  • Bus Interfaces - AMBA - USB - I2C
  • Data Converters (DAC & ADC)
  • Integrated Circuit Interfacing

Course requirements

1. Either a) or b)
a) CSE 3381 (or EE 2381) and CSE 2240
b) EE 3381
2. Assembly language programming experience

(We will only spend a BRIEF amount of time reviewing ARM assembly, so if it is new to you, be prepared for some self-study! If you have never had an assembly class, you need to drop this class and take or audit CSE 2240 OR EE 3381)

Class Schedule

WEEK DATE EVENTS/HOLIDAYS LABORATORY EXPERIMENTS ADDITIONAL MATERIAL AND ASSIGNMENTS CLASS TOPIC AND OVERHEADS

Week 1

18-JAN

NO CLASS

NO LAB THIS WEEK

NO CLASS

NO CLASS

20-JAN

FIRST DAY OF CLASS

NO LAB THIS WEEK

Class and ARM Introduction

Week 2

25-JAN

NO LAB THIS WEEK

Reading: How to Select a Microcontroller

Processor Architecture Concepts

27-JAN

NO LAB THIS WEEK

Processor Architecture Concepts

Week 3

01-FEB

LABORATORY 1: Keil Tools and Lab Board Introduction/Tutorial

Homework 1

Homework 1 SOLUTION

Reading: Hohl Chapters 2 and 3

ARM Processor ISA

03-FEB Last Day to Request Excused Absence for Observance of a Religious Holiday

LABORATORY 1: Keil Tools and Lab Board Introduction/Tutorial

ARM Program Anatomy

ARM Instruction Set- Load, Store, and Addressing

Week 4

08-FEB

LABORATORY 2: Data Transfer and Addressing Modes 1

ARM Instruction Set- Load, Store, and Addressing

10-FEB

LABORATORY 2: Data Transfer and Addressing Modes 1

Reading: Hohl Chapters 4 and 5

Homework 1 DUE AT BEGINNING OF CLASS

Constants and Literal Pools

Week 5

15-FEB

LABORATORY 3: Logic and Arithmetic in Assembly 1

Reading: TI DSP/uC Arithmetic Tutorial

Homework 2

Homework 2 SOLUTION

Logic and Arithmetic

17-FEB

LABORATORY 3: Logic and Arithmetic in Assembly 1

Read Hohl Chapters 6 and 7

Logic and Arithmetic

Week 6

22-FEB

LABORATORY 4:Embedded String Search

Flow Control

24-FEB

LABORATORY 4:Embedded String Search

Homework 2 DUE AT BEGINNING OF CLASS

Flow Control

Lookup Tables

Week 7

29-FEB

LABORATORY 5 EXTENDED:Logic and Arithmetic in Assembly 2

Lookup Tables

Test 1 Review

02-MAR

LABORATORY 5 EXTENDED:Logic and Arithmetic in Assembly 2

Read Hohl Chapter 8

Test 1 Review

Canvas discussion

Week 8

07-MAR

SPRING BREAK

NO CLASS

NO LAB

SPRING BREAK

NO CLASS

09-MAR

SPRING BREAK

NO CLASS

NO LAB

SPRING BREAK

NO CLASS

Week 9

14-MAR

LABORATORY 5:Logic and Arithmetic in Assembly 2

Interrupts and Exceptions

16-MAR

LABORATORY 5:Logic and Arithmetic in Assembly 2

Interrupts and Exceptions

Test 1

Week 10

21-MAR

NO LAB

Read Hohl Chapters 9 and 10

Basic C Programming for Embedded Systems

23-MAR

NO LAB

Read Hohl Chapter 11

Operating Systems Concepts

RL-ARM User's Guide (MDK v4)

Week 11

28-MAR

LABORATORY 6:

Interrupt-driven I/O
Basic C Programming using the Keil Tools

Homework 3

Homework 3 SOLUTION

Operating Systems Concepts

RL-ARM User's Guide (MDK v4)

30-MAR

LABORATORY 6:

Interrupt-driven I/O
Basic C Programming using the Keil Tools

Read Hohl Chapter 14

Memory System Architecture

Week 12

04-APR

LABORATORY 7:

Using the RTX-OS Functions

Memory System Architecture

06-APR

LABORATORY 7:

Using the RTX-OS Functions

AMBA Parallel Bus

Week 13

11-APR

LABORATORY 7 EXTENDED:

Using the RTX-OS Functions

AMBA Parallel Bus

13-APR

LABORATORY 7 EXTENDED:

Using the RTX-OS Functions

Homework 3 DUE AT BEGINNING OF CLASS

Data Converters

Week 14

18-APR

FINAL PROJECT

Homework 4

Homework 4 SOLUTION

Data Converters

20-APR

FINAL PROJECT

I2C Serial Bus

Week 15

25-APR

FINAL PROJECT

USB Serial Data Bus

Test 2 Review

27-APR

FINAL PROJECT

Homework 4 DUE AT BEGINNING OF CLASS

USB Serial Data Bus

Test 2 Review

Week 16

02-MAY

FINAL PROJECT DEMO

Time reservation

03-MAY

FINAL PROJECT (LAST DAY TO DEMO)

Tuesday May 3rd
09:00AM to 02:00PM in Junkins 215

Time reservation

Checklist

04-MAY

FINAL PROJECT DUE ON CANVAS

FINAL PROJECT DUE ON CANVAS

FINAL PROJECT DUE ON CANVAS

Test 2
11:30 AM - 12:50 PM

Grading Policy

Grade
Homework 10%
Laboratory 40%
Test 1 (in-class) 20%
Test 2 (in-class) 20%
Final Project 10%

Note: Grades on labs/tests/final will range from 0-100.
However, the final class grade will be scaled to fit the above grading policy.
(1 lab point or 1 homework point is not equal to 1 test point)

Lab Policy

Grading Policy Acknowledgement Form

Late Assignments

Unless a documented and legitimate reason is provided, all labs turned in late will automatically have 20% of the total possible points deducted for each lab period that has elapsed since the due date. As an example, a 100-point lab that was due on Wednesday but turned in on Thursday will be graded as normal and then 20 additional points will be deducted for being late.

All labs are due at the beginning of the lab period

Students who do not turn in labs or participate in the laboratory will not pass this class. You must attend and turn-in at least 80% of all laboratories to avoid receiving a failing grade.

Makeup Examinations

There will be no makeup examinations, a missed examination will result in 0% unless a valid and documented excuse is presented. If possible, students should provide such documentation before the examination date. In any event, notification must be provided within 2 class periods following the missed examination. In the case of a legitimate excuse for missing an examination, an alternative for making up this portion of total grade will be provided to the student.

Information

Disability Accommodations:

Students needing academic accommodations for a disability must first register with Disability Accommodations & Success Strategies (DASS). Students can call 214-768-1470 or visit http://www.smu.edu/Provost/ALEC/DASS to begin the process. Once registered, students should then schedule an appointment with the professor as early in the semester as possible, present a DASS Accommodation Letter, and make appropriate arrangements. Please note that accommodations are not retroactive and require advance notice to implement.

Religious observance

Religiously observant students wishing to be absent on holidays that require missing class should notify their professors in writing at the beginning of the semester, and should discuss with them, in advance, acceptable ways of making up any work missed because of the absence. (See University Policy No. 1.9.)

Excused absences for university extracurricular activities

Students participating in an officially sanctioned, scheduled University extracurricular activity should be given the opportunity to make up class assignments or other graded assignments missed as a result of their participation. It is the responsibility of the student to make arrangements with the instructor prior to any missed scheduled examination or other missed assignment for making up the work. (University Undergraduate Catalogue)