From 20954283de25c86ca692edaaa36664ef5f3ca6f8 Mon Sep 17 00:00:00 2001 From: leo Date: Fri, 1 Sep 2023 10:30:21 +0200 Subject: [PATCH] it's only x16 microstepping --- Core/Inc/pse_stepper_planer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/Inc/pse_stepper_planer.h b/Core/Inc/pse_stepper_planer.h index 03df290..6fd2b82 100644 --- a/Core/Inc/pse_stepper_planer.h +++ b/Core/Inc/pse_stepper_planer.h @@ -12,7 +12,7 @@ #define PSE_STEPPER_INTERRUPT_RATE 20000 // 64Mhz (Presc 64, count 50) : 20kHz #define PSE_STEPPER_SCREW_PITCH 1000 // M6 : 1000µm / rotation -#define PSE_STEPPER_STEPS_PER_ROTATION 6400 // NEMA17 200 steps/rotation with 32x microstepping +#define PSE_STEPPER_STEPS_PER_ROTATION 3200 // NEMA17 200 steps/rotation with 16x microstepping void pse_sp_start_axis(pse_stepper_conf* conf); void pse_sp_stop_axis(pse_stepper_conf* conf);