System Watchdog Timer Enable Sequence - System Watchdog Timer Enable Sequence - 1.15 English - UG585

Zynq 7000 SoC Technical Reference Manual (UG585)

Document_ID
UG585
Release_Date
2026-02-06
Version
1.15 English
  1. Select clock input source using the slcr.WDT_CLK_SEL[SEL] bit:

    Ensure that the SWDT is disabled (swdt.MODE[WDEN] = 0 ) and the clock input source to be selected is running before proceeding with this step. Changing the clock input source when the SWDT is enabled results in unpredictable behavior. Changing the clock input source to a non-running clock results in APB access hang.

  2. Set the timeout period (Counter Control register):

    The swdt.CONTROL[CKEY] field must be 0x248 to be able to write this register.

  3. Enable the counter; enable output pulses; set up output pulse lengths (Zero Mode register):

    The swdt.MODE[ZKEY] field must be 0xABC to be able to write this register. Ensure that IRQLN meets the specified minimum values.

  4. To run the SWDT with a different setting, disable the timer first (swdt.MODE[ZKEY] bit). Then repeat steps 1, 2, and 3.