SLVUCM3 july 2023 AM62A3 , AM62A3-Q1 , AM62A7 , AM62A7-Q1 , TPS6593-Q1
The default configuration of the NVM transitions the PMICs to the ACTIVE state when the ENABLE pin on the TPS65931211 goes high. The nINT pin goes low to indicate that an interrupt has occurred in the PMICs. After a normal power up sequence the BIST_PASS_INT field in the INT_MISC register is set. This interrupt bit indicates that BIST has been completed. Once the BIST_PASS_INT is cleared, the nINT pin is released (goes high) and PMIC can transition to a different state like S2R or Standby. The following section describe how to enter and exit the S2R state by hardware (using the GPIO3 pin) or by software (writing to the NSLEEP2B bit).
NSLEEP2 (GPIO3) |
NSLEEP2B (register field) |
NSLEEP1B (register field) |
NSLEEP1_MASK (register field) |
NSLEEP2_MASK (register field) |
State / Trigger |
---|---|---|---|---|---|
High | Don't care | Don't care | 1 | 0 | ACTIVE State / Trigger A |
Low | 1 | Don't care | 1 | 0 | ACTIVE State / Trigger A |
Low | 0 | Don't care | 1 | 0 | S2R State / Trigger D |
The following code block shows how to execute triggers A and D using I2C commands to transition in and out of the S2R state. In this example the, PMIC is already in the S2R state after the GPIO3 was pulled low. The NSLEEP2B register field has effect only if GPO3 (NSLEEP2) is low.
Write 0x48:0x86:0x01:0xFE // Set NSLEEP2B to transition out of the S2R state (Trigger A)
Write 0x48:0x86:0x00:0xFE // Clear NSLEEP2B to trigger "any2_s2r" sequence (Trigger D)
Instead of writing to the NSLEEP2B bit to return to the ACTIVE state, it is also possible to use the GPIO3 pin to return the PMIC to the ACTIVE state.