cancel
Showing results for 
Search instead for 
Did you mean: 

For STEVAL SPIN3204 which API is used to check speed of motor

YBhat.4
Associate II

In STM Cube IDE which HAL library is used to find speed of the motor.

Kindly suggest.

1 REPLY 1
Gael A
ST Employee

Hello YBhat.4,

First of all, we would like to apologize for the delay in replying to your post.

If your point is still relevant : there is no API in HAL library that returns the speed of the motor. However, such function can be found in our dedicated Motor Control API. (mc_api.c)
Be aware that the STEVAL SPIN3204 is currently not supported by our MCSDK, thus you will need to work from the code for SPIN3201 (or SPIN3201) or use the board manager to describe the SPIN3204.

If you agree with my answer, please consider accepting it by clicking on 'Accept as solution'.

Hope this will help,
Gaël A.