Esphome with dm556

Hi,

I’m trying to use ESPHome to control two NEMA23 stepper motors and have decided to use the DM556 drivers. As far as I understand, the A4988 stepper component in ESPHome can be used with these drivers.

My problem is that the motors do not run smoothly, and I would like to achieve speeds higher than 0.5 revolutions per second. I tried using the LEDC component with a 25 kHz frequency and a 50% duty cycle, and the motors ran perfectly.

Is there a way to configure the Stepper component to output higher frequencies reliably and smoothly?

Thank you very much.

anyone any luck here?