SLVUCI5 april 2023 AM6526 , AM6528 , AM6548 , TPS6594-Q1
GPIO8 is configured as an input to disable the watchdog. Typically, during development this pin is tied high, so that when the nRSTOUT bit is set WD_PWRHOLD is also set. The configuration of this pin can be utilized for other features or functions but this requires servicing the watchdog before the expiration of the long window; 772 seconds, Table 5-12.
Write 0x12:0x09:0x00:0xBF // Disable Watchdog
Write 0x48:0x38:0xC0:0x1F // configure GPIO8 as WAKEUP1
When enabling the watchdog the WD_PWR_HOLD must also be cleared.
Write 0x12:0x09:0x00:0xFB // Clear WD_PWRHOLD
Write 0x12:0x09:0x40:0xBF // Enable Watchdog
With the TO_SAFE and TO_SAFE_ORDERLY sequences the PMICs transition through the SAFE RECOVERY state as well as hardware states INIT and BOOT BIST. Through this transition the user registers are restored with the NVM settings. The customizations are not preserved and must be re-applied with every power cycle and transition through the hardware states.