Print

Hardware Oriented programming

Code

IT-HWP1

Version

1.2

Offered by

ICT Engineering

ECTS

5

Prerequisites

Students must have basic competences in computer architecture, C programming and electronics, comparable to the courses:

IT-CAO1
IT-ESW1
I-BEL1

BEL1 can be followed during the same semester.

Main purpose

The purpose of the course is:
  • To provide the student with knowledge about the technical details of an industrial microcon-troller used for embedded systems from a programmer’s point of view.
  • To qualify the student to implement simple low-level drivers for various hardware devices.
  • To qualify the student to implement low-level software for an embedded system in C.
  • To qualify the student to do Unit testing of embedded C.

 

Knowledge

Having completed this course, students should be able to
  • Seek information in datasheets for electronic components
  • Describe the difference between polling and interrupt-based drivers
  • Describe layered software design and Hardware Abstraction Layer
  • Explain the Interrupt system in a microcontroller
  • Explain the concept of Pulse Width Modulation
  • Explain Timer/Counters and give examples of their use
  • Explain how analogue signals are sampled and quantified.
 

Skills

Having completed this course, students should be able to
  • Implement low-level drivers for digital I/O-Ports
  • Implement low-level drivers for analogue sensors
  • Implement low-level drivers for analogue actuators.
 

Competences

Having completed this course, students should be able to
  • Design a Hardware abstraction Layer
  • Implement low-level drivers for 8-bit microcontrollers.

Topics

Teaching methods and study activities

The required workload for students is estimated to 137 hours where approximately 3/4 is self-study including exercises and examination preparation. Activities change between theory, laboratory work, self-study, and exercises.

Approximately 33 hours of tuition and supervised laboratory work.
 
Study Activity Model
 
CATEGORY 1
Participation of lecturer and students
Initiated by the lecturer
33 hours - 24 %
  • Lessons, scheduled
  • Project guidance
  • Laboratory work
  • Exams and tests
CATEGORY 2
Participation of students
Initiated by the lecturer
72 hours - 53 %
  • Assignments, self-study
  • Project and group work
  • Homework and preparation for exams
  • Evaluation of the teaching
CATEGORY 3
Participation of students
Initiated by students
32 hours - 23 %
  •  Homework and preparation for exams
  • Self-study
  • Project work
  • Study groups
  • Literature search
CATEGORY 4
Participation of lecturer and students 
initiated by students
0 hours - 0 %
  •  Debate meetings
  • Study guidance
 
 
 


 

Resources

Litterature:

Muhammad Ali Mazidi, Sarmad Naimi & Sepehr Naimi: The AVR microcontroller and embedded system.
Additional resources will be made available during the course.
 
Hardware:
Arduino MEGA 2560 kit.
Expansion board and debugger borrowed from VIA. There will be a deposit for borrowed equipment.

Evaluation

Permit criteria for attending examination:
  • Mandatory assignments handed in be-fore deadline and accepted.

Examination

Oral Examination
  • Individual oral examination based upon a subject found by draw.
  • No preparation.

Allowed tools: Laptop

Internal examiner.

 

Grading criteria

Examinations account for  100 % of final grade

Additional information

Responsible

Erland Ketil Larsen (ERL)

Valid from

1/15/2020 12:00:00 AM

Course type

6. semester
7. semester
Embedded Engineering
Electives

Keywords