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 Keep reset the MCU

Part Number: TPS65381A-Q1

Hi sir:

     we find that the MCU error then the TPS6381 reset it. But the MCU will be reset by TPS65381 time and time again. IF I power on again. it will run  correct. So why and  How to solve.

  • Lei,
    This sounds like the watchdog is resetting the MCU. I believe you have to reinitialize the watchdog process to keep it from resetting the MCU. there may be more to it. Let me check with our product specialist.
  • Yes I think so. The watchdog reset the MCU. But when the mcu reset. It not have enough time to feed the dog .
    Reinitialize the watchdog process how to do? This in itself is a security mechanism. In fact,the watchdog is enable ,it can not be stop and init again.
  • Lei,
    Yes that can be a problem. Normally when you first start up the TPS65381, the WD_RST_EN[3] bit is set to "0". in the SAFETY_FUNC_CFG register; this is default state of this bit. However if during original configuration of the device, you enabled reset from a watchdog failure, this config bit was set to "1" and will remain set to "1" after a RESET state transition. Then when you are restarting the controller you have very little time to reinitialize the watchdog before it will reset again. If you change this bit to back to "0" early in your re-boot procedure you can process the watch dog initialization without worrying about a reset.
    Because you don't know if this is a fresh start or a restart, If you Immediately clear the WD_RST_EN[3] bit to "0" in the SAFETY_FUNC_CFG register, then you can process the initialization in your own time. Then it is a normal restart. This can be added to your code for a fresh start and then it will happen automatically upon a restart.

    Let me know if you need more help on this.