Configuring and Testing CAN bus on Linux

Configure CAN interface

ip link  set can0 up type can  bitrate 100000

Test CAN

# on sender side
cansend can0 123#DEADBEEF

# on receiver side
candump can0

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *