352-0549/01 – Real-Time Systems in Mechatronics (RTOS)
Gurantor department | Department of Control Systems and Instrumentation | Credits | 4 |
Subject guarantor | Ing. David Fojtík, Ph.D. | Subject version guarantor | Ing. David Fojtík, Ph.D. |
Study level | undergraduate or graduate | Requirement | Choice-compulsory |
Year | 2 | Semester | winter |
| | Study language | Czech |
Year of introduction | 2011/2012 | Year of cancellation | |
Intended for the faculties | USP, FS | Intended for study types | Follow-up Master |
Subject aims expressed by acquired skills and competences
The course deals with problems and means of real-time systems. It focuses on control elements of real-time systems and ways of programming them. Within the course the students will be acquainted with the properties and the way of programming of FPGA circuits and ARM Cortex-M microcontrollers included development of applications for real-time operating systems like FreeRTOS and CMSIS-RTOS API (RTX).
Teaching methods
Lectures
Tutorials
Summary
The course deals with problems and means of real-time systems. It focuses on control elements of real-time systems and ways of programming them. Within the course the students will be acquainted with:
• the properties and the way of programming of FPGA circuits through VHDL language
• the properties and the way of programming of ARM Cortex-M microcontrollers through C/C++
• and the development of applications under real-time operating systems FreeRTOS and CMSIS-RTOS API (RTX).
The course focuses on practical solutions in the programming of simple demonstration tasks.
Compulsory literature:
Recommended literature:
Additional study materials
Way of continuous check of knowledge in the course of semester
The students has to solve and defend an individual project
Oral exam.
E-learning
http://lms.vsb.cz
Other requirements
Student must solve individual project.
Prerequisities
Subject has no prerequisities.
Co-requisities
Subject has no co-requisities.
Subject syllabus:
1. Introduction to the Real-time systems.
2. FPGAs, properties and programming methods. Introduction to VHDL
3. VHDL, component and architecture, ports, signals and variables.
4. VHDL, sequence flow control.
5. VHDL, timing, buttons, tuning and circuit simulation.
6. Introduction to MCU ARM Cortex-M4 and STM32 development tools
7. General-purpose input/output (GPIO) and System Clock Configuration (SYSCLK).
8. Interrupt Management and Configuration, External Interrupt, NVIC, EXTI, ISR.
9. Basic work with timers and counters, timer as source of periodic interruption, SysTick.
10. Advanced timer operations, PWM programming.
11. Introduction to serial communication USART, I2C, SPI.
12. FreeRTOS and RTX, Thread Management and Synchronization.
13. FreeRTOS and RTX, Memory and Queue Management.
14. FreeRTOS and RTX, Interrupt and Timing Management.
Conditions for subject completion
Occurrence in study plans
Occurrence in special blocks
Assessment of instruction