EE 383 - Introduction to Embedded Systems - Fall 2013

Instructor: Prof. Samir Rawashdeh
Office: 559 FPAT
Email: s [dot] rawashdeh [at] uky [dot] edu
Office Hours: MWF 2:4 PM
Lecture: MWF 09:00-09:50PM, 257-FPAT
TA: Ying Yu
TA Office: 551 FPAT
TA Email: ying [dot] yu [at] uky [dot] edu
TA Office Hours (FPAT551) Monday 3 - 5 p.m.
Tuesday 3 - 5 p.m.
Wednesday 3 - 5 p.m.
Thursday 3 - 5 p.m.
Friday 3- 5 p.m.
Textbook: Jonathan W. Valvano, “Introduction to ARM Cortex-M Microcontrollers” (fourth edition-5/25/2013), 2013, ISBN: 978-1477508992. Available: Amazon
Hardware Kit: Tiva™ C Series LaunchPad Evaluation Kit. Available: from TI.com

Course Information: PDF

Course Texts

Reference: Valvano, Volume 1 Preliminary E-Book, under development: Has reading material, interactive tools and instructional videos.

Lectures

Date Lecture Slides Assignments
W 8/28/13 Course Overview and Introduction
F 8/30/13 Embedded Systems, Logic Gates Slides on Intro and One-Bus HW1
M 9/2/13 No class: Labor Day
W 9/4/13 Registers, ALU, and One-Bus Design
F 9/6/13 Instruction Scheduling, Addressing Modes Intro
M 9/9/13 JEL: Memory Design
W 9/11/13 Guest Lecture: KySat-2 team
F 9/13/13 Memory Mapping, 7-segment display mapping
M 9/16/13 Memory Mapping 2, One-bus to ARM HW2
W 9/18/13 ARM Architecture Slides on ARM Arch. and Assembly
F 9/20/13 Lab Introduction; Meet in FPAT 551.
Lastnames A-O, 9:00AM
Lastnames P-Z, 9:30AM
M 9/23/13 ARM Assembly: Addressing Modes
W 9/25/13 ARM Assembly: Data Processing
F 9/27/13 ARM Assembly: Branching, Functions HW3
M 9/30/13 Signed/Unsigned Branching, Stack, Examples Read Chapter 3, by Friday
W 10/2/13 One-Bus scheduling of Branching, Stack Operations, and Conditionals
F 10/4/13 Condition Codes, HW Demo Read Sections 2.3, 2.4, 2.5, 2.6
M 10/7/13 HW2 Sol
W 10/9/13 Exam Review - bring questions!
F 10/11/13 Exam 1
M 10/14/13 Exam Solution
W 10/16/13 Lab logistics, Lab1, Intro to GPIO Lab1
F 10/18/13 LED and Switch interfacing, Port Configuration Intro GPIO
M 10/21/13 GPIO Port Configuration Registers
W 10/23/13 Interfacing LED Matrices and Keypads, GPIO Projects
F 10/25/13 Timer Subsystem (Systick) Systick Lab 2
M 10/28/13 Systick Example, UART intro
W 10/30/13 UART, RS232 UART
F 11/1/13 Lab3, Baud Rate, TivaC UART Subsystem Lab3
M 11/4/13 Lab3 Discussion, UART Standard Library
W 11/6/13 Analog to Digital Conversion ADC
F 11/8/13 D-to-A, and Successive Approximation ADC, LaunchPad HW Debugging
M 11/11/13 ADC (Sampling and Aliasing), UART Projects
W 11/13/13 Exam Review
F 11/15/13 Exam 2
M 11/18/13 Exam Solution, Lab4 Lab4
W 11/20/13 Lab4 Discussion
F 11/22/13 Interrupts intro
M 11/25/13 Interrupts, Lab5 lab5
W 11/27/13 No Class: Thanksgiving
F 11/29/13 No Class: Thanksgiving
M 12/2/13 Interrupt Latency and Shared Data Interrupts and Shared Data
W 12/4/13 Stepper Motors, Spin Table example
F 12/6/13 Proximity Sensor, Buzzers, Theremin example
M 12/9/13 I2C I2C
W 12/11/13 GPIO and SysTick in C, I2C Example
F 12/13/13 Exam Review
T 12/17/13 9AM: Final Exam

Homework

Assignment Due Date Related Material
HW1 Sep 4 Revision of Digital Logic Concepts
HW2 Sep 25 Refer to Cortex-M Instruction Set, to look up the ARM instructions
HW3: Book problems 3.1, 16, 17, 18, 19, 22, 23.
Also: Assume N is a 32-bit global variable defined in RAM. Write assembly code to set bit 3 and clear bit 29 of N
Oct 2 Book Chapter 3
HW4: Debugging. Watch: Titus_4.ppt, Titus_4.mp3 (rename to mp3) Quiz Mon 11/4

Lab Experiments

Assignment Related Material Signatures Due Writeup Due
Experiment 1: Digital Logic Implemented on a Microcontroller lab1.pdf, Lab1.zip Oct 23 Oct 25
Experiment 2: Looping, if-then branching, subroutines, and time delays lab2.pdf, Lab2.zip Oct 30 Nov 1
Experiment 3: Crosswalk Traffic Light Controller (Assembly)
Relevant Examples:
inputoutput_4f120asm.zip: Uses LaunchPad Buttons and LEDs
systick_4f120asm.zip: Includes PLL and SysTick function Calls
gpio_4f120asm.zip: Sets up 4 pins on Port D as output
lab3.pdf
RGY LED Datasheet
Nov 8 Nov 11
Experiment 4: Serial Communication and Analog to Digital Conversion (C) lab4.pdf,lab4.zip Nov 25 Nov 25
Experiment 5: Interrupts and Timer Subsystem (C) lab5.pdf
Periodic SysTick Interrupts Example
Dec 6 Dec 6

Tiva™ C Series TM4C123G LaunchPad Evaluation Kit

Lab Files

TM4C123G Documentation

Getting Started

C Programming

References

ARM Assembly

Planning Calendar

Note: This calendar changes and evolves all the time and is only an estimate.

classes/13f/383/default.txt · Last modified: 2013/12/13 09:00 by srawashdeh
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki