2025-08-05 11:53 PM
Hello,
I am looking for a comprehensive and step-by-step guide that explains the entire process of creating a motor control project using the STM32 Motor Control SDK (MCSDK) — from the initial setup in MC Workbench all the way to the generated code in STM32CubeIDE.
More importantly, I want to understand the structure of the generated project, including:
The purpose of each source file and header file
The main framework/architecture of the generated code
How the different layers (e.g. motor control library, HAL/LL drivers, application logic) interact with each other
I found a document called UM1052, which provides a similar explanation, but it is quite old (last updated in 2016) and refers to much older versions of the tools and libraries.
Is there an updated version of UM1052 or a similar document that reflects the current versions of MCSDK (e.g. v6.4) and STM32CubeIDE?
If so, could you please share the link or name of that document?
I would highly appreciate any official documentation or learning resources that walk through the code structure and explain how to navigate and understand the generated project in STM32CubeIDE.
Thank you!
2025-08-06 12:55 AM
Hello @AmirArsalan10,
Refer to the documentation available through Workbench tool > About > Documentations > Documentation > Home tab and select the Getting Started with ST Motor Control SDK link.
Refer to the other Documentation tabs for a full description of features and firmware.