bigtreetech / BIGTREETECH-Stepper-Motor-Driver

134 stars 55 forks source link

Motor does not move with S42B V1.1 #17

Open junonara opened 2 years ago

junonara commented 2 years ago

When I run the S42B v1.1 using my Ender-3 Pro and SKR 2.0 board, the X/Y Step motor works normally. However, when I connect the S42B V1.1 to the FYSETC Spider V2.2 board, the step motor does not move.

Since SKR 2.0 board and Spider 2.2 board use similar STM32F4X series, signal timing is expected to be the same. And according to the manual of S42B, I modified Configuration_adv.h and Configuration.h as follows.

define MINIMUM_STEPPER_POST_DIR_DELAY 200

define MINIMUM_STEPPER_PULSE 3

define MAXIMUM_STEPPER_RATE 150000

define X_DRIVER_TYPE A4988

define Y_DRIVER_TYPE A4988

When using the same configuration, the motor moves on the SKR 2.0 board and does not move on the Spider 2.2 board. In the above configuration, the timing related values ​​have been changed variously, but the issues are the same. Does S42B work normally only with Bigtreetech's board?

And after booting the Spider 2.2 board connected to S42B v1.1 board, when I measure the motor enable/step pin, it is measured as 1.4V/1.2V. However, SKR 2.0 boards measure below 0.4V. If I enable/disable the motor using M17/M18 in Gcode, it is measured as 1.4V/3.3V, so there seems to be a problem with the voltage level. Also, if I remove the 6-pin cable from the Spider 2.2 board to S42B, it will come out below 0.4V.

The S42B is discontinued, so I think I should only use the S42C these days, but I would like to know if this issue also occurs in the S42C.