MF2095 Programming in C for Embedded Systems 3.0 credits

Programmering i C för inbyggda styrsystem

  • Education cycle

    Second cycle
  • Main field of study

    Mechanical Engineering
  • Grading scale

    P, F

Course offerings

Autumn 19 for programme students

Autumn 18 for programme students

  • Periods

    Autumn 18 P1 (3.0 credits)

  • Application code

    51520

  • Start date

    27/08/2018

  • End date

    26/10/2018

  • Language of instruction

    Swedish

  • Campus

    KTH Campus

  • Tutoring time

    Daytime

  • Form of study

    Normal

  • Number of places *

    Min. 5

    *) The Course date may be cancelled if number of admitted are less than minimum of places.

  • Part of programme

Autumn 18 for programme students CANCELLED

  • Periods

    Autumn 18 P1 (3.0 credits)

  • Application code

    51141

  • Start date

    27/08/2018

  • End date

    26/10/2018

  • Language of instruction

    English

  • Campus

    KTH Campus

  • Tutoring time

    Daytime

  • Form of study

    Normal

  • Number of places *

    Min. 5

    *) The Course date may be cancelled if number of admitted are less than minimum of places.

  • Schedule

    Schedule (new window)

  • Planned timeslots

    P1: A1, D1, E1, F1, I1, J1. more info

  • Course responsible

    Martin Edin Grimheden <mjg@kth.se>

  • Teacher

    Björn Möller <bjornm@md.kth.se>

    Martin Edin Grimheden <mjg@kth.se>

    Nihad Subasic <subasic@kth.se>

  • Target group

    TIPUM1 IPUC (open to all, but priority given to TIPUM1 IPUC students)

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 main content

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

Disposition

The course includes lectures, laboratory exercises and individual work.

Eligibility

MF1016 Electrical engineering or the equivalent

DD1321 Applied programming and computer science or the equivalent

Literature

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

Examination

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

Offered by

ITM/Machine Design

Contact

Martin Edin Grimheden (mjg@kth.se)

Examiner

Martin Edin Grimheden <mjg@kth.se>

Version

Course syllabus valid from: Autumn 2018.
Examination information valid from: Autumn 2018.