BIGTREETECH MMB CAN V1.0 User Manual
14
CAN bus Configuration
Use with BIGTREETECH U2C module.
1. Enter the following command in the SSH terminal:
sudo nano /etc/network/interfaces.d/can0
Add the following content:
allow-hotplug can0
iface can0 can static
bitrate 1000000
up ifconfig $IFACE txqueuelen 1024
Set the CAN bus speed to 1M (must match the firmware setting of
1000000 CAN bus speed). Save (Ctrl + S) and exit (Ctrl + X), then enter
sudo reboot to restart Raspberry Pi.
2. Each device on CAN bus will generate a canbus_uuid according to the
UID of MCU, to find each microcontroller device ID, ensure the hardware
is powered on and connected correctly, then run:
~/klippy-env/bin/python ~/klipper/scripts/canbus_query.py can0
3. If an uninitialized CAN device is detected, the command will report the
canbus_uuid:
Found canbus_uuid=0e0d81e4210c
4. If Klipper is running and connected to the device, the canbus_uuid will not
be reported, which is normal.