Course details

Microprocessors and Embedded Systems

IMPe Acad. year 2016/2017 Summer semester 6 credits

Current academic year

Embedded systems, introduction, applications. Microcontroller architecture. Memory subsystem. Programmers model, programming in assembly language. Instruction  and directivies. Stack utilization. Interrupt subsystem and its programming. Polling loop versus interrupts. On chip peripheral devices and their programming: system clock generator, timer, SCI, IIC, SPI, USB interfaces, KBI module, AD converter, RTC - real-time clock module, low-power modes. Programming techniques for embedded systems in C language.

Guarantor

Language of instruction

English

Completion

Examination (written)

Time span

  • 26 hrs lectures
  • 6 hrs exercises
  • 8 hrs laboratories
  • 12 hrs projects

Assessment points

  • 55 pts final exam (40 pts written part, 15 pts test part)
  • 15 pts mid-term test (test part)
  • 16 pts labs
  • 14 pts projects

Department

Subject specific learning outcomes and competences

  • Students are familiar with general structure of microcontroller and with the techniques of embedded systems design.
  • Students are capable to design and debug the routines and initialization routines for typical on-chip peripherals.
  • They are able to design and implement the control part of a simple embedded application according to various constraints such as performance, power, number of pins etc.
  • They are skilled in utilizing of basic debugging techniques for the application programs written in assembly language or C language.

Learning objectives

To give the students the knowledge microcontroller architectures. To acquaint them with operational principles and configuring/programming of individual subsystems namely CPU programming model, memory, interrupt subsystem, common and watchdog timers, real-time module RTC, low-power modes, SCI, SPI, IIC, USB interfaces, KBI module, AD converter. To learn the instruction set architecture and principles of programming and debugging of basic assembly applications. Make students familiar with basic rules and programming techniques in a high-level C language as well as with embedded system design.

Recommended prerequisites

Prerequisite knowledge and skills

To be familiar with the architecture and structure of scalar CPU, computer and with programming in assembly language. The basic knowledge of programming in the C language.

Study literature

Fundamental literature

Syllabus of lectures

  1. Introduction into Embedded systems.
  2. HC08/HCS08 on-chip CPU and peripherals.
  3. Event detection by interrupts polling loops.
  4. SCI, SPI, IIC interfaces.
  5. USB interface.
  6. TPM timer. System clock, RTC and COP modules.
  7. A/D sampling, button service using KBI.
  8. Programming embedded applications in C.
  9. Embedded systems for critical applications control.
  10. Design for low power. 
  11. Embedded case studies.
  12. Microcontroller application in fuzzy systems.

Syllabus of laboratory exercises

  1. Communication via the SCI interface
  2. Button service by means of the KBI module
  3. PWM signal generator based on the TPM module
  4. AD converter and its application

Progress assessment

Study evaluation is based on marks obtained for specified items. Minimimum number of marks to pass is 50.

No conditions are applied.

Controlled instruction

Following activities are monitored: attendance and activity during lectures, exercises, laboratories and project-related works. All works have to be submitted before the deadlines; late submissions will be evaluated by 0 points.

Back to top