Kennel
Watchdog Never Resets Hung Board Debug
Symptom
The sensor's data-ready line went quiet mid-run. The board froze and the watchdog never bit. The registers and bit fields are on the Datasheet tab.
Circuit
Pass condition
Each rising edge on PA0 prints SAMPLE:<n>, from 1. The watchdog is fed about every 10 ms while readings keep being logged, and never once they stop.
Notes
The sensor pulses PA0 once per reading until it goes quiet. Runs last 100 ms, under the watchdog's 1 s. The kernel configuration is fixed.