Enabling CAN communication on imx6q Custom board

cancel
Showing results for 
Search instead for 
Did you mean: 

Enabling CAN communication on imx6q Custom board

317 Views
Babu
Contributor I

Hi,

we are trying to enable CAN communication on custom board based on imx6 (Android 6.0.1). Not able to see the any signals at imx6 (CAN Tx) while sending data using cansend utility.

below are the hardware interface details.

Can Tranceiver: TJA1040T

Tranceiver TX Connected to GPIO_7 of imx6

Tranceiver RX Connected to GPIO_8 of imx6

Tranceiver STB Connected to EIM_A17 of imx6

dts configuration:

pinctrl_flexcan1: flexcan1grp-1 {

          fsl,pins = <

                         MX6QDL_PAD_GPIO_7__FLEXCAN1_TX   0x1b0b0

                         MX6QDL_PAD_GPIO_8__FLEXCAN1_RX   0x1b0b0

                         >;

};

imx6qdl-sabresd {

            pinctrl_hog: hoggrp {

                       fsl,pins = <

                                  MX6QDL_PAD_EIM_A17__GPIO2_IO21   0x130b0

>;

};

Please suggest us what could be the issue.

Thank You

Babu A

Labels (2)
0 Kudos
1 Reply

91 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi Babu

please try it first with linux, use for example imx-test (..test/can)

loopback test

http://support.garz-fricke.com/mirror/imx-test-5.4.1.tar.gz 

verify configs with attached Linux Manual Chapter 39
Media Local Bus Driver.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos