When TJA1043 with iMX6UL the kernel complains 'STF_ERR' and 'FRM_ERR'

取消
显示结果 
搜索替代 
您的意思是: 

When TJA1043 with iMX6UL the kernel complains 'STF_ERR' and 'FRM_ERR'

399 次查看
adamhuang
Contributor III

After the dts modified as below, the kernel can list the flexcan interface by ifconfig and iproute2, and the loopback test is Okay.
pinctrl_flexcan2: flexcan2grp{
fsl,pins = <
MX6UL_PAD_UART2_RTS_B__FLEXCAN2_RX 0x1b020
MX6UL_PAD_UART2_CTS_B__FLEXCAN2_TX 0x1b020
>;
};

However, it complains 'STF_ERR' when using cansend (one of canutils) to send a message, and complains 'FRM_ERR' when using candump (one of canutils) to receive messages from Host PC via USB-to-CAN adapter.

Circuit connection shown as below:
CAN_tja1043_connection.png

To simplify the circuit, the STB_N and EN is connected to V3.3 directly. The STF_ERR and FRM_ERR info is obtained by `dmesg | grep can` command. See the macro in flexcan.c and the definition in Reference Manual, STF is abbr to Stuffing, FRM is abbr to Frame. 

How to get rid of these info? Any comment and suggestion are appreciated.

标记 (4)
0 项奖励
0 回复数