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.

TCAN1145-Q1: Falls to sleep mode

Part Number: TCAN1145-Q1

Hi, 

 We are using TCAN1145 in our design during initialization we are configuring device into Normal mode by writing 0x27 to MODE_CNTRL and other configurations are default. 

And with this CAN communication is working fine. If the system is in ideal for 5 min with out any SPI activity device go to sleep mode we need to reset the device to bring back to working condition. 

How to keep the device in Normal mode always. Any other configuration we need to do for this?

Regards, 

Manoj 

  • Manoj,

    In order to stay in Normal mode, you'd either need to keep CAN communication going, or you'd need to maintain the device in Normal mode by dealing with the proper registers. The device will leave Normal mode and enter sleep mode in the event that the SWE timer expires; see Section 10.4.1 Normal Mode for more information on this.

    While there are a few options on how to change this behavior, the device will always need some sort of intervention in order to stay in Normal mode. For example, adjusting the CANSLNT_SWE_DIS bit can change when the SWE timer resets, but it will still eventually run out.

    To stay in Normal mode, one simple way would be for the MCU to set CANSLNT_SWE_DIS = 0b, and then to occasionally reset the CANSLNT interrupt to reset the timer.

    Best,

    Danny