2025-06-18 6:23 AM
Hi ST,
I have generated dual FOC code using micro STM32F415zgtx and MC Workbench 6.4.0. I have to use STM32F767ZI in my application. Is It possible to port this software from STM32F415zgtx to STM32F767ZI and run two BLDC motors with FOC.
Thanks,
Rahul Deshpande
Solved! Go to Solution.
2025-06-20 12:52 AM
Hello @Rahuld,
STM32F767ZI can run dual FOC without any issue.
Porting the code from STM32F415 is possible, but I would advise to start with a single motor project based on STM32F7 and once it runs on your platform to move to dual drive looking how it is done for STM32F4.
It is not straight forward but fully doable for an experimented FW developer.
Best Regards
Cedric
2025-06-19 10:02 PM
Please could you have any Comment on this.
2025-06-20 12:52 AM
Hello @Rahuld,
STM32F767ZI can run dual FOC without any issue.
Porting the code from STM32F415 is possible, but I would advise to start with a single motor project based on STM32F7 and once it runs on your platform to move to dual drive looking how it is done for STM32F4.
It is not straight forward but fully doable for an experimented FW developer.
Best Regards
Cedric
2025-07-01 2:01 AM
Hi @cedric H
During Porting software, in sensor less speed measurement using STO-PLL observer I did not get any idea for the parameters F1, F2, gain1 and gain2 parameters from user manual (STM32 motor control SDK user manual) and software code too. could you help me to understand how these parameters are computed by workbench by using motor parameters. this will help me lot.
Thanks,
Rahul D.
2025-07-02 11:29 PM
Hi @cedric H and ST MC Team,
I have ported software of dual FOC from STM32F415zgtx to STM32F767ZI using workbench 6.4.0 and also able to drive two motors. But if I need to use sensor less speed measurement it is required for me to understand these parameters. could you please help me to understand the parameters F1, F2, Gain1, Gain2 and hf3(C6_COMP_CONST1 and C6_COMP_CONST2). I am able to find the values of gain1 and gain2 but for that sometimes I need to do addition or subtraction in the formulas of K1 and K2. Not getting any idea when to add and when to subtract.
Please comment on this.
Thanks,
Rahul D.