Hello
I write code
ecmpIfSetRegister(ECMP_SAFETY_FUNCTION_CONFIG, 0xFC);
ecmpIfSetRegister(ECMP_SAFETY_CHECK_CONTROL, 0x15);
That act the tps65381 watchdog,but if I want to stop the watchdog .which dont reset the TMS570.
How to do that?
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.
Hello
I write code
ecmpIfSetRegister(ECMP_SAFETY_FUNCTION_CONFIG, 0xFC);
ecmpIfSetRegister(ECMP_SAFETY_CHECK_CONTROL, 0x15);
That act the tps65381 watchdog,but if I want to stop the watchdog .which dont reset the TMS570.
How to do that?
Hi,
By default the TPS65381A-Q1 will disable a transition to the RESET state when watchdog failure events are detected. The detection of bad watchdog events cannot be disabled.
If you want to avoid the TMS570 to reset you could replace:
ecmpIfSetRegister(ECMP_SAFETY_FUNCTION_CONFIG, 0xFC);
with
ecmpIfSetRegister(ECMP_SAFETY_FUNCTION_CONFIG, 0xF5);
Regards,
Ivan
Hi
If ecmpIfSetRegister(ECMP_SAFETY_FUNCTION_CONFIG, 0xF5); The tps65381 cant reset the cpu,that isnot my purpose
my purpose is that I can disable the reset tps65381,because I find some error in my system I must disable the 65381 reset function.
that mean the tps35681 have the reset function,In this situation I can disable the reset function of TPS65381
Hi
I initialize the tps65381 in active ,because I need the rese function ,but I also need the disable the reset function .because my system cannot always reset the cpu.
Hi,
Sorry for the misunderstanding.
I will try to summarize my understanding and feel free to correct me if I am wrong.
Your use case assumes:
Under some scenario you would like to be able to prevent the TPS65381A-Q1 to reset by disabling the watchdog.
If my understanding is correct, then this functionality is not supported in the device. It is assume that if the TMS570 has stopped sending valid watchdog answers then a catastrophic error occurred on the MCU software and the MCU needs to be reset.
In this device, once the device transitions to ACTIVE state it is not possible to reconfigure the watchdog and prevent a reset if WD_RST_EN has been set to 1 in SAFETY_FUNC_CFG Register.
Regards,
Ivan