Freedom from interference in ISO 26262
Many production ECUs run more than one ASIL. A braking controller hosts ASIL D monitoring beside QM diagnostics and calibration; a domain controller runs a dozen functions at four integrity levels on one processor. ISO 26262 lets them share — but only if the less trusted parts provably cannot break the more trusted ones. That property is freedom from interference. This guide covers the definition, when it is needed, the three kinds of interference ISO 26262-6 names, the mechanisms that provide it, and how to show it.
Freedom from interference (FFI) is the absence of cascading failures from one element into another that could violate a safety requirement (ISO 26262-1). In practice it is what allows lower-ASIL or QM software and hardware to share resources with higher-ASIL elements without being developed to the higher ASIL.
For software, ISO 26262-6 Annex D groups interference into three kinds — timing and execution, memory, and exchange of information — and each needs a mechanism that prevents it or detects it in time.
FFI, independence and coexistence
The three terms are often used as if interchangeable. They are not:
| Term | What it rules out |
|---|---|
| Freedom from interference | Cascading failures: element A's fault causing element B to fail |
| Independence | Cascading failures and common cause failures |
| Coexistence (ISO 26262-9 clause 6) | The criteria under which elements of different ASILs may share an element without all inheriting the highest |
FFI is the one-way property: the QM logging task must not corrupt the ASIL D torque monitor. It does not require the reverse, and it does not cover a fault that takes both down together — a dead clock or a shared regulator is a common cause, handled by dependent failure analysis, not by partitioning.
When you need it
The coexistence rule is the usual trigger. When sub-elements of different ASILs sit inside one element, each is developed to the highest ASIL among them unless freedom from interference is shown for the lower ones. That choice is often a cost decision: showing FFI for a large QM stack is often cheaper than developing it to ASIL D.
FFI is also needed when a safety mechanism shares a processor with the function it supervises, and between the two elements of an ASIL decomposition where they share any resource at all — though there it is only part of the independence argument.
The three kinds of interference
ISO 26262-6 Annex D lists the faults to consider between software elements. Paraphrased:
| Kind | Faults to consider |
|---|---|
| Timing and execution | Blocking of execution, deadlocks, livelocks, wrong allocation of execution time, wrong synchronisation |
| Memory | Corruption of another element's data or code; reading or writing memory allocated to another element; stack overflow into another partition |
| Exchange of information | Repetition, loss, delay, insertion, masquerade or wrong addressing, wrong sequence, corruption of messages, asymmetric delivery to several receivers, blocked access to a channel |
The same three categories are a useful lens for hardware sharing: a QM peripheral that can hold a shared bus (timing), a DMA controller that can write anywhere (memory), a gateway that can forward a stale frame (information).
Mechanisms, kind by kind
| Kind | Typical mechanisms |
|---|---|
| Timing and execution | Time and priority partitioning in an AUTOSAR or safety RTOS, execution-time budgets, deadline and alive supervision, an external watchdog with its own clock, program-flow monitoring |
| Memory | MPU or MMU partitions configured and checked by the higher-ASIL side, stack guards, DMA restricted to permitted regions, ECC on shared memory |
| Exchange of information | End-to-end protection (CRC, sequence counter, data ID, timeout), as in the AUTOSAR E2E profiles; plausibility checks at the receiving ASIL |
Two properties decide whether a mechanism counts. It must be developed to the higher ASIL — an MPU configured by QM code protects nothing. And it must either prevent the interference or detect it and reach the safe state within the fault tolerant time interval. Detection after the safety goal is already violated is not freedom from interference.
Hardware is part of it too
Annex D is written for software, but the same question applies wherever a lower-ASIL hardware element shares something with a higher-ASIL one: a QM sensor on the same supply as an ASIL D sensor, a QM peripheral on the same internal bus, a QM output stage whose short can back-feed an ASIL D input. On a multi-core microcontroller the hardware is what makes the software mechanisms possible — the MPU, the bus firewall, the core-local memories — so its own failure modes belong in the FMEDA. An MPU that fails silently is a latent fault in the FFI argument, and it counts against the latent fault metric unless something tests it.
Worked example: QM diagnostics beside an ASIL D monitor
A brake ECU runs an ASIL D torque-plausibility monitor and a QM diagnostics stack (UDS, logging, calibration) on one dual-core MCU. Rather than develop the diagnostics to ASIL D, the team argues FFI:
- Memory. The diagnostics run in an MPU partition with no write access to the monitor's RAM or to the peripheral registers it uses. The partition table is set by the ASIL D start-up code and checked periodically.
- Timing. The monitor runs on its own core at the highest priority; an external watchdog with an independent clock supervises its alive and deadline behaviour. A diagnostics task that spins forever cannot starve it.
- Information. Calibration values the monitor reads are protected by CRC and range-checked at start-up; the monitor never consumes QM data without a plausibility check.
What FFI does not cover here is the shared supply, clock and reset of the MCU itself. Those are common cause initiators and belong in the DFA, typically answered by supply and clock monitoring with a safe-state path that does not depend on the MCU.
Showing it: evidence a reviewer accepts
- An interference analysis. For each pair of lower and higher ASIL elements, walk the three kinds of interference and name the mechanism and the requirement that covers each fault. A table per interface is the usual form.
- Fault injection. Deliberately overrun the QM task, write outside its partition, corrupt and delay messages, and show the higher-ASIL side reacts as specified. In our experience this is where most real gaps are found.
- A fault tree that agrees. In the safety goal's fault tree, a QM element should only appear beneath the mechanism that detects its interference — never as a direct input to the higher-ASIL function's failure. A QM basic event in a first-order cut set is a missing FFI argument made visible.
- Configuration evidence. MPU tables, scheduler configuration and E2E settings are work products. A correct mechanism with a wrong configuration provides no protection.
Mistakes that recur
- Partitioning claimed, hardware path forgotten. DMA, debug interfaces and shared peripherals can bypass the MPU entirely.
- Supervision that shares what it supervises. An internal watchdog on the same clock as the core cannot catch a clock fault.
- FFI used for common cause. No amount of memory protection makes a shared regulator independent.
- Mechanism developed at the lower ASIL. The protecting element inherits the ASIL of what it protects.
Sources
- TASKING, Freedom From Memory Interference: How Safe and Secure Are Current Defences? (part one) — the ISO 26262-1 definition, ISO 26262-6 Annex D "Freedom from interference between software elements", and the three kinds of interference.
- ISO, ISO 26262-9:2018 abstract — requirements decomposition, coexistence of elements, dependent failures and safety analyses.