Communication timeout during homing x or Y

Hi Everyone

hope you can get me pointed in the right direction with this error I’m having.

I’m building a COREXY machine with Rpi + waveshare CANhat, BTT Octopus Pro and a Mellow SHT42 tool head PCB. Both MCUs are connected to the CANhat using CAN. Im getting a random and intermittent error when homing either X or Z.

Communication timeout during homing x is the message I’m seeing in the console. I’m stuck basically is there anything in the logs that would suggest where to look?

I’ve attached a log showing a successful full home and then an unsuccessful attempt at homing X.

Thanks

klippy.log (69.5 KB)
moonraker.log (52.9 KB)

Can anyone offer any help?

A “Communication timeout during homing” error indicates that the micro-controllers were unable to provide status updates every 25ms and the homing was therefore aborted. Looking at your log, there are several cases that show a high round-trip-time (look for srtt in the logs). It’s not clear why there is a high round-trip-time, but make sure your CAN bus speed is 500000 or higher.

-Kevin

Thanks Kevin,

I think ive solved this but I’m not sure what it actually dies…

The waveshare instructions say add dtoverlay=mcp2515-can0,oscillator=12000000,interrupt=25,spimaxfrequency=2000000 to the config.

I found another klipper user that suggested removing spimaxfrequency=2000000. I’ve not had an issue since.

Thanks
Michael

1 Like

Hi please could you help, which config, where and how did you manage to add dtoverlay=mcp2515-can0,oscillator=12000000,interrupt=25,spimaxfrequency=2000000 to the config.
I would like to try this .

Hey Peter,

This is a good instructional video to follow

Klipper Mainsail CAN Setup Guide - Huvud - YouTube