BIGTREETECH
18 / 22
4.3 CANBus Configuration
4.3.1 Work with BIGTREETECH U2C
1. Type the following command sudo nano /etc/network/interfaces.d/can0 in the
SSH terminal and execute:
auto can0
iface can0 can static
bitrate 250000
up ifconfig $IFACE txqueuelen 1024
Set the speed for CANBus at 250K(must be the same as the speed set in the
firmware (250000) CAN bus speed), Save(Ctrl + S)after modification and
exit(Ctrl + X), Type sudo rebootto to reboot Raspberry Pi.
2. Every device on CANBus will generate a canbus_uuid based on MCU's UID.
If users want to find the ID for every microcontroller, please make sure the
hardware is powered on and wired correctly, then run the following command:
~/klippy-env/bin/python ~/klipper/scripts/canbus_query.py can0
3. If detected an uninitialized CAN device, the above command will report the
device's canbus_uuid:
Found canbus_uuid=0e0d81e4210c
4. If Klipper operates normally and is connected to the device, then it won’t
report canbus_uuid, which is also normal.