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.

TLIN1431-Q1: Device not going to sleep after pin wake-up

Part Number: TLIN1431-Q1

Tool/software:

The device goes to sleep after a certain timeout caused by lack of LIN communication and is woken up via pin wakeup (falling edge if it matters). Without communication it will go back to sleep. Sometimes (4-10 of these cycles), the device will not switch off VCC. It appears that the device itself is in sleep mode (will react to pin wakeup event and go to sleep normally after the timeout) but the power supply stays on. This does not happen with wake requests sent on the LIN bus. The code to send the device to sleep is the same for both, a simple SPI write. The interrupt line is not pulled low with all the interrupts configured active. What could be causing such a behaviour?

  • Vlad,

    When operating the device, you should keep an eye on the Restart Counter. The restart counter will be incremented each time the TLIN1431-Q1 enters Restart Mode. You can monitor this behavior in register 8'h28 RSRT_CNTR. You want to make sure that 8'h28[3:0] "RSRT_CNTR" is cleared regularly to keep it below 8'h28[7:4] "RSRT_CNTR_SEL" otherwise the device will enter Fail-Safe mode, which might be the cause of the behavior you're seeing.

    Best,

    Danny

  • Thank you, clearing the counter every time the uC comes out of sleep seems to solve the issue. Curious if you know an explanation for why it never happens on LIN wake or sometimes takes more than 4 wake up events.