Course detail

Embedded Systems

FEKT-MPC-PORAcad. year: 2024/2025

Basic terms: programming model, addressing modes, assembler, embedded peripherals, counters, timers, interrupt subsystem. Mapping and addressing of peripherals.
Peripherals: A/D and D/A converters, counters and timers, synchronous and asynchronous serial interface. Power elements. Intelligent display. Connection of external peripherals like memory, A/D and D/A converters, displays, keyboards. Buses I2C, 485 and 422. Programming techniques for embedded systems. Introduction to Real time OS. Introduction to Faul-tolerant systems.

Language of instruction

Czech

Number of ECTS credits

6

Mode of study

Not applicable.

Entry knowledge

Student is able to:
- explain of basic physical characteristics of passive and active components (resistor, inductor, capacitor, transistor, diode, LED, voltage regulator, transformer, optocoupler, XTAL, etc.)
- calculate with basic electric characteristics
- analyze of basic electric circuits
- calculate the basic electric circuits
- explain basic logic circuits
- calculate with logic operations
- simplify of logic functions
- design of logic circuit
- program in ISO C language
- design the algorithms
- program the algorithms
- design the state machine (Moor, Mealy)
- transform of state machine to algorithm
- explain of basic computer terms (CPU, RAM, ROM, EPROM, etc.)
- explain of basic computer architectures (Harvard, VonNeuman)
- discuss the basic terms of probability and statistics
- calculate with different numerical systems (HEX, octal, decimal, binary)

Rules for evaluation and completion of the course

- up to 40 points from laboratory (six written tests per 5 point, one individual test on PC per 10 points)
- up to 60 points from examination (examination by test form)
- credit can by done, if student receive >= 20 point from laboratory tests

The content and forms of instruction in the evaluated course are specified by a regulation issued by the lecturer responsible for the course and updated for every academic year.

Aims

Students achieve knowledge with micorcontroller and microprocessor architecture and connected peripherals and subsystems. Students acquire knowledge with sophisticated programming languages
After the course student is able to:
- define of basic microcontroller system and its peripherals requirements
- describe of basic microcontroller system and its peripherals
- design of basic microcontroller system and its peripherals
- analyze of basic microcontroller system and its peripherals
- construct of basic microcontroller system and its peripherals
- review of basic microcontroller system and its peripherals
- utilize of basic microcontroller system and its peripherals
- program of basic microcontroller system and its peripherals

Study aids

Not applicable.

Prerequisites and corequisites

Not applicable.

Basic literature

Bradáč, Z., Fiedler, P., Kučera, P.: Embedded systems for industrial control, Sktiptum VUT (EN)
Bradáč, Z., Fiedler, P., Kučera, P.: Embedded systémy pro průmyslové řízení, Skriptum VUT (CS)

Recommended reading

Ličev L., Morkes D.: Procesory - architektura, funkce, použit, Computer press, Praha 1999 (CS)
Predko M.,: Handbook of microcontrolers, McGraw-Hill, ISBN 0079137164, 1998 (EN)

Classification of course in study plans

  • Programme MPC-KAM Master's 1 year of study, summer semester, compulsory

Type of course unit

 

Lecture

26 hod., optionally

Teacher / Lecturer

Syllabus

- Introduction to logic systems. Introduction to numeric systems. State machines.
- Microcontroller programming in ISO C. Computer structures.
- Microcontroller and its internal peripherals description – XTAL, timer/counter, UART, memory
- Introduction to microcontroller system design
- Introduction to peripheral devices – address decoder, PIO, alphanumerical display
- Introduction to peripheral devices – discrete PIO, secondary address decoder, matrix keyboard
- Introduction to I2C bus
- Introduction to I2C bus design – RTC, A/D, D/A, PIO, RAM, EEPROM
- Introduction to RT-OS
- Introduction to Fault-tolerant systems

Laboratory exercise

39 hod., compulsory

Teacher / Lecturer

Syllabus

Organization. Introduction to embedded system.
Development environment. Specific attributes of C language for microcontrollers. Basic program modules. Introduction to programming.
Embedded peripherals. Time slope generation. Timers modes. Watch-Dog.
Inputs, outputs. Data memory. Variables and structures definition. Mapping and masking external peripherals.
Programming of intelligent display. Procedures redefinition.
Keyboard. Connection and programming. Periodical reading. Edge testing. Interrupt subsystem. Procedures redefinition.
I2C bus. SW implementation. RAM and EEPROM devices on I2C. Programming.
I2C bus. RTC device. Setting and utilizing of calendar.
Synchronous serial interface. SW emulation. A/D converters on SCI.
Programming and utilizing of A/D and D/A converters, multiplexing and calibration.
RTC generating. SW implementation of PWM.
Asynchronous serial interface. RS232. Interconnection of embedded systems with PC. Basic communication. XON/XOFF data flow control.
Semester project checking.