Treffer: Example of pseudo-parallel execution of three tasks on an STM32F103 microcontroller without using an operating system

Title:
Example of pseudo-parallel execution of three tasks on an STM32F103 microcontroller without using an operating system
Source:
Известия Томского политехнического университета: Промышленная кибернетика, Vol 3, Iss 2, Pp 1-7 (2025)
Publisher Information:
Tomsk Polytechnic University, 2025.
Publication Year:
2025
Document Type:
Fachzeitschrift Article
Language:
English
ISSN:
2949-5407
DOI:
10.18799/29495407/2025/2/88
Accession Number:
edsair.doajarticles..5291735638bb0920f6834ce9fc5b9b89
Database:
OpenAIRE

Weitere Informationen

This article provides an example of pseudo-parallel execution of three tasks on an STM32F103 microcontroller without using an operating system. The processes are described, including flashing of the built-in LED, transmitting and receiving data via the serial interface USART1 and changing the frequency of flashing of the built-in LED by pressing the button with the processing of contact rattling. The software part is organized using finite automata, which makes it possible to achieve pseudo-multitasking in the system. The article discusses in detail the initialization of I/O ports, configuring the UART interface and timer, as well as working with interrupts and global variables.