SLVUCI2 march   2023 AM68A , AM69 , AM69A , TDA4AH-Q1 , TDA4AL-Q1 , TDA4AP-Q1 , TDA4VE-Q1 , TDA4VH-Q1 , TDA4VL-Q1 , TDA4VP-Q1 , TPS6594-Q1

 

  1.   TPS6594133A-Q1 PMIC User Guide for Jacinto J784S4 or J721S2, PDN-3A, PDN-3B, PDN-3F
  2.   Trademarks
  3. 1Introduction
  4. 2Processor Connections
    1. 2.1 Power Mapping
    2. 2.2 Control Mapping
  5. 3Supporting Functional Safety Systems
    1. 3.1 Achieving ASIL-B System Requirements
    2. 3.2 Achieving up to ASIL-D System Requirements
  6. 4Static NVM Settings.
    1. 4.1  Application-Based Configuration Settings
    2. 4.2  Device Identification Settings
    3. 4.3  BUCK Settings
    4. 4.4  LDO Settings
    5. 4.5  VCCA Settings
    6. 4.6  GPIO Settings
    7. 4.7  Finite State Machine (FSM) Settings
    8. 4.8  Interrupt Settings
    9. 4.9  POWERGOOD Settings
    10. 4.10 Miscellaneous Settings
    11. 4.11 Interface Settings
    12. 4.12 Multi-Device Settings
    13. 4.13 Watchdog Settings
  7. 5Pre-Configurable Finite State Machine (PFSM) Settings
    1. 5.1 Configured States
    2. 5.2 PFSM Triggers
    3. 5.3 Power Sequences
      1. 5.3.1 TO_SAFE_SEVERE and TO_SAFE
      2. 5.3.2 TO_SAFE_ORDERLY and TO_STANDBY
      3. 5.3.3 ACTIVE_TO_WARM
      4. 5.3.4 ESM_SOC_ERROR
      5. 5.3.5 PWR_SOC_ERROR
      6. 5.3.6 MCU_TO_WARM
      7. 5.3.7 TO_MCU
      8. 5.3.8 TO_ACTIVE
      9. 5.3.9 TO_RETENTION
  8. 6Application Examples
    1. 6.1 Initialization
    2. 6.2 Moving Between States; ACTIVE, MCU ONLY and RETENTION
      1. 6.2.1 ACTIVE
      2. 6.2.2 MCU ONLY
      3. 6.2.3 RETENTION
    3. 6.3 Entering and Exiting Standby
    4. 6.4 Entering and Existing LP_STANDBY
  9. 7References

PFSM Triggers

As shown in Figure 5-1, there are various triggers that can enable a state transition between configured states. Table 5-1 describes each trigger and its associated state transition from highest priority (Immediate Shutdown) to lowest priority (I2C_3). Active triggers of higher priority block triggers of lower priority and the associated sequence.

Table 5-1 State Transition Triggers
TriggerPriority (ID)Immediate (IMM)REENTERANTPFSM Current StatePFSM Destination StatePower Sequence or Function Executed
Immediate Shutdown(7)0TrueFalseSTANDBY, ACTIVE, MCU ONLY, Suspend-to-RAMSAFE(1)TO_SAFE_SEVERE
MCU Power Error1TrueFalseSTANDBY, ACTIVE, MCU ONLY, Suspend-to-RAMSAFE(1)TO_SAFE_ORDERLY
GPIO10 Low 2 True False STANDBY, ACTIVE, MCU ONLY, Suspend-to-RAM SAFE(1)
Orderly Shutdown(7)3TrueFalseSTANDBY, ACTIVE, MCU ONLY, Suspend-to-RAMSAFE(1)
OFF Request5(9)FalseFalseSTANDBY, ACTIVE, MCU ONLY, Suspend-to-RAMSTANDBY(2)TO_STANDBY
WDOG Error6FalseTrueACTIVEACTIVEACTIVE_TO_WARM
ESM MCU Error7FalseTrueACTIVEACTIVE
ESM SOC Error8FalseTrueACTIVEACTIVEESM_SOC_ERROR
WDOG Error 9 False True MCU ONLY MCU ONLY MCU_TO_WARM
ESM MCU Error 10 False True MCU ONLY MCU ONLY
SOC Power Error 11 False False ACTIVE MCU ONLY PWR_SOC_ERR
GPIO8 Low 12 False False ACTIVE MCU ONLY
I2C_1 bit is high(3)13FalseTrueACTIVE, MCU ONLYNo State ChangeExecute RUNTIME BIST
I2C_2 bit is high(3)14FalseTrueACTIVE, MCU ONLYNo State ChangeEnable I2C CRC on I2C1 and I2C2.(4)
ON Request15FalseFalseSTANDBY, ACTIVE, MCU ONLY, Suspend-to-RAMACTIVETO_ACTIVE
WKUP1 goes high16FalseFalseSTANDBY, ACTIVE, MCU ONLY, Suspend-to-RAMACTIVE
NSLEEP1 and NSLEEP2 are high(5)17FalseFalseSTANDBY, ACTIVE, MCU ONLY, Suspend-to-RAMACTIVE
MCU ON Request 18 False False STANDBY, ACTIVE(6), MCU ONLY, Suspend-to-RAM MCU ONLY TO_MCU
WKUP2 goes high 19 False False STANDBY, ACTIVE, MCU ONLY, Suspend-to-RAM MCU ONLY
NSLEEP1 goes low and NSLEEP2 goes high(5) 20 False False ACTIVE, MCU ONLY, Suspend-to-RAM MCU ONLY
NSLEEP1 goes low and NSLEEP2 goes low(5)21FalseFalseACTIVE, MCU ONLYSuspend-to-RAMTO_RETENTION
NSLEEP1 goes high and NSLEEP2 goes low(5)22FalseFalseACTIVE, MCU ONLYSuspend-to-RAM
I2C_0 bit goes high(3)23(8)FalseFalseSTANDBY, ACTIVE, MCU ONLYLP_STANDBY(2)TO_STANDBY
From the SAFE state, the PFSM automatically transitions to the hardware FSM state of SAFE_RECOVERY. From the SAFE_RECOVERY state, the recovery counter is incremented and compared to the recovery count threshold (see RECOV_CNT_REG_2, in Table 4-10). If the recovery count threshold is reached, then the PMICs halt recovery attempts and require a power cycle. Refer to the data sheet for more details.
If the LP_STANDBY_SEL bit is set in the TPS6594133A-Q1 (see RTC_CTRL_2, in Table 4-10), then the PFSM transitions to the hardware FSM state of LP_STANDBY. When LP_STANDBY is entered, then please use the appropriate mechanism to wakeup the device as determined by the means of entering LP_STANDBY. Refer to the data sheet for more details.
I2C_0, I2C_1, and I2C_2 are self-clearing triggers.
Enabling the I2C CRC, enables the CRC on both I2C1 and I2C2, however, the I2C2 is disabled for 2ms after the CRC is enabled. Be aware when using the watchdog Q&A before enabling I2C CRC. The recommendation is to enable the I2C CRC first, and then after 2ms, start the watchdog Q&A.
NSLEEP1 and NSLEEP2 of the PMIC can be accessed through the GPIO pin or through a register bit. If either the register bit or the GPIO pin is pulled high, the NSLEEPx value is read as a high logic level.
When in the ACTIVE mode, the ON Request to MCU ONLY trigger cannot be accessed while other higher priority triggers, like NSLEEP1=NSLEEP2=HIGH, are still active.
These triggers can originate from the TPS6594133A.
Trigger ID 23 not available until the NSLEEP bits are masked: NSLEEP2_MASK=NSLEEP1_MASK=1.
Trigger IDs 4, 24, and 25 (not shown) are enabled and activated by the power sequences. These triggers are used to manage the transition between the PFSM and the FSM.