Course: Microcomputer programming

« Back
Course title Microcomputer programming
Course code AUART/A5MPC
Organizational form of instruction Lecture + Tutorial
Level of course Bachelor
Year of study not specified
Semester Winter
Number of ECTS credits 6
Language of instruction Czech, English
Status of course Compulsory
Form of instruction Face-to-face
Work placements This is not an internship
Recommended optional programme components None
  • Dolinay Jan, Ing. Ph.D.
  • Dostálek Petr, Ing. Ph.D.
  • Vašek Vladimír, prof. Ing. CSc.
Course content
- Fundamentals of the microcomputers, presentation of the numerical values, logical functions, address modes, instruction formats, instruction set description. - Stack memory and its using rules, subroutines and macros, parallel and serial communication, microcomputer communication technical tools and possibilities, counters and timers, watchdog - One chip microcomputer structure, microcomputers FreeScale. - Microcomputers family used the processor HC08, hardware structure, interrupt system. - Programming methods using assembler, basic rules, syntax, source command prompt, compiler, directives. Addressing modes, creating of basic program structure. - C-language programming, development environment. - Converter units for technological processes connection, program modules for analogue and discrete I/O processing. Decentralized control systems, communication in the industrial applications from the point of view software solving. - Real-time systems, principles, structure of RTOS, general rules for real-time applications creating. - Overview of the real-time operating systems, their characterization and utilization possibilities, hard and soft RTOS. - Concrete RTOS system structure, processes, scheduler, dispatcher, task description. - Communication between processes, messages, boxes, multiprocessing. - Commands for the processes and message control in the real time, syntax, examples. - Full real-time application creating, general structure of the monitoring and control system. - Professional monitoring and control systems - overview, characterization. Factory suite SCADA system.

Learning activities and teaching methods
Lecturing, Exercises on PC, Practice exercises
Learning outcomes
The course is aimed at making students familiar with use of single-chip microcontrollers in monitoring and control of small and medium-sized technological processes, both from the hardware and software perspective. It covers also basic features of real-time operating systems (RTOS), principles, RTOS structure and general design techniques for developing real-time applications. The theoretical concepts are exemplified with real RTOS.
The student is able to implement application of intermediate complexity in the area of microcontroller monitoring or control systems working in real-time.
It is assumed that the student has basic knowledge about informatics, technical resources of computers, basic algorithm development and programming, obtained in the courses included in the first four semesters of studies.

Assessment methods and criteria
Composite examination (Written part + oral part)

Obligatory 80 % attendance at exercises, Passing out test during the winter semester. Examination consists of written and oral part. The result of a subject examination is expressed on a six-point scale: A "výborně" (i.e. "excellent"), B "velmi dobře" (i.e. "very good"), C "dobře" (i.e. "good"), D "uspokojivě" (i.e. "satisfactory"), E "dostatečně" (i.e. "sufficient"), F "nedostatečně" (i.e. "fail").
Recommended literature
  • CODE WARIOR Reference Manual.
  • MOTOROLA Reference manual.
  • GALLMEISTER, B. POSIX.4 Programming for the Real World. OŔeilly Associates Inc.,1st edition 1994, ISBN 1-56592-074-0. Praha : Grada, 1995.
  • Gofton, P.W. Sériová komunikace. Praha : Grada, 1995. ISBN 80-7169-131-3.
  • HASKELL, R. E. Desing of Embedded Systems Using 68HC12/11 Microcontrollers. Prentice-Hall, Inc., USA, 2000. ISBN 0-13-083208-1.
  • Pechal, Stanislav. Monolitické mikropočítače. 2. akt. vyd. Praha : BEN - technická literatura, 1998. ISBN 8086056309.
  • Rozehnal, Zdeněk. Mikrokontroléry Motorola HC11. 1. vyd. Praha : BEN - technická literatura, 2001. ISBN 8086056775.
  • Srovnal, V. Operační systémy pro řízení v reálném čase. Ostrava : VŠB-TU, 2003. ISBN 80-248-0503-0.
  • VAN STICKE, T. Programming Microcontrolers in C. 2 ed., Elsevier Science, USA, 2003.
  • Vašek, Lubomír. Programování počítačů. Brno : VUT, 1989. ISBN 80-214-0067-6.
  • VAŠEK, V. Elektronická pomůcka pro přednášky z předmětu Mikropočítače, interní stránky FAI, UTB ve Zlíně.
  • Vlach, J. Počítačová rozhraní. Praha : BEN, 2000. ISBN 80-7300-010-5.

Study plans that include the course
Faculty Study plan (Version) Branch of study Category Recommended year of study Recommended semester
Faculty of Applied Informatics Software Engineering (16) Special and interdisciplinary fields 3 Winter
Faculty of Applied Informatics Information and Control Technologies (10) Special and interdisciplinary fields 3 Winter
Faculty of Applied Informatics Information and Control Technologies (14EN) Special and interdisciplinary fields 3 Winter