2021-11-02 07:05 AM
Hi All,
Can anyone point me to a material to use in configuring a general timer on stm32 to interface with the 3 hall sensors from a bldc motor and How to estimate the speed from it?
2021-11-03 10:33 AM
A terse description is in the G4 series reference manual RM0440.
hth
KnarfB
2021-11-12 07:50 AM
Hello @BoboyeOkeya ,
This is something we do in the X-CUBE-MCSDK available here : https://www.st.com/en/embedded-software/x-cube-mcsdk.html
I would advise you to generate a project with Hall sensor enabled. You will have access to the generated code and be able to look at the timer configuration and see how we build the software algorithm to access to the angle and the speed.
Regards
Cedric