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: TCAN1146-Q1 goes into sleep mode after a period of no activity

Part Number: TCAN1146-Q1


On our iMX8MP based board our TCAN1146-Q1 goes into sleep mode after a period of no activity. I cannot find any reference to this in the data-sheet. Can I set the registers to prevent this or is this a sign of power loss or similar?

  • Hi Mattias,

    The TCAN1146 has an inactivity timer called the Sleep Wake Error (SWE] timer. This is a ~4 minute timer that is designed to place the transceiver into its lowest power state when it perceives a sleep-wake error has occurred. 

    This timer will start when the device enters Standby mode from a POR and must be cleared within tINACTIVE (~4 minutes) or the device will automatically enter Sleep mode. In order to stop this timer after initial power on, the processor must clear the PWRON flag or configure the transceiver to Normal or Silent mode.

    See datasheet section 10.4.6.1 for more information on this feature.

    Let me know if you have any more questions. 

    Regards, 
    Eric Schott 

  • Hi!

    i an configuring the transceiver to normal mode and am receiving CAN frames in the flexcan controller. After the traffic stops however,it takes about  250 seconds until the transceiver goes into sleep mode.so there must be some error then?

  • Hi Mattias,

    Yes, this is the same SWE timer mechanism. The timer starts in normal mode after tSILENCE of inactivity on the CAN bus. The CANSLNT interrupt flag will need to be cleared in order to stop the tSILENCE timer from expiring. By default (CANSLNT_SWE_DIS = 1) CAN bus activity will automatically reset the SWE timer.

    The SWE timer can be disabled using the SWE_DIS configuration register field. This will prevent the transceiver from starting the timer from a CANSLNT event. Note that this does not disable the function for initial power on or in case of a power on reset, so this will need to be reconfigured after any POR. 

    Regards, 
    Eric Schott