
RT-STACK is an open-source real-time ECU development platform. Its architecture separates the deterministic STM32G474 layer-trigger capture, injection, ignition and low-level I/O-from an optional Raspberry Pi or other high-level computer used for advanced control, logging, graphical models and calibration workflows.
Who this guide is for
This guide is for automotive hobbyists, technicians, engineers and professional development teams who want to understand, build and safely adapt RT-STACK for a controlled development or motorsport environment.
What is in the repository today
- Hardware: KiCad design files for a high-channel-count engine-control board with injector, ignition, trigger, lambda, CAN and general-purpose interfaces.
- Firmware: an STM32CubeIDE project for the STM32G474 with configurable engine and trigger definitions, injection/ignition scheduling and classic-CAN status telemetry.
- Manufacturing material: fabrication files under
FAB/. - Companion-tool direction: optional high-level control and XCP-based measurement/calibration can be built around the FUPSRL CM-STACK and INCAZ projects, after independent integration and validation.
Important current-scope note
The board architecture is V12 GDI-ready, but the committed firmware configuration is an inline-four reference with a 60-2 crank example. It is deliberately readable and configurable; it is not a universal production ECU calibration. You must validate the firing order, trigger geometry, channel mapping, outputs and fault response for every engine.
Documentation map
Read the chapters in order for a complete path from architecture to bench validation: platform overview; hardware; firmware build; engine and trigger configuration; injection/ignition; CAN; high-level integration; bench commissioning; and troubleshooting.
Safety and intended use
RT-STACK is an engineering project supplied without warranty. It is not certified and is not intended for road-legal use. Begin with isolated bench testing and passive/representative loads. Do not connect a live fuel system, coils, injectors or a running engine until you have independently verified power, wiring, trigger synchronization, output polarity, timings and failsafe behaviour.