2025-08-27 2:24 AM
Hello.
I am trying to develop a BLDC motor driver. With Workbench, I can easily change the motor parameter. But whenever I change the motor, I should reconfigure and re-compile. So I would like to make a FW can change motor parameter dynamically. Is it possible with MCSDK?
Thank you in advance.
Solved! Go to Solution.
2025-09-01 9:32 AM
Hello @DonCC007,
It is not possible with the current Motor Control Software Development Kit (MCSDK) implementation.
You can save a binary project for each motor and load it using the STM32CubeProgrammer tool.
2025-09-01 9:32 AM
Hello @DonCC007,
It is not possible with the current Motor Control Software Development Kit (MCSDK) implementation.
You can save a binary project for each motor and load it using the STM32CubeProgrammer tool.
2025-10-16 6:35 AM - edited 2025-10-16 6:36 AM
But this may be really important in dual motor Projects.
For example if you have four different motors, each can be connected to any of the two Ports, you need to manage 16 different Firmware Versions....
This can easily happen if you initially need two different motors, and there is need for changes over time (motor discontinued, long delivery times, changing customs regulations etc.) and you still need to support existing systems using older motors with up to date firmware.
I am looking forward for a dynamic solution.
Maybe there can be a set of motor driver functions with hard coded parameters within the binary.
By a function pointers the drivers can be selected at runtime without recompiling (of course motor must be stopped before changing drivers, and the overall hardware setup must stay the same).
