Hi there,
We are trying to bring up the CAN1 interface on a VF61 V1.2A module.
As for now, we have configured the file arch/arm/boot/dts/vf-colibri-eval-v3.dtsi as suggested:
&can1 {
status = "okay";
};
And as for the Kernel, the CAN modules are OK too:
CONFIG_CAN=m
CONFIG_CAN_RAW=m
CONFIG_CAN_BCM=m
CONFIG_CAN_GW=m
CONFIG_CAN_DEV=m
CONFIG_CAN_CALC_BITTIMING=y
CONFIG_CAN_FLEXCAN=m
In the Linux side, we are loading the CAN modules:
modprobe flexcan
modprobe can
modprobe can_raw
modprobe can_dev
And the CAN1 network interface is set with the command below:
ip link set can0 type can bitrate 500000
ip link set can0 up
But… When I try to send frame through the CAN1, the line is static - nothing is being sent
# cansend can0 -i 0x1ff 0x11 0x22 0x33 0x44 0x55 0x66 0x77 0x88 -v
interface = can0, family = 29, type = 3, proto = 1
id: 511 dlc: 8
0x11 0x22 0x33 0x44 0x55 0x66 0x77 0x88
We are analyzing the CAN interface with logic analyzer and even with oscilloscope.
I checked the pinmux, and the pinout is OK, no conflict (until now…?)
pinctrl_flexcan1: can1grp {
fsl,pins = <
VF610_PAD_PTB16__CAN1_RX 0x31F1
VF610_PAD_PTB17__CAN1_TX 0x31F2
>;
};
Is there something we could be missing?