cancel
Showing results for 
Search instead for 
Did you mean: 

How to access STM FOC FW library?

EAbraham
Associate

Hello!

I would like to use the STM32 PMSM FOC firmware library. According to the release note of the SDK (https://www.st.com/content/ccc/resource/technical/document/release_note/b1/3f/4e/1b/cc/7f/45/c1/DM00068242.pdf/files/DM00068242.pdf/jcr:content/translations/en.DM00068242.pdf) the following microcontrollers are supported:

 STM32F030C6/C8/K6/R8
 STM32F051C6/C8/K6/K8/R6/R8
 STM32F072x
 STM32F100, STM32F103
 STM32F2 Series
 STM32F302xB/C, STM32F303xB/C, STM32F302x6/x8
 STM32F405xx, STM32F407xx, STM32F415xx, STM32F417xx, STM32F446xC, STM32F446xE.
 STM32F301C6/C8/K6/K8/R6/R8 

How am I able to access the STM FOC FW library if I have designed a custom motor controller with one of the MCUs that I listed above? I have seen this question asked in previous posts and users are always directed to https://www.st.com/en/embedded-software/stsw-stm32100.html which forces you to use the MotorControl Workbench, but this can only be used with STM development kits and not a custom PCB that you design.

Is someone able to tell me how to access just the firmware library itself without having to use MotorControl Workbench? Thank you so much!!

This discussion is locked. Please start a new topic to ask your question.
1 ACCEPTED SOLUTION

Accepted Solutions
Florian LR
ST Employee

Hi @EAbraham, welcome to the STCommunity !

On the STM32 PMSM FOC Software Development Kit - MC library page that you linked in your post, you can fin under the "tools and software" tab a link to the X-CUBE-MCSDK.

It allows you to install the motor control workbench, but by doing this you also install the firmware that you can find in your installation folder under :

Program Files (x86)\STMicroelectronics\MC_SDK_5.4.8\Middlewares\ST\MotorControl\MCSDK

I hope this will help you.

Best Regards

Florian LR

View solution in original post

1 REPLY 1
Florian LR
ST Employee

Hi @EAbraham, welcome to the STCommunity !

On the STM32 PMSM FOC Software Development Kit - MC library page that you linked in your post, you can fin under the "tools and software" tab a link to the X-CUBE-MCSDK.

It allows you to install the motor control workbench, but by doing this you also install the firmware that you can find in your installation folder under :

Program Files (x86)\STMicroelectronics\MC_SDK_5.4.8\Middlewares\ST\MotorControl\MCSDK

I hope this will help you.

Best Regards

Florian LR