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.

Linux/AM3359: Not able to receive CAN data

Part Number: AM3359
Other Parts Discussed in Thread: ISO1050

Tool/software: Linux

Hello Experts,

For CAN interface validation, I am using two beagleboneblack (BBB) boards and using the latest processor SDK.

I have connected CAN_H(BBB1) to CAN_H(BBB2) and CAN_L(BBB1) to CAN_L(BBB2)

1) Here is my dts change.

&dcan0 {
pinctrl-names = "default";
pinctrl-0 = <&dcan0_pins>;
status = "okay";
};

dcan0_pins: pinmux_dcan0_pins {
pinctrl-single,pins = <
0x17c ( 0x32 ) //(D17) uart1_rtsn.dcan0_rx
0x178 ( 0x12 ) /* (D18) uart1_ctsn.dcan0_tx */
>;
};

// 0x178 ( PIN_OUTPUT | MUX_MODE2 ) // (D18) uart1_ctsn.dcan0_tx
// 0x17c ( PIN_INPUT | MUX_MODE2 ) //(D17) uart1_rtsn.dcan0_rx

I am getting nothing while doing candump.

2) Also I suspect on CAN connections.

http://processors.wiki.ti.com/index.php/AM335X_DCAN_Driver_Guide#Connection_details

http://processors.wiki.ti.com/index.php/Linux_Core_DCAN_User&#39;s_Guide#Hardware.2FSoftware_Changes_to_Enable_CAN_Support

http://software-dl.ti.com/processor-sdk-linux/esd/docs/latest/linux/Foundational_Components.html#dcan

One wiki says that we should connect CAN_H to CAN_H and CAN_L to CAN_L, but another wiki says, CAN_L to CAN_L and CAN_H to GND.

Which is correct and any special purpose for these connections /
Thanks for the help.