Some additional information:
I have everything setup using a USB to CANbus bridge, so the Pi 4 is connected to the SKR via USB, and the EBB36 is connected to the SKR 3’s CAN FD pins.
The error is always Lost communication with MCU 'mcu'
, so the issue has to be between the Pi 4 and the SKR 3, correct? Otherwise, I would think it would output Lost communication with MCU 'mcu EBBCan'
.
I ran sudo dmesg
and the only thing that seemed relevant was the following, which repeats multiple times:
Dec 3 23:57:23 mainsailos kernel: [14259.518702] usb 1-1.2: USB disconnect, device number 11
Dec 3 23:57:23 mainsailos kernel: [14259.519228] gs_usb 1-1.2:1.0 can0: Couldn't shutdown device (err=-19)
Dec 3 23:57:24 mainsailos kernel: [14259.765049] usb 1-1.2: new full-speed USB device number 12 using xhci_hcd
Dec 3 23:57:24 mainsailos kernel: [14259.876533] usb 1-1.2: New USB device found, idVendor=1d50, idProduct=606f, bcdDevice= 0.00
Dec 3 23:57:24 mainsailos kernel: [14259.876547] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Dec 3 23:57:24 mainsailos kernel: [14259.876552] usb 1-1.2: Product: stm32h723xx
Dec 3 23:57:24 mainsailos kernel: [14259.876557] usb 1-1.2: Manufacturer: Klipper
Dec 3 23:57:24 mainsailos kernel: [14259.876562] usb 1-1.2: SerialNumber: 36000A000951313332353636
Dec 3 23:57:24 mainsailos kernel: [14259.887285] gs_usb 1-1.2:1.0: Configuring for 1 interfaces
Dec 3 23:57:24 mainsailos kernel: [14260.041172] IPv6: ADDRCONF(NETDEV_CHANGE): can0: link becomes ready
I’ve read that if your USB cable is near a power cable or stepper motor, it could cause interference, which in turn could cause the loss in communication. I’ve made sure to run my USB cable way from any of these sources of interference, and I’m still getting the error.
The funny thing is that based on my Benchy graveyard, you can see that the loss in communication happens around the same time in the print, but not at the exact same time.
This is driving me nuts. I wish I could connect the Pi 4 to the SKR 3 via UART, however, then I wouldn’t be able to use the onboard CAN as I do not believe UART to CANbus bridge is an option at this time.