I’m running a Mercury One.1 with RPI4B, Octopus, EBB36, CAN & Tap. I am able to home the printer xyz just fine, but every time I try to do a bed mesh or z-tilt I get the error “MCU ‘EBBCan’ shutdown: Rescheduled timer in the past This generally occurs when the micro-controller has been requested to step at a rate higher than it is capable of obtaining.”
I’ve tried lowering the frame rate of the picam but still get the error every time. All other functions of the printer work fine, just bed mesh and z-tilt cause the issues.
I have confirmed that i’m on the most up to date versions of klipper on all mcu’s as of yesterday, i’ve also confirmed that the printer is able to navigate to the probe locations without causing the error, it only occurs when i run z-tilt or calibrate bed mesh.
Here is my z-tilt config:
[z_tilt]
z_positions: 130,264 #stepper_z lead screw location
2,9 #stepper_z1 lead screw location
256,9 #stepper_z2 lead screw location
Looks like I missed something.
The basic idea is simple: with that Z reduction rate (2 mm rotational distance) and this speed, steppers do too many steps per second.
Toolhead board, on the other hand, tries to follow and query endstop with the same frequency.
So, we want to decrease the Z move speed so the probe will query less frequently.
Unfortunately, I can’t remember where the speed of the Z axis should be limited for probing.
rest_ticks - is how often the endstop should be queried. 64_000_000 / 80 = 800_000 - steps per second
One step for Z axis with your config is: 2 / 200 / 32 = 0.0003125
So, the requested Z speed is set to: 0.0003125 * 800_000 = 250 mm/s
I found it:
[probe]
pin = ^EBBCan:PB6
x_offset = 0
y_offset = 0
z_offset = 0
speed = 250
#speed: 5.0
# Speed (in mm/s) of the Z axis when probing. The default is 5mm/s.
samples = 3