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: testing of CANFD

Part Number: TCAN4550

Hi I am pooja

I am interfacing CANFD to SPI in IMX6ull Processor

I did IOMUXI ing as given below

&m_can1 {
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_m_can1>;
        status = "enabled";

        can-transceiver {
                max-bitrate = <5000000>;
pinctrl_m_can1: m_can1 {
                        fsl,pins = <
                                MX6UL_PAD_CSI_DATA04__ECSPI1_SCLK   0x01f4/*spi clock signal*/
                                MX6UL_PAD_CSI_DATA05__ECSPI1_SS0    0x01f8/*spi slave select*/
                                MX6UL_PAD_CSI_DATA07__ECSPI1_MISO   0x0200/*spi MISO */
                                MX6UL_PAD_UART2_CTS_B__GPIO1_IO22               0x009c
                                MX6UL_PAD_LCD_DATA22__ECSPI1_MOSI               0x0170
                                MX6UL_PAD_UART2_RTS_B__GPIO1_IO23               0x00a0
                                >;
                };
        };
};

where i am correct?

if correct how to Test the CANFD?

  • Pooja,

    I'm not familiar with the IMX6ull but it looks like your code is assigning the SPI pins and RTS and CTS to GPIO pins. And you're setting the max bit rate to 5Mbps.

    If you visit the TCAN4550-Q1 product page, there is a software user's guide in the technical documents tab, and some starter code on the design and development tab. Both of these will get you started to transmitting CAN and CAN FD messages on the TCAN4550.

    Regards,