Zen Peripherals · Automotive · brief · 2026-11-04

A watchdog that catches a CPU still kicking but running the wrong code

The Zen CR-Watchdog is a challenge-response, windowed watchdog for ISO-26262 program-flow monitoring. Instead of a dumb periodic kick, it poses a changing question the CPU must answer correctly — and only inside an open time window. A replayed, constant, or early answer does not service it, so a stuck-but-still- kicking CPU is caught and a reset is requested. For safety-SoC and ECU integrators building ASIL-C/D control-flow supervision. Every number is sourced from the product datasheet or marked TBC.

1. The CR-Watchdog in one paragraph

A plain watchdog only checks that *something* kicked it in time — a hung CPU looping on a stale write keeps it quiet. The CR-Watchdog instead runs a challenge-response (Q&A) protocol: it exposes a 16-bit question, the CPU must write back the correct answer, and the write only services the watchdog when it lands inside the open window. The question comes from a maximal-length LFSR that advances on every correct answer, so a replayed, constant, or early answer fails. Each service period is two phases off one down-counter — a closed phase (answering here is "too early" and faults) then an open phase (a correct answer here services). On any fault it latches a reset request to the reset controller and a level fault to the safety aggregator.

16-bitLFSR challenge (replay-proof)
open / closedtwo-phase service window
1–4answers per window (multi-stage)
14 / 14assertion tests passing
host CPUreads Q, writes A CR-Watchdogwindow FSMclosed → open challenge LFSR reset ctrl safety agg. Q / A bus advance reset_req fault
Figure 1. The host CPU reads the changing question, computes the answer, and writes it back over the peripheral bus. The window FSM accepts a correct answer only in the open phase; the LFSR advances on each correct answer. Any fault — wrong, early, or timeout — latches the reset request and fault outputs.
It catches a CPU a plain watchdog misses. Because the question changes and the window is two-sided, a runaway CPU that answers too soon, replays a stale answer, or stops answering entirely all fault — not just the classic "no kick at all" case.
Size the window to your software, not the other way round. The open phase must cover the worst-case time for your safety loop to read the question, compute the answer, and write it back — in multi-stage mode that budget covers *all* N answers inside one open window. Too tight and a healthy CPU faults; too loose and a hang goes undetected longer.

2. What it is, at a glance

ElementDetailDefaultStatus
Challenge-response serviceCPU reads question, writes the correct answer to service—exists
Changing challenge16-bit maximal-length LFSR, advances on each correct answer—exists
Service windowclosed phase then open phase, one down-counter—exists
Early-answer faultany answer in the closed phase faults—exists
Timeout faultopen phase expires with the sequence incomplete—exists
Multi-stage sequenceN correct answers in order within one open window1exists
Fault-cause reportingwrong / early / timeout, readable in status—exists
Latched reset requestheld until reset — never a one-cycle blip—exists
Level fault to safety aggregatorasserted alongside the reset request—exists
Config-lockwindow + sequence config frozen once armed; enable is sticky—exists
Interruptsserviced / faulted events, each independently enabled—exists
Keyed / negotiated answer transformdeterministic transform only in this release—TBC
Absolute window timeswindow-clocks ÷ your SoC clock frequency—TBC

Sources: Zen CR-Watchdog product datasheet; as-built RTL.

3. How a client uses it

  1. Instantiate and wire the core onto the peripheral bus; route the reset request to your reset controller and the level fault to your safety aggregator.
  2. Configure the window — set the closed and open phase lengths (and, for stronger coverage, the number of answers per window), then arm it. Configuration locks once armed; the enable bit is sticky until reset.
  3. Service it from the safety loop — read the question, compute the answer, and write it back inside the open window. A correct, on-time answer services the watchdog and advances the challenge.
  4. React to faults — a wrong, early, or missing answer latches the reset request and the level fault; an optional faulted interrupt gives software a chance to log before the reset controller acts.

4. Verification & provenance

Sources read

Sources: Zen CR-Watchdog product datasheet; as-built RTL.