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.

TPS65381-Q1: How to make the 65381 dont reset the CPU

Part Number: TPS65381-Q1
Other Parts Discussed in Thread: TMS570LS3137, TPS65381A-Q1

Hello

 Now I use the tps65381 for the watchdog .and cpu is tms570ls3137.

 First start the 65381 ,when I find some problems about the my program,I want to stop the tps65381 reset function

 how to do that?

  • Hello,

    Are you trying to stop TPS65381A-Q1 from resetting or are you trying to stop the TMS570 from resetting? What errors is the TPS65381A-Q1 device seeing that are causing the reset?

    Best regards,

    Layne J

  • Hello

    In my program

    I want to make the tps65381 stop the tms570 reset.

    my means ,if my program find some errors ,I want to stop the program,it put in the loop(Infinite),but this time if tps65381 can reset the cpu the program again.so I want to stop the tps65381 reset cpu.

  • Hello,

    Are you using the NRES pin of TPS65381A-Q1 to cause the TMS570 to reset? If you are you can do 2 things:

    The first is break the connection on the PCB between the NRES pin of TPS65381A-Q1 and the reset pin on the TMS570 and pull the reset pin on the TMS570 up using an external supply to prevent the MCU from resetting.

    The second option is to prevent TPS65381A-Q1 from transitioning to RESET state or OFF state. Those are the two states that the device will pull the NRES pin low. For more information on this, please see Figure 5-16 in the TPS65381A-Q1 datasheet.

    Best regards,

    Layne J

  • Hello

     yes  use NRES pin

    I want to control tps65381 by command achieve stop reset the cpu.

    which mode have the function in tps65381 . 

  • Hello,

    The only way to prevent TPS65381A-Q1 from resetting the MCU by software is to keep TPS65381A-Q1 in DIAGNOSTIC state. More information about doing this can be found in section 5.4.22 of the TPS65381A-Q1 datasheet. In summary you will need to set DIAG_EXIT_MASK before the DIAGNOSTIC state time-out interval expires.

    Best regards,

    Layne J

  • Hello 

     OK! I know your means.DIAG_EXIT_MASK bit set 1 is keep the DIAGNOSTIC state. But I see the paper "When setting the DIAG_EXIT_MASK bit to 1,only recommended for software debug"

    what does it mean? only software debug?My product runs for a long time

    thank you

  • Hello,

    This method is only recommended when trying to find errors in your program. This is not recommended for a final use case, only for finding errors in the software.

    Best regards,

    Layne J