Hello again,
I think you came across an issue in the MCSDK 4.8 which I have not qualified yet. It is going to take some time to identify the issue. I'm sorry.
However, I may have alternatives for you. If you are not stuck into using MCSDK 5.4.8, maybe can you switch to using MCSDK 5.Y.4 or even MCSDK 6.0.0, both of which are available for free from st.com (https://www.st.com/en/embedded-software/x-cube-mcsdk.html).
Trying with MCSDK 5.Y.4 will provide you with an experience close to 5.4.8 in terms of tooling with the Workbench. With this version, you have two examples that target 6-Step motor drive with the STEVAL3204 inverter board:
- Six-Step Sensorless and Voltage Mode on a STEVAL-SPIN3204+Shinano LA052-080
- Six-Step Hall Sensor and Voltage Mode on a STEVAL-SPIN3204+Shinano LA052-080
Both are similar except that one is sensorless (the first one) while the other one relies on Hall sensors for speed and position sensing. I checked the first one which built well in the configuration that you described: STM32CubeMx 6.6.1, the (currently) latest FW version 1.11.3. My assumption is also that you use the latest STM32CubeIDE version (1.10.1).
Please, feel free to tell me if this configuration suits your needs at the moment. Note that the one you tried from MCSDK 5.4.8 is very similar to that one.
Another option for you would be to try MCSDK 6.0.0 in which Six Step is no longer provided as a set of examples but rather as a first class citizen into the MCSDK that you can configure more to your needs (especially in terms of motor parameters). The workbench interface has been fully reworked and it is the path MCSDK is taking for future releases.
Now, the way you open the project in STM32CubeIDE is not what I would advise, but the thing is that with 5.4.8, it seems that the project is incorrectly produced.
With 5.Y.4, you would open STM32CubeIDE and go to "File" --> "Open project from file system".
Then, you would navigate to the folder where the project has been generated and use it as the base folder for the project.
STM32CubeIDE will prompt you with two possible project. The one to choose is the the one that mentions `STM32CubeIDE` in its name. For some reason, 5.4.8 does not generate such a possibility. This is part of the issue you unveiled (thanks to you).
Then, you should have a working (at least a building) project.
Please, let me know how this is going on for your project. Whether the proposal I suits you or not, I would be very glad to know. Anyway, we'll work on the issue with MCSDK 5.4.8, but I cannot set any date for a version fixing it...
Best Regards,
Fred