SLLA578 June   2022 TLIN1431-Q1

 

  1.   Abstract
  2.   Trademarks
  3. 1Startup
    1. 1.1 Operational Voltages
    2. 1.2 Power-Up and INIT Mode
  4. 2Pin Control
    1. 2.1 Typical Application
    2. 2.2 Power-Up into Normal Mode in Pin Control
      1. 2.2.1 Restart Mode from INIT Mode in Pin Control
      2. 2.2.2 Standby Mode from Restart Mode in Pin Control
      3. 2.2.3 Normal Mode in Pin Control
    3. 2.3 Power-Up into Fast Mode in Pin Control
    4. 2.4 Sleep Mode to Normal Mode in Pin Control
    5. 2.5 Fail-Safe Mode to Normal Mode in Pin Control
  5. 3SPI Control
    1. 3.1 Typical Application
    2. 3.2 Power-Up into Normal Mode in SPI Control
      1. 3.2.1 Restart Mode from INIT Mode in SPI Control
      2. 3.2.2 Standby Mode from Restart Mode in SPI Control
      3. 3.2.3 Normal Mode in SPI Control
    3. 3.3 Power-Up into Fast Mode in SPI Control
    4. 3.4 Sleep Mode to Normal Mode in SPI Control
    5. 3.5 Fail-Safe Mode to Normal Mode in SPI Control
    6. 3.6 Configuring Watchdog through SPI
  6. 4Pin Assignments in Pin Control vs. SPI Control
  7. 5References

Configuring Watchdog through SPI

The watchdog function has extensive configurability, including selecting the watchdog mode, timeout window, and activation. By default, watchdog is enabled in standby mode, but it can be disabled by setting WD_STBY_DIS (8’h14[0]) to 1b. It can be disabled altogether by setting WD_CONFIG (8’h13[7:6]) to 00b.

Each time a watchdog error occurs, the watchdog error counter is incremented, accessible through WD_ERR_CNT (8’14[4:1]). When this counter reaches the maximum value per WD_ERR_CNT_SET (8’h16[7:6]), the device transitions to restart mode, the error counter is reset back to one, and nRST is pulled low for tNRST_TOG­.