Real-Time I/O (RTIO) for Developing Real-Time Zephyr Applications
summary
RTIO is a Zephyr subsystem that moves sensor and bus I/O to submission/completion queues, cuts context switches and copies, and leverages DMA/FIFO where available; benchmarked on an NXP MCX NXP 947 Cortex‑M at 150 MHz with an IMU at 3.2/6.4 kHz plus two accelerometers, it shows RTIO reduces jitter 2–4x and about 6–8% lower CPU load versus a thread‑per‑device approach; demo: IMU at 6.4 kHz overruns thread model but stays reliable with RTIO, and RTIO integrates with sensor, ADC and bus drivers.
AI-written summary · about
chapters (10)
- 0:00RTIO and Zephyr intro
- 2:10What RTIO is and how it works
- 7:08RTIO code examples
- 13:33RTIO in Zephyr sensor API
- 17:08Real-time I/O fundamentals
- 22:25RTIO for real time design
- 23:27RTIO benchmark setup
- 27:15Benchmark results analysis
- 30:27RTIO future in Zephyr
- 32:54Q&A
related talks
33mA Block Stream API for Zephyr
35mMulti-core Application Development with Zephyr RTOS
09mZephyr RTOS in Industry Research & Product Development
47mWhat Every Driver Developer Should Know about RT
41mTurning the Ignition on Safety: Zephyr RTOS in Automotive Compliance
57mZephyr RTOS Debugging and Performance Analysis
33mTizenRT: A Reliable IoT Platform
49mThe Zephyr™ Project – An Updated Overview
