Tool/software:
I am using the F280025C with the DRV8329A EVM inverter board and working with the Universal Motor Control Lab (DMC Level 4) for Hall sensor feedback.
I need to configure a new motor that is not pre-configured in the Universal Motor Control project. How should I correctly add the motor parameters and adapt the control algorithm for Hall sensor-based FOC?
Additionally, I am facing the following issues:
- The current waveform is not sinusoidal; instead, it resembles a six-step control waveform. According to the user guide, the current should be sinusoidal in FOC mode. How can I resolve this issue?
- The motor does not rotate properly with the electrical angles calculated using
HAL_CAL. What could be the cause of this, and how can I fix it?
Any guidance on correctly configuring Hall sensor-based FOC and debugging these issues would be greatly appreciated.
Thanks!

