ONDA Plus SOM/ONDA Plus Hardware/Peripherals/Watchdog

From DAVE Developer's Wiki
Jump to: navigation, search
History
Issue Date Notes

2026/05/18

First documentation
2026/06/24 Added notes on reset type


Watchdog[edit | edit source]

ONDA Plus pairs the Zynq with a watchdog timer (WDT), Maxim MAX6373.

During normal operation, the microprocessor should repeatedly toggle the watchdog input WDI before the selected watchdog timeout period elapses to demonstrate that the system is processing code properly. If the μP does not provide a valid watchdog input transition before the timeout period expires, the supervisor asserts a watchdog (WDO) output to signal that the system is not executing the desired instructions within the expected time frame.

Use the watchdog output pulse to trigger a reset. On carrier connect WDT_RST with:

  • CB_PGOOD for a COLD reset of ONDA+
  • PS_POR_B for a WARM reset of ONDA+

Default configuration[edit | edit source]

MAX6373 timeout is pin-selectable. It can be configured through the WDT_SET0, WDT_SET1 and WDT_SET2 signals. By default, they are configured as follows:

  • WD_SET2 = 0
  • WD_SET1 = 1
  • WD_SET0 = 1

This set selects the option disabled(the exhaustive list of configurations options is descripted on MAX6373 page 4 datasheet):

Watchdog signals[edit | edit source]

Watchdog signals are connected to the pinout connector J1 on ONDA Plus.

Pin# Pin name Function Notes
J1.A45 WDT_SET2 SET2 Internal 10K Ω pull-down
J1.A44 WDT_SET1 SET1 Internal 10K Ω pull-up
J1.A43 WDT_SET0 SET0 Internal 10K Ω pull-up
J1.A46 WDT_REARM WDI Internal 10K Ω pull-down
J1.A28 WDT_RST WDO For further details, please refer to Reset_scheme_and_control_signals

WDO can be optionally connected to the PS_POR_B signal: contact sales dept. for more information.

When the watchdog is started, the software (bootloader/operating system) must take care of toggling the watchdog trigger pin (WDI) before the timeout expiration.

Selecting different configurations[edit | edit source]

Since WD_SETx signals are routed externally, WDT configuration can be changed by optional circuitry implemented on the carrier board. Different solutions can be implemented on the carrier board, depending on system requirements. The easiest circuit consists of additional stronger pull-up/down resistors connected to WDT_SETx pins in order to overrule default configuration. As MAX6373 allows to change the configuration during operation, more complex solutions can be implemented as well.