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.

TPS65313-Q1: Debug or OTA scenario

Expert 2350 points
Part Number: TPS65313-Q1

After enter into ACTIVE State, how to switch the TPS65313 state to SAFE without reset the connected MCU.

This is the use case when OTA(Software update) happen or deug case, we want to the switch the TPS65313 into a state which cannot service watchdog but keep the power output.

Do TI have suggestion path?

  • Hi,

    could you go to the safe state by letting the WD_FAIL_CNT increase to equal WD_FC_RST_TH. This should take the TPS65313-Q1 from ACTIVE to SAFE state if WD_RST_EN=0x0

    regards,

    Niko

  • Is it possible to change WD_RST_EN from 0x1 to 0x0 in active state?

  • No possible to change the WD_RST_EN from 0x1 to 0x0 in active state

  • Hi,

    I see you found an answer to your question. Does this solve your problem or do you still have some questions?

    regards,

    Niko

  • Still did not have the suggestion path to switch the active state to safe state without watchdog reset Master MCU.

  • Hi,

    I have not found a way to do this other than doing the OTA/debug during initial startup when the PMIC just powers up. Here you could utilize the DIAGNOSTIC and SAFE states to do the OTA/debug. Would it be a viable option to do these at the initial startup so that the PMIC has not gone to ACTIVE STATE yet?

    regards,

    Niko

  • It is no possible. Due to TPS65313 powered for C2000 MCU which is lower controller. C2000 MCU control the power of upper controller.

    Upper conntroller can start OTA  at anytime. So when OTA for C2000 happen, the TPS65313 always be in active status.

    We need the path to bring to back to DIAGNOSTIC and SAFE states.

    Below is the temp solution we use now:

    Use the global safe condition: ENDRV_nIRQ_DRV_ERR & ENDRV_ERR_RESP_EN

    [Give the high pulse to ENDRV/nIRQ pin which is connected with C2000 MCU GPIO] This is errer made by intented.

    to bring PMIC from active status to safe status.

    Then bring PMIC from safe status to diagnostic status.

    Could you please help check with your team, to confirm this solution? Does it have any side effect?

  • Hi, 

    I see no side effect in doing this. You are using the PMIC in the intended way and use the functions of it properly. You are not doing anything against the PMIC specifications. If this method works and you are not seeing anything concerning then it is OK.

    regards,

    Niko