The CAT1 WDT is only capable of supporting certain timeout ranges below its maximum timeout.
As a result, any unsupported timeouts given to the HAL WDT are rounded up to the nearest supported value. The following table describes the unsupported ranges and the timeout values they are rounded to.
Range (ms) | Rounded Timeout (ms) |
---|---|
3001 - 3999 | 4000 |
1501 - 1999 | 2000 |
751 - 999 | 1000 |
376 - 499 | 500 |
188 - 249 | 250 |
94 - 124 | 125 |
47 - 62 | 63 |
24 - 31 | 32 |
12 - 15 | 16 |
6 - 7 | 8 |
3 - 3 | 4 |
WDT timeout values for Active and Hibernate modes are different. In Active mode, the timeout value is used to create a match count that is matched by the hardware twice, then triggers (ISR) on the third match. In Hibernate mode, the trigger (reset) happens on the first match. Depending on the timing of starting the WDT and entering Hibernate mode, this can lead to WDT reset occurring earlier than it would if the device had not entered Hibernate.