Hi @Community member and welcome to the ST Community.
Since your question is about STM32 MCSDK, I added the topic "STM32 Motor Control".
The EVSPIN32G4 board is not supported by ST Motor Profiler, but it is supported in the STM32 Motor Control Software Development Kit Rev Y (X-CUBE-MCSDK-Y).
You can create your project to drive a motor with FOC algorithms with STM32 motor control workbench following these steps:
- Open the STM32 motor control workbench
- Click on “New Project�? (top-left corner)
- In the new project windows Select Boards “Inverter�? and choose the EVSPIN32G4 from the dropdown list. In this way, the application automatically loads all the hardware-related parameters for the FOC library.
- From the motor list, one of the pre-configured motors (or a generic starting model can be selected)
- Click OK. A new project is now created according to the starting parameters selected.
A new configuration window appears, allowing the parameters to be set for each blocks.
Clicking on the “Motor�? icon you can select the Magnetic structure: Internal PMSM or Surface Mounted PMSM and all parameters according your motor characteristics.
You can customize your application and save the project by clicking on the save button.
This is the configuration file of parameters used and generate the code by clicking on "Generation" button.
In the generation windows you can set more parameters and after create the custom folder with your library code.
If I answered to your questions please "Select as Best" label.