Applications › Industrial automation
Industrial controllers and gateways run for years, must react on time and are increasingly connected. STK provides deterministic scheduling, isolation and secure-networking building blocks in a small, readable kernel.
Control and I/O tasks run on fixed periods. Jitter and missed cycles show up as lower process quality or machine faults.
The same device runs a real-time loop and an Ethernet or cloud connection that must never disturb it.
Devices stay in the field for many years, so the kernel must be maintainable, auditable and not tied to one toolchain.
KERNEL_HRT mode with monitored deadlines and miss callbacks, EDF, RM and DM schedulers, and worst-case response time analysis for RM and DM.
The commercial MCAS and MCAS4 schedulers keep control or safety functions on schedule when diagnostics or communication overrun. See mixed-criticality systems.
One STK instance per physical core: deterministic control on one core, communication and diagnostics on another.
Third-party ports for lwIP and mbedTLS. Bring your own fieldbus or protocol stack.
MPU-based privileged and user tasks and a hardware stack guard. Arm TrustZone can protect keys and update logic, see secure IoT.
MIT-licensed, readable C++, builds with GCC, Clang and IAR. Warranty of title and SLA-backed support are available as services.
Put cyclic control and I/O in periodic hard real-time tasks (EDF, or RM/DM for fixed priorities), and use worst-case response time analysis to check the schedule.
Handle deadline misses with callbacks that move outputs to a defined safe state.
Run communication, logging and diagnostics in lower-urgency, unprivileged tasks, or on a separate core in an AMP design.
If functions differ in criticality, group them and consider MCAS or MCAS4.
Trace timing with SEGGER SystemView during commissioning.
STK is a kernel, not a PLC runtime or fieldbus stack: bring your own protocol stacks and I/O drivers. Porting and integration are available as services.
Porting, real-time tuning, certification support and commercial components are available. See services.