cancel
Showing results for 
Search instead for 
Did you mean: 

Hall Sensor Interface on a General timer

BoboyeOkeya
Associate III

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?

2 REPLIES 2
KnarfB
Principal III

A terse description is in the G4 series reference manual RM0440.

hth

KnarfB

cedric H
ST Employee

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