which user AC6 project can be used in combination with STEVAL_IHM042V1?
I would like to use the STEVAL_IHM042V1 to run two motors with hall sensors
Is it: \Web\Project\AC6\STM32F30x_UserProject -> config STM32303C-EVAL_DUALDRIVE?
Motor Control Workbench project used
I tried to generate the MCWB project starting from yours, but looks like the STEVAL-IHM042V1 doesn't support a dual-motor driving where both motors use Hall sensors and 3-shunt sensing.
In fact the Hall3 input of motor 2 is shared with one of the current sensing input:
And Hall1 of motor 1 is shared with voltage sensing.
You should change your target topology if you want to use this board.
In any case, I attach you a WB project highlighting all these problems.
Thanks for your feedback.
Workbench Project has been configured (Power Stage -> Current reading topology -> One Shunt Resistor) as 1 shunt resistor sensing for both motors.
Is 1 shunt resistor sensing for both motors supported in combination with Hall sensors?
I used the project you shared as reference. However, using single shunt topology no conflicts are generated.
Building the FOC lib with the attached setup and using the dual-drive configuration I obtained the attached binary
I had no chance to test it because I have no suitable board.
Thanks for the sources. I have flashed the board with .bin file you provided to me. Unfortunately, no result. I’m not able to connect to the target using the Motor Control Workbench project which was included in your post (message: Connection failed!). I think the target hangs, or is not started properly because of the application / .bin file.
Be aware that the IHM042V1 uses a 303CC MCU which is from a different package than the 303C EVAL board MCU.
Sorry Gerber, but I have more suggestions for you and I have not the board to test it.
Maybe Gigi could help.
Retrieving data ...