Ciao
It is possible to sample the BEMF in two points, one is in the middle of the PWM off time and in this case the zero-crossing threshold is zero (the GND of the inverter). In this way there is no need of having a voltage divider on the BEMF network.
The second point is the middle of the PWM on time. In this case is necessary to enable the voltage divider to bring the neutral point in a range compatible with the ADC input.
The BEMF_GPIO pin can be used for this purpose, to enable or disable the BEMF voltage divider in run time (according to the sampling point of the BEMF).
If the BEMF_GPIO pin is set in output, push pull, with low value, it enables the divider, if it is set as high impedance (for instance in input) it disables the voltage divider.
I’m not aware about any recent documentation on this technique.
Ciao
Gigi
ST Restricted