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.

TCAN4551-Q1: TCAN4551

Part Number: TCAN4551-Q1
Other Parts Discussed in Thread: TCAN4550

Tool/software:

Hi All,
Currently I’m working in Quectel “SC668S-EM” Dev-Kit. we’re planning to connect the “TCAN4551” through SPI. For that what and all configuration do i need to configure it in dts and kernel configuration. If anyone knows kindly help me to port it. 

Thanks,
Seyed
  • Hi Seyed,

    There is a driver released in the Linux Kernel called TCAN4x5x. (Link)

    I would recommend the following documents for information on how to configure and use the TCAN4551-Q1 device:

    TCAN4551-Q1 Datasheet (Link)

    TCAN45xx Software User's Guide (Link)

    M_CAN User's Manual (Link)

    Regards,

    Jonathan

  • Hi Jonathan,


    Thanks for your reply.
    Could you help me to port can through SPI I couldn't find tcan4x5x.txt file in below path.
    /Seyed/DashBoardA13/qcm6125_android13.0_r04_r020-SC665S_rl/UM.9.15/kernel/msm-4.14/Documentation/devicetree/bindings/net/can$ ls

    atmel-can.txt fsl-flexcan.txt ifi_canfd.txt microchip,mcp251x.txt rcar_canfd.txt sun4i_can.txt
    cc770.txt grcan.txt k61-can.txt mpc5xxx-mscan.txt rcar_can.txt ti_hecc.txt
    c_can.txt holt_hi311x.txt m_can.txt qti-can.txt sja1000.txt xilinx_can.txt

    Thanks,
    Seyed

  • Hi Seyed,

    I'm sorry but my expertise is with the TCAN4551-Q1 and not with Linux.  I can provide support with the device register configurations or physical properties and schematic or hardware questions.  But I do not know how to support you with your Linux issues. 

    Because this driver is now upstreamed and supported by the Linux community, perhaps there is another Linux forum that could offer you better support with this question. 

    If you have any questions regarding the TCAN4551-Q1 register configuration, I would be happy to help.

    Regards,

    Jonathan

  • Hi Jonathan,

    I need support to integrate the 'TCAN4551' CAN transceiver into Linux kernel version 4.14.190. Currently, the official Linux support for the TCAN4551 starts from version 5.1, so I require assistance in backporting the necessary drivers or functionality to make it compatible with 4.14.190

    Thanks & Regards 

    Seyed

  • Hi Seyed,

    Unfortunately the driver was introduced in kernel version 5.4 and appears to also be supported back to version 5.1.  Backporting to earlier versions would need to be done manually.

    This is a support forum for the TCAN4550 device itself and not a Linux support forum.  The TCAN4x5x Linux driver is essentially a wrapper around the MCAN driver (not developed or maintained by TI) and it is my understanding that the MCAN driver for kernel 4.14 did not support CAN FD.  Most of the rollback effort may actually be with the MCAN driver, but I am not a Linux expert.

    If there are any device specific questions we can help you with, please feel free to ask.

    Regards,

    Jonathan

  • Hi Jonathan,

    Thanks for the reply. Since the TCAN4550 Linux driver is a wrapper around the MCAN driver and the MCAN driver in kernel 4.14 does not support CAN FD, could you advise which forums or resources would be best to seek support for porting the TCAN4551 driver to kernel version 4.14.190? Any guidance or references would be greatly appreciated.

    Thanks & Regards,

    Seyed 

  • Hi Seyed,

    Unfortunately my expertise is not with Linux and is just with the TCAN455x devices.  I just don't have any Linux resources to provide you.  I would suggest trying some online searches to see if you can find some information and forums that may be of help to you.

    If you have any device register configuration questions, please feel free to ask and I would be more than happy to help.

    Best Regards,

    Jonathan