STSPIN830 Control with ESP32

Hey everyone,

I’ve been working on a board(X-NUCLEO-IHM16M1) based on STSPIN830 motor driver. Currently, i can control the device in open loop velocity mode but the motor(GBM2804H-100T) draws approximately 0.7A current at no load. I tried to tune PI controller parameters but still nothing changed.Do you have any idea why this is happening?

Hello @cakalinDev

Welcome to the forum.

The whole point of open loop is that the current is not set dynamically by the algorithm but by you. Also the pid tuning has no effect. It may be helpful to read the section on close and open loop on the

Also posting your code as well as details on your setup, pics, videos, will help us help you.