CAN-FD Usage
The AIBOX-9075-KIT provides 2 CAN-FD interfaces (optocoupler isolated) for communication with CAN bus devices.
When wiring, connect CAN_H to CAN_H and CAN_L to CAN_L.
On Ubuntu, run apt update && apt install can-utils first to install the test tools. The communication test commands are as follows:
# Close the can0 device
ip link set can0 down
# Set the bitrate to 250Kbps
ip link set can0 type can bitrate 250000
# Open the can0 device
ip link set can0 up
# Run candump on the receiving end, blocking and waiting for frames
candump can0
# Run cansend on the sending end to send a frame
cansend can0 123#1122334455667788For more details about CAN utilities, see https://manpages.debian.org/testing/can-utils/index.html.