Klipper3d / klipper

Klipper is a 3d-printer firmware
GNU General Public License v3.0
9.55k stars 5.33k forks source link

manual_stepper and sensorless homing #3361

Closed DigDagGoo closed 4 years ago

DigDagGoo commented 4 years ago

Hello everybody,

my sensorless homing don't work for my ToolGrabber Stepper. On the X Axis sensorless homing works perfect. It looks like a problem that only affects sensorless homing with "manual_stepper"

MANUAL_STEPPER STEPPER=ToolGrabber MOVE=360 STOP_ON_ENDSTOP=1 SPEED=100 ACCEL=400 => "Failed to home manual_stepper ToolGrabber: Timeout during homing"

with my Osciloscope on diag1 on the BTT tmc5160 driverboard i can see a very good signal (active low) => driver_sgt = 4 looks like a good value. it seems that is the virtual switch will not be not fired

myconfig:

[tmc5160 manual_stepper ToolGrabber] driver_sgt = 4 ( this is a good value, see a good signal with my oscilloscope on diag1) diag1_pin = ^!PG14 ...

[manual_stepper ToolGrabber] endstop_pin = tmc5160_ToolGrabber:virtual_endstop ...

Ideas? Philipp

klippy.log

DigDagGoo commented 4 years ago

I checked all pins several times yesterday. And again this morning - but with a different result .... maybe I was too tired last night. With the correct pin assignment it works ... (PG9 instead of PG14)

i was so stupid