Using a BOOSTXL-DRV8323RS with a NUCLEO-F303RE+MCWorkbench
I have been trying to drive a 24V motor with sensorless FOC by using a NUCLEO-F303RE (as the MCU) and the BOOSTXL-DRV8323RS (as the gate driver with MOSFETs on board). For doing that, I'm trying to use ST's MC Workbench to generate code for the NUCLEO.
I have tried many different parameters on the Workbench, specially for the start-up parameters, however, after programming the NUCLEO with the generated code, I'm always getting a Undervoltage Fault when I click on "Start Motor" and the motor just gives me a quick small rotation. What happens is that the motor draws a huge current which is then limited by the power supply which lowers its voltage (to maintain the current lower than the limit). The current limit is at around 5-10A which should be enough. I have tried increase the limit, and although the motor rotated more than usual, it quickly started to smell like burning.
Additionally, I'm using all the default values of the DRV8323RS registers.
I have attached some parameters of my MC Workbench. And the project file.
Please let me know any supportive information I can get you to help solve this problem!
Update: Solved! The driver uses an inverting gain, but I was setting a non-inverting gain on ST Workbench.
