Skip to main content
wJang.1
Associate II
March 11, 2021
Question

How to configure triple FOC for motor control using MCSDK.

Hello.

Please give me some advice.

I want to configure IAR project for triple motor control(gimbal) using ST MCSDK.

I have made IAR project for one motor position control using ST MCSDK( STM32F303RE + STSPIN233 + GBM2804-100h + AS5048A pwm encoder) and it works well.

I want to expand from one to three.

So what I thought was as follows.

For FOC motor control of MCSDK, advanced timer is required. the STM32F303RE has two advanced timer(TIM1, TIM8). So if MCU is changed with STM32F303ZE(144 pin), 3 advanced timer(TIM1, TIM8, TIM20) are available.

But it seems that ST MC SDK does not support triple FOC. It seems that only dual FOC is supported.

So, after configure dual FOC motor control IAR project, I'm going to edit MCSDK middleware for 3rd motor. Is this possible? It seems difficult to modify it. Is there any way to solve this problem effectively?

Thanks.

This topic has been closed for replies.

6 replies

Cristiana SCARAMEL
ST Employee
March 11, 2021

Hello @wJang.1 and welcome to the ST Community.​

since your question is about STM32 MCSDK, I moved your thread  from the topic PMMC to "STM32 Motor Control".

"If you feel a post has answered your question, please click ""Accept as Solution"""
wJang.1
wJang.1Author
Associate II
March 11, 2021

Thank you

Laurent Ca...
Senior III
May 28, 2021

The question has moved from the "Motor Control Hardware" section to the "STM32 Motor Control" section (the question is about the STM32 SDK). 

Best regards

Laurent Ca...