MF2095 Programming in C for Embedded Systems 3.0 credits

Programmering i C för inbyggda styrsystem

Show course information based on the chosen semester and course offering:

Offering and execution

No offering selected

Select the semester and course offering above to get information from the correct course syllabus and course offering.

Course information

Content and learning outcomes

Course contents *

The following modules are included in the course:

  • Computer models, von Neumann and Harvard architecture, CISC and RISC
  • The function of the micro-controller at register level
  • Interrupt handling in hardware and software
  • Parallel and serial interfaces
  • Timers, Compare, Capture and PWM program design
  • Low level programming in C
  • JSP- Jackson structured programming

Intended learning outcomes *

After passing the course, the students should be able to:

  • explain the structure of control circuits and embedded processors
  • account for the function and the use of I/O ports, timers, ADC, and serial interfaces
  • program the hardware in a control circuit system using C
  • use and utilise development tools for programming and troubleshooting of embedded systems
  • account for and utilise interrupt handling with different types of interrupts
  • be able to use and program common types of displays and communication interfaces

Course Disposition

The course includes lectures, laboratory exercises and individual work.

Literature and preparations

Specific prerequisites *

MF1016 Electrical engineering or the equivalent

DD1321 Applied programming and computer science or the equivalent

Recommended prerequisites

No information inserted

Equipment

No information inserted

Literature

Course-related literature is distributed at the beginning of the course.

Examination and completion

Grading scale *

P, F

Examination *

  • KON1 - Partial exam, 2.0 credits, Grading scale: P, F
  • LAB1 - Laboration, 1.0 credits, Grading scale: P, F

Based on recommendation from KTH’s coordinator for disabilities, the examiner will decide how to adapt an examination for students with documented disability.

The examiner may apply another examination format when re-examining individual students.

Opportunity to complete the requirements via supplementary examination

No information inserted

Opportunity to raise an approved grade via renewed examination

No information inserted

Examiner

Nihad Subasic

Further information

Course web

Further information about the course can be found on the Course web at the link below. Information on the Course web will later be moved to this site.

Course web MF2095

Offered by

ITM/Machine Design

Main field of study *

Mechanical Engineering

Education cycle *

Second cycle

Add-on studies

No information inserted

Ethical approach *

  • All members of a group are responsible for the group's work.
  • In any assessment, every student shall honestly disclose any help received and sources used.
  • In an oral assessment, every student shall be able to present and answer questions about the entire assignment and solution.