Master’s studies

Syllabus for Microcontroller Programming

Programmering av enkapseldatorer

Syllabus

  • 5 credits
  • Course code: 1TE723
  • Education cycle: Second cycle
  • Main field(s) of study and in-depth level: Technology A1N, Computer Science A1N
  • Grading system: Fail (U), 3, 4, 5.
  • Established: 2014-03-11
  • Established by: The Faculty Board of Science and Technology
  • Revised: 2017-05-12
  • Revised by: The Faculty Board of Science and Technology
  • Applies from: week 27, 2017
  • Entry requirements:
  • Responsible department: Department of Engineering Sciences

Learning outcomes

After a successfully completed course the student should be able to:

  • program a microcontroller in C, including the hardware configuration and interrupt routines,
  • manage parallel processes with different priorities without the help of an operating system,
  • explain the choice of data types and algorithms in view of limited resources,
  • provide a detailed description of the constraints of the selected system design,
  • debug a microcontroller application by various means.

Content

Structure of microcontrollers and internal peripherals, memory types. Connecting analog and digital signals, including the basics of electronics. Serial communication. Hardware programming in C, device drivers, interrupt handling. Handling of parallel processes when an operating system is missing, process priority, time analysis, finite state machines. Instruction and register set as well as addressing modes for a given microcontroller family. Efficiency aspects of different data types and program structures in C. Development tools and debugging.

Instruction

Lectures and laboratory work.

Assessment

Written examination (4 credits). Laboratory work (1 credit).

Other directives

The course may not be included in a degree together with 1TE663.

Reading list

Applies from: week 27, 2017