
[root@OpenIL:~]# ip link set can0 type can loopback off
[root@OpenIL:~]# ip link set can1 type can loopback off
[root@OpenIL:~]# ip link set can0 type can bitrate 500000
[root@OpenIL:~]# ip link set can1 type can bitrate 500000
[root@OpenIL:~]# ip link set can0 up
[root@OpenIL:~]# ip link set can1 up
[root@OpenIL:~]# candump can0 &
[root@OpenIL:~]# candump can1 &
[root@OpenIL:~]# cansend can0 001#224466
can0 001 [3] 22 44 66
[root@OpenIL:~]# can1 001 [3] 22 44 66
[root@OpenIL:~]# cansend can1 001#224466
can0 001 [3] 22 44 66
can1 001 [3] 22 44 66
[root@OpenIL:~]# cansend can1 001#113355
can0 001 [3] 11 33 55
can1 001 [3] 11 33 55
[root@OpenIL:~]# cansend can0 000#224466
can0 000 [3] 22 44 66
NXP Semiconductors
FlexCAN
Open Industrial User Guide, Rev. 1.8, 05/2020
User's Guide
177 / 199