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.

TCAN4550: TCAN4550 : Setting the operation states [ normal/sleep ] mode

Part Number: TCAN4550

Hi,  

We are using TCAN4550 module in i.MX8M Mini processor-based hardware with modified tcan4x5x driver of kernel 5.4.70. 

1. I need to set the TCAN4550 module to sleep mode when not in operation and set to normal mode during send/receive operation. Is it possible to achieve this in the driver, if so could you tell me the sequence and which register has to set.

2. Whether it is possible to make CAN as wakeup resource. Set the entire system/hardware in sleep state and with CAN interrupt the system/hardware wake up.

Regards,

Deeksha

  • Hi Deeksha,

    The MODE_SEL field of the Modes of Operation Register (h0800[7:6]) can be used to control the TCAN4550's mode.Writing 0b10 to this field places the device in Normal mode, and 0b00 will place it in Sleep mode. 

    Wake via CAN is supported by this device, and TCAN4550 will automatically move into Standby mode (0b01 in MODE_SEL) when it receives a wake up pattern (WUP) on the CAN bus while in Sleep mode. This is the default behavior of the device in Sleep mode, so no further configuration will be necessary. The processor should write to the MODE_SEL mode to move the TCAN4450 from Standby to Normal mode before attempting to interface with the CAN bus. 

    Note that the Linux drivers for this device are supported by a public community, so TI cannot provide direct support for software development of these drivers. If you have any device-specific questions, we are happy to address them here. 

    Let me know if you have any more questions.

    Regards,
    Eric Schott