Basic knowledge of C language and microcontroller technology.
The course presents common serial interfaces used in embedded systems and useful practical details of their implementation. The presentation is accompanied by practical exercises using STM32 microcontrollers.
UART/USART peripheral, data transfer principles and special symbols.
Transfer errors. RS232 and RS485 electrical standards. Usage of RS232
handshake signals. STM32 USART peripheral capabilities.
SPI and similar interfaces – usage, connection topology, use scenarios.
STM32 SPI implementation.
QSPI and OSPI – characteristics.
I2C characteristics and low-level protocol. STM32 implementation.
Interfacing to memories and sensors.
OneWire interface and its possible implementations in microcontrollers –
software, timer, UART.
WS2812 interface – implementation using PWM timer, SPI, UART.