Other Parts Discussed in Thread: TPS65381A-Q1
Hello everyone,
I am currently using the TI product TPS65381EVM with TPS65381A-Q1 PMIC. The purpose is to set the IGN_PWRL bit to 0 if the IGN pin was set to 0 (has no connection with the VBATP) in the ACTIVE state, so according to the global STANDBY conditions (IGN = 0 & IGN_PWRL = 0 & CANWU_L = 0) the PMIC can go to STANDBY. Since the IGN_PWRL bit is only rewritable in the DIAGNOSTIC state, the PMIC should go from the ACTIVE state through SAFE and RESET to the DIAGNOSTIC state for the IGN_PWRL bit to be changed. Now I am looking for possibilities to leave the ACTIVE state without generating any errors on the PMIC.
According to the datasheet the SAFE state can be entered from the ACTIVE state by:
1. An error in the signal on the ERROR/WDI pin detected by the MCU ESM while enabled. This transition is because of an error in the MCU and sets the ERROR_PIN_FAIL flag.
2. A detected read-back error on the NRES pin which sets the NRES_ERR flag while DIS_NRES_MON is cleared to 0 (1 in default state).
These two possibilities are connected with an error generating which I want to avoid.
Is there are any other possibilities to change IGN_PWRL bit without leaving the ACTIVE state or to reach the DIAGNOSTIC state after being in the ACTIVE state without generating any kind of error?
And I have also one more question. How can I check in what state is PMIC currently?
Thanks for your attention.