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: Register value of MODE_SEL[2:0] in fail-safe mode

Part Number: TCAN1145-Q1

Hi,

1. During fail-safe mode, register value of MODE_SEL[2:0] is kept the value which is set before any fault condition.  Is my understanding correct?

2. During fail-safe mode, users have to re-write current mode value to MODE_SEL[2:0] to move to current mode from fail-safe mode.  Is the understanding correct?

Best Regards, Taki

  • Hi Taki-san,

    1. Yes, the MODE_SEL value will remain the same (previous mode) while the device is in Failsafe mode. This value will change if the device times out into Sleep mode. 

    2. No, the MODE_SEL value does not need to be re-written to exit failsafe mode. The FSM interrupt flag INT_3[5] will indicate when the device has entered Failsafe mode. If this flag is enabled, it should be written to and cleared after the device leaves Failsafe mode. 

    Note that Failsafe mode may also be disabled using FSM_CONFIG[0] if this process is undesirable for the end application. 

    Let me know if you have any more questions. 

    Regards,
    Eric Schott

  • Hi Eric-san,
    Thank you for your reply.  Let me confirm about Q2 in above again.

    The following figure in P.28 of the datasheet shows that a SPI write can change to any state.  Based on this, I understood that users can change any state from Fail-safe mode by writing to MODE_SEL[2:0] within SWE timer period.  For example, if users want to change to normal mode from fail-safe mode to try CAN communication again after that any failure occurs during CAN communication in normal mode, the user have to write "111" to MODE_SEL[2:0] before SWE timer is expired.  Am I right?   

    Best Regards, Taki

  • Taki-san,

    This is correct as long as all faults that forced the device into failsafe mode are cleared.

    Please let us know if you have any other questions.

    Regards,

    Eric Hackett