2023-07-12 03:17 AM
Hi there,
I am new to motor control and I am trying to set up my P-Nucleo-IHM03 kit with MC Workbench 6.1.2. I would like to use FreeRTOS in combination with the 6-step algorithm but in the "Application Configuration" under "FreeRTOS" it is stated: "Selected hardware boards do not support this feature".
I was wondering why FreeRTOS is not supported in this case?
With the *same hardware* and the FOC algorithm selected there is no such statement and I am having no issues generating a FreeRTOS project. So for 6-step I would now try to add FreeRTOS in STM32CubeMX, but I would like to know if there is any adamant obstacle that would prevent the combination of 6-step with FreeRTOS either in hardware or the 6-step library?
Thanks
Solved! Go to Solution.
2023-08-22 02:31 AM
hello @bitschubser , Sorry to answer so late, indeed the FreeRtos is not supported by the 6-steps because the algorithm has not been adapted for the activation of the FreeRtos unlike the FOC, it is however possible to activate it on CubeMx but you risk losing the functioning of the motor control, because the synchronization of the tasks will not be done correctly.
You can try to adapt the 6-step algorithm but it's still hard work.
Regards
2023-08-22 02:31 AM
hello @bitschubser , Sorry to answer so late, indeed the FreeRtos is not supported by the 6-steps because the algorithm has not been adapted for the activation of the FreeRtos unlike the FOC, it is however possible to activate it on CubeMx but you risk losing the functioning of the motor control, because the synchronization of the tasks will not be done correctly.
You can try to adapt the 6-step algorithm but it's still hard work.
Regards