19.4.9 WDT Postscalers

The WDT has a 5-bit postscaler to create a wide variety of time-out periods. This postscaler provides 1:1 through 1:1048576 divider ratios (see the following table). Time-out periods that range between 1 ms and 1048.576 seconds (nominal) can be achieved using the postscaler.

Table 19-1. WDT Time-out Period versus Postscaler Settings(1),(2)
WDTPSR[4:0]/WDTPSS[4:0] Postscaler RatioTime-out Period (Non-windowed Mode)Time-out Period (Programmable Windowed Mode)(3)
000001:11 ms0.75 ms
000011:22 ms1.5 ms
000101:44 ms3 ms
000111:88 ms6 ms
001001:1616 ms12 ms
001011:3232 ms24 ms
001101:6464 ms48 ms
001111:128128 ms96 ms
010001:256256 ms192 ms
010011:512512 ms384 ms
010101:10241.024s0.768s
010111:20482.048s1.536s
011001:40964.096s3.072s
011011:81928.192s6.144s
011101:1638416.384s12.228s
011111:3276832.768s24.576s
100001:6553665.536s49.152s
100011:131072131.072s98.304s
100101:262144262.144s196.608s
100111:524288524.288s393.216s
101001:10458761048.576s786.432s
Note:
  1. All other combinations result in operation as if the postscaler was set to ‘10100’.
  2. The periods listed are based on a 32 kHz (nominal) input clock.
  3. In this case, DEVCFG2.WINSZ = 00. The WDT window is 75% of the selected WDT period.

The settings are chosen using the DEVCFG2.WDTPSR[4:0] inputs for the Run mode counter and the DEVCFG1.WDTPSS[4:0] inputs for the Standby Sleep mode counter. The time-out period of the WDT is calculated as shown in the following equation:

WDTPeriod = 1 ms• 2 Postscaler