TPS3851 does not recognize WDI changes immediately after SET1 enables the watchdog. TI specifies a 150 µs setup interval when moving from disabled to enabled. If firmware on a TaiTien OY-clocked host sends its only falling WDI edge right after SET1 rises, firmware can log that edge without the supervisor accepting it. Also verify RESET and WDO, since WDI is ignored when those outputs are asserted low. This is an availability issue rather than inaccurate host frequency.
Start the preparation interval from the valid SET1 transition at the device. After the setup interval and once the device is in a state that can accept WDI, issue a falling edge with verified levels and pulse width before the deadline for the selected CWD configuration. Then schedule periodic service with margin to the minimum applicable timeout. If recovery or a sleep transition toggles SET1 again, apply the same rule. Do not use the watchdog enable interval as a substitute for the separate RESET release behavior.
Capture SET1, WDI, RESET and WDO together. Under identical supplies and CWD settings, compare a single early falling edge with a single edge after the setup interval. Suppress incidental service so subsequent WDO timing can show whether an edge restarted the timer. Recheck the real workload to make sure the added wait fits the first service deadline. When the watchdog is disabled, TI says to drive WDI to a defined rail rather than leaving it floating.
Record watchdog enabled and WDI accepted as distinct milestones. Select the exact OY oscillator for the host independently, and verify what happened at the watchdog pins rather than relying on a CPU-cycle estimate.
Related selection guide: MERLIN Crystal Timing: ATmega328P Timing Budget: A 4 MHz Main Crystal and an Independent Watchdog Clock
Resource link: https://www.mecxtal.com.cn/en/handbook/avr-watchdog-independent-time.html
