Embedded Systems (Winter 2014)

 

Course Outline

 

CSE 3215 4.00 Winter 2014.

Department of Electrical Engineering and Computer Science.

Lassonde School of Engineering, York University

Toronto, Ontario, Canada

 

Instructor: Ebrahim Ghafar-Zadeh , LAS 1012D, e-mail: egz@cse.yorku.ca, Office hours: W 8:30-9:30.

Teaching Assistants (TAs): Navid Mohaghegh navid@cse.yorku.ca Office hours: M(1-3pm) at LAS 1004A.

Class and Lab Locations: Lectures &Tutorials Classes meet at CB 120 and Lab Classes meet at LAS 1004A

Course overview and Outcomes:

Unlike a general-purpose computer, such as a personal computer, an embedded system is a special-purpose system in which the computer is completely encapsulated by the device it controls. The embedded system design consists of hardware, software, analog microelectronics, sensors and actuators which are combined for a specific application ranging from communications, to transportation, avionic and to medical instrumentation. Students will gain in-depth technical competence in the various areas including the design of hardware/software for embedded systems, the design of analog interfacing system along with the selection of appropriate sensors and actuators.

 

Prerequisites:

Students should have a good understanding of digital and analog electronics and computer organization. You should also be familiar with assembly programming (C programming will be helpful).

Lectures’ Topics and Course Calendar (tentative):

Week

Lectures + Quizzes

References

Labs

 

 

Thursdays

 (16:00-17:30)

 

Tuesdays

(16:00-17:30)

 

Monday

(1-4pm)

1

L2

Introduction (2)

L1

Introduction (1)

Ch1 Ref. 1

Lab 0 and Review of lab safety

2

L4

H/S  Design 1 (General-Purpose Processors)

L3

Continuation of L2

Ch3 Ref. 1

Lab 1

3

L6

H/S  Design 2 (Peripherals)

L5

Q1+Continuation of L4

Ch4 Ref. 1

Lab 2 (Continuation of Lab 1)

4

L8

H/S  Design 3 (Memory)

L7

Q2+ Continuation of L6

Ch5 Ref. 1

Lab 3 (Deadline to submit the Lab #1, 2 reports)

5

L10

H/S  Design 4 (Interfacing and multitasking)

L9

Q3+Continuation of L8

Ch6 Ref. 1

Lab 4  (Continuation of Lab 3)

6

L12

A/D Design 1 (Sensors ` Actuators)

L11

Q4+Continuation of L10

Ch2 Ref. 2

Lab 5 (Deadline to submit the Lab #2,3 reports)

7

 

No Lecture (Reading Week)

 

 

 

Lab 6 (continuation of Lab #5)

8

L14

A/D Design 3 (ADCs and DACs)

L13

Continuation of L12

Ch2 Ref. 1

Lab 7 (Deadline to submit the Lab #5, 6 reports)

9

L16

CES Design 1 ( Design Technologies )

L15

Q5+Continuation of L14

Ch2 Ref. 1

Lab 8 (continuation of Lab #7)

10

L18

ECS

L17

Q6+Continuation of L16

Ch9 Ref. 1 & Ch4  Ref. 2

Lab 9 (Deadline to submit the Lab #7, 8 reports)

11

L20

CES Design 2 ( FSM, Concurrent process models) 

L19

Q7+Continuation of L18

Ch8 Ref. 1 & Ch5 Ref. 2

Lab 10 (continuation of Lab #5)

12

L22

IES Design 1 ( IC technologies and Design Technology)

L21

Q8+Continuation of L20

Ch11 & Ch10 & Ref. 1

Lab 11( Deadline to submit the Lab #9, 10 reports)

13

L24

Embedded System Design (Example 1) “ time permitting”

L23

Continuation of L22

Ch7 Ref. 1

Lab 12 ( Continuation of Lab 11) ( Deadline to submit the Lab #11 and 12  reports will be the Final Exam date)

Ref.: Reference, Ch1: Chapter 1, A/D Analog Digital Design, CSE: Custom Embedded System, ADC: Analog to Digital Converter, DAC: Digital to Analog Converter,

H/S: Hardware and Software, ECS: Embedded Control System, IES: Integrated Embedded System, Q/A: Question and Answer, Q: Quiz,

 

 

Tutorials’ Topics:

T1

Introduction to HCS12 MCU and Dragon 12 Development board
Introduction to MCU peripherals
How to use CodeWarrior
What is D-Bug12?
What is Serial Monitor? BDM?
Flashing MCU
How to read data-sheets and manuals

T2

How to use PortA and PortB, How to use 7-segment LED display on Dragon12 board
How to use Keypad module of Dragon12 board
How to use Dragon12 LCD
How to use Debounce switches on Dragon12 board
How to use DIP switches on Dragon12 board
Integer operations
Floating point operations
What is soft floating point?

T3

Interrupts
How to program interrupts in CodeWarrior for HCS12
Sample program using RTI
Sample program using SCI
Sample Program doing Motor control

T4

 Second Microcontroller (ARM Family): Introduction

T5

 Second Microcontroller (ARM Family): Programming

T6

 Second Microcontroller (ARM Family): Implementation

T7

 PCB design I

T8

 PCB design II

 

The lecture class meets TW 16:00-17:30 EXCEPT the lectures (T5 to T4) meets Fridays 13:30-14:30 instead of Tuesdays 16:00-17:30. The students are recommended to visit http://gcc-hcs12.com/tutorials.php prior to attend T1 -T4. We also recommend the students to read the presentations of T5-T7 before the class.

 

Labs’ Topics:

Lab 1

Introduction and how to use port A and B (keypad and 7-segment LED display of Dragon12 board)

Lab 2

Continuation of Lab 1

Lab 3

How to use LCD, DIP and Debounce Switches of Dragon12 board) Real Time Interrupts. Combine Lab1 and 2 to create a fully functional calculator

Lab 4

Continuation of Lab 3

Lab 5

 SCI communication

Lab 6

Continuation of Lab 5

Lab 7

Introduction and how to use port A and B (keypad and 7-segment LED display of second board)

Lab 8

Continuation of Lab 7

Lab 9

How to use LCD, DIP and Debounce Switches of second board board) Real Time Interrupts. Combine Lab1 and 2 to create a fully functional calculator

Lab 10

Continuation of Lab 9

Lab 11

 SCI communication of second board

Lab 12

Continuation of Lab11

Prior to starting the lab, the preparatory work must be completed by students and approved by TA. At the end of the lab session, the students should demonstrate their lab to the TA and electronically submit the final documentation (Codes and designs). All work submitted must be the student's own work. In the Labs 1-4 students use Dragon 12 and in the Lab 5-8 students learn how to design with FPGA using DE2.

 

Evaluation:

Type

% of final mark

Comments

Lab Assignments

32%

25%Preparatory work

25%Correctness

25%Autonomy*,

25%Quality of Final Report

Project

14%

6% Design/Programming/Functionality

6% Presentation/Answer-to-Questions

2% Quality of Final Report. 

Quiz 1-8

16% (8x2% mark each)

Questions are from the lecture contents, assigned reading textbooks and Labs materials

Final Exam

38 %

 

Textbook:

  1.  (Ref. 1) Frank Vahid and Tony Givargis, Embedded System Design: A Unified Hardware/Software Introduction, John Wiley & Sons, ISBN: 0471386782.
  2.  (Ref. 2) Thomas Bräunl: Embedded Robotics, 3rd Ed., Springer, ISBN: 9786611772901; 3540705333.

The first textbook is available in bookstore and the second textbook is available via http://www.springerlink.com/openurl.asp?genre=book&isbn=978-3-540-34318-9.

Other Useful Resources and Recommended References:

  1. CodeWarrior Development Tools and Microcontroller Data Sheets (http://www.freescale.com/ ).
  2. DE2 board (Altera) http://www.altera.com/education/univ/materials/boards/de2/unv-de2-board.html.
  3. Embedded Systems: Design and Applications with the 68HC12 and HCS12 by Steven F Barrett and Daniel J Pack, Prentice Hall, 2004
  4. E. A. Lee and S. A. Seshia, Embedded Systems -- A Cyber-Physical Systems Approach, LeeSeshia.org, 2011.
  5. GCC-HCS12 http://gcc-hcs12.com/tutorials.php.

 

 

 

 

 

 

Last Update Jan. 15h, 2012.

C1A8B228-F269-D133-3410-3BB9DF96129E

Y2:C1A8B228-F269-D133-3410-3BB9DF96129E

https://mail.cse.yorku.ca/gollem/view.php?Horde=rvmflskgla18smuna27qaj3nu5&actionID=view_file&type=htm&file=CSE3215.htm&dir=%2Fcse%2Fdept%2Fcourse%2F2012-13%2FW%2F3215&driver=ftp