Concurrency Frameworks for Embedded Systems: A Comparative Evaluation of FreeRTOS, RTIC, and Embassy
IET Computers & Digital Techniques · 2026-01 · 2026 (1)
DOI: 10.1049/cdt2/7881841 ↗Kurz gefasst
Fachartikel in der Zeitschrift IET Computers & Digital Techniques, online erschienen am 12.08.2026. Verfasst von Guoping Wang. Die Arbeit nennt 39 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0). Gefördert von: Naval Surface Warfare Center Crane Division.
Abstract (Originalsprache)
This paper presents a quantitative and qualitative comparison of three concurrency frameworks for embedded real‐time systems: the C‐based FreeRTOS kernel and the rust‐based real‐time interrupt‐driven concurrency (RTIC) and Embassy frameworks. All three frameworks are implemented on an STM32F3 ARM Cortex‐M4 platform using three representative applications: a single‐task Blinky benchmark, a UART‐to‐LED event‐signaling workload, and a Crane low profile vessel (LPV) subsystem integrating UART, CAN, and PWM tasks. Timing metrics, including task latency, periodic jitter, interrupt latency, and frame‐to‐register latency, are measured using the ARM data watchpoint and trace (DWT) cycle counter, while flash and RAM utilization are obtained through binary analysis. Across the Crane application, FreeRTOS achieves the lowest mean task‐switch latency at 1110 cycles, compared with 2308 cycles for RTIC and 18,333 cycles for Embassy. RTIC provides the smallest memory footprint, using 17,224 bytes of flash and 1308 bytes of RAM, while Embassy and FreeRTOS use 20,784 and 20,444 bytes of flash and 5692 and 21,944 bytes of RAM, respectively. Embassy also shows highly repeatable timing behavior in selected application‐level measurements, including a constant 442‐cycle frame‐to‐register latency. Qualitatively, the study evaluates memory safety, concurrency reliability, predictability, scalability, and developer ergonomics. The results suggest that FreeRTOS is preferable for applications requiring minimal latency, RTIC is well suited for safety‐oriented and RAM‐constrained systems, and Embassy is attractive for scalable asynchronous I/O workloads.
Förderung
- Naval Surface Warfare Center Crane Division
Zitieren
APA
Wang, G. (2026). Concurrency Frameworks for Embedded Systems: A Comparative Evaluation of FreeRTOS, RTIC, and Embassy. IET Computers & Digital Techniques, 2026(1). https://doi.org/10.1049/cdt2/7881841
Vancouver
Wang G. Concurrency Frameworks for Embedded Systems: A Comparative Evaluation of FreeRTOS, RTIC, and Embassy. IET Computers & Digital Techniques. 2026;2026(1). doi:10.1049/cdt2/7881841
BibTeX
@article{Wang2026,
author = {Wang, Guoping},
title = {Concurrency Frameworks for Embedded Systems: A Comparative Evaluation of FreeRTOS, RTIC, and Embassy},
journal = {IET Computers & Digital Techniques},
year = {2026},
volume = {2026},
number = {1},
doi = {10.1049/cdt2/7881841}
}
EUVIMED