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.

TCAN1146-Q1: how to activate watchdog

Part Number: TCAN1146-Q1

Hi TI support,

  i want to avitve the Watchdog of TCAN1146, here is the flowchat of cofig the register

1.set   WD_CONFIG_1 Register (Address = 13h)  value to 0x00 to disable watchdog

2.set   WD_CONFIG_1 Register (Address = 13h)  value to 0x70 , Watchdog configuration = Timeout mode,Watchdog prescaler = Factor 4 ,Immediate trigger on each WD event, Turns off INH for 300 ms and sets WD interrupt

3.set  WD_CONFIG_2 Register (Address = 14h)   value to 0xA0,

4.set  DEVICE_CONFIG1 Register (Address = 1Ah)   value to 0x14

5. set DEVICE_CONFIG2 Register (Address = 1Bh)   value to 0x02

6. set  WD_INPUT_TRIG Register (Address = 15h)    value to 0xFF to trigger WD.

the WD does work., is anything I missed?

  • Hi Free Chen,

    Thanks for bringing your question to E2E. 

    This sequence looks correct to configure the timeout watchdog (step 2-3) and start the timer (step 6). After this I expect that the watchdog will be running in timeout mode as you describe. If the watchdog trigger is not set within around 8 seconds, the INH pin will pulse low for 300ms and the WD interrupt will be set in the INT_1 register. Is this the behavior you are observing in your testing? 

    I did notice some odd settings unrelated to the watchdog that I've mentioned below. 

    4.set  DEVICE_CONFIG1 Register (Address = 1Ah)   value to 0x14

    Limp configurations were modified but the LIMP pin is not set into LIMP mode. Bit 5 must be set to select the LIMP function for the INH pin, otherwise the state of LIMP_DIS and LIMP_RESET will have no impact on device behavior.

    Let me know if you have any more questions. 

    Regards, 
    Eric Schott

  • Hi Eric

    thanks for you reply, i have resolve this issue.the root cause is the hardware design in my case.the behavior of INH pin pulse low for 300ms after 8 seconds was correct in my side.