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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

866件の閲覧回数
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.

0 件の賞賛
0 返答(返信)