Course details
Microprocessors and Embedded Systems
IMPe Acad. year 2010/2011 Summer semester 6 credits
Embedded systems, introduction, applications. Microcontroller architecture. Memory subsystem. Programmers model, programming in assembly language. Instruction and directivies. Stack utilizing. Interrupt subsystem and its programming. On chip peripheral devices and their programming: system clock generator, timer, SCI, IIC, SPI, USB interfaces, AD converter, Real-Time Clock module, low-power modes. Programming techniques for embedded systems in C language.
Guarantor
Language of instruction
Completion
Time span
- 26 hrs lectures
- 6 hrs exercises
- 8 hrs laboratories
- 12 hrs 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 routine for each peripheral devices. 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 of architecture of different microcontrollers. To acquaint with performance of individual subsystems namely CPU programming model, flash memory, interrupt subsystem, common and watchdog timers, real-time module RTC, low-power modes, SCI, SPI, IIC, USB interfaces, AD converter. To learn the important instruction subset and their application in programming and debugging of assembly applications. Make students familiar with basic rules and programming techniques in a high-level language C 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 C language.
Study literature
- Materials for lectures, labs and exercises.
- J.W. Valvano, Embedded Systems: Real Time Interfacing to ARM Cortex-M Microcontrollers, ISBN 978-1463590154, 2017.
- K60 Sub-Family Reference Manual, available on-line: https://www.nxp.com/docs/en/reference-manual/K60P144M100SF2V2RM.pdf
- ARM Cortex-M4 Processor Technical Reference Manual, available on-line: http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.100166_0001_00_en/index.html
Fundamental literature
- Study materials published by Freescale/NXP.
- KL05 Sub-Family Reference Manual, available on-line: https://www.nxp.com/docs/en/reference-manual/KL05P48M48SF1RM.pdf
- Cortex-M0+ Devices Generic Users Guide, available on-line: http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0662b/index.html
- Predko, M.: "Handbook of Microcontrollers", McGraw-Hill, ISBN 0079137164, 1998.
- J.W.Valvano, Embedded Systems: Introduction to ARM Cortex-M Microcontrollers, Volume 1, ISBN 978-1477508992, 2014.
Syllabus of lectures
- Introduction into Embedded systems.
- HC08/HCS08 on-chip CPU and peripherals.
- Interrupt subsystem.
- SCI, SPI, IIC interfaces.
- USB interface.
- Timer system. System clock, RTC and COP modules.
- A/D converter, display, keyboard.
- Programming embedded applications in C.
- Embedded systems for critical applications control.
- Embedded real-time operating systems.
- Survey of microcontrollers.
- Microcontroller application in fuzzy systems.
Syllabus of laboratory exercises
- Communication via SCI interface
- Button service by means of KBI module
- PWM signal generator based on TIM module
- AD converter based application
Progress assessment
Study evaluation is based on marks obtained for specified items. Minimimum number of marks to pass is 50.
Credit is not 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.