Hello
I have downloaded the code and run it. But it only works on sensorless mode. If I switch to Hall Sensor Mode, the Motor is not running, it immediately gets into Fault state.
To switch to Hall sensor Mode, I suppose I just need to set the Macro "HALL_SENSOR" to 1, as in the attached picture. This macro is defined in "motor_structure.h" file. I could not also find where the FTM XORing of Hall Sensor Signal takes place. So could you please let me know:
1. How to properly switch to Hall Sensor Mode and get the Hall Sector using the code provided by you.
2. Where can I find the FTM XORing of Hall Sensor Signals.
Thank you
