This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TPS65381A-Q1: TPS65381A-Q1 Stuck in Locked Safe State – Unable to Transition to Diagnostic State

Part Number: TPS65381A-Q1

Tool/software:

Hello,

I am working with the TPS65381A-Q1 PMIC and facing an issue with transitioning to the Diagnostic state after power-on.
When I power on the PMIC, my code sends the required SPI command to enter the Diagnostic state. However, in debug mode, I observe that the PMIC is instead in the Locked Safe state and does not transition to Reset or Diagnostic.
If I disconnect the NRES pin of the PMIC from the microcontroller's reset pin and then power cycle the PMIC, I am able to successfully trap it in the Diagnostic state.
However, when the NRES pin of the PMIC remains connected to the microcontroller's reset pin, the PMIC gets locked in the Safe state at power-on, with errors preventing the transition.

I have the following questions:

  1. Is there any way to transition the PMIC from the Locked Safe state back to Reset or Diagnostic via SPI commands?
  2. During power-on, what measures can be taken to ensure that the PMIC enters the Diagnostic state instead of getting locked in Safe state?
  3. Could the connection between the NRES pin of the PMIC and the microcontroller's reset pin be affecting the PMIC’s state transitions?

Any insights on this issue would be greatly appreciated.

Thanks,

  • Hi Ahamed,

    I'll try to answer your questions as best I can right now let me know if you need me to investigate further.

    1. There isn't a way to enter the reset or diagnostic state via a spi command. If the device was configured it could be set to transition to the reset state after a timeout but that needs to be set.

    2. The PMIC will always enter the diagnostic state but if the DIAG_EXIT_MASK or DIAG_EXIT bit are not set within 500ms of the device coming on the device will enter the safe state.

    3. If the PMIC enters the active state and the MCU configured the PMIC to do so, then a short on the NRES pin could force a transition to the safe state.

    Hopefully that helps give you a better idea of this device.

    Best,

    Michael Hernandez