2026-01-02 2:41 AM
Hi, I'm a circuit engineer in korea.
I want to make really small BLDC FOC controller with STM32G491KE, because It has the smallest pin counts compare to other G491 family.
For FOC Control, I have to use three TIM channel. For use external ociliator, I have to use TIM1_CH1_CH1N, TIM_CH2_CH2N, TIM8_CH1_CH1N
If I use TIM channel with that combination, Will FOC controller work well? Is there any differences with TIM1 and TIM8?
I want to use 491KE Series for smallest FOC Controller.
Thank you.
Solved! Go to Solution.
2026-01-05 7:18 AM
Hello @yeseung,
A single timer must be used to control the motor.
As mentioned by @STuser2, use the MCSDK board designer tool for board design.
Also generate and compile a project to check the MCSDK compatibility.
2026-01-02 6:05 AM
@yeseung wrote:For FOC Control, I have to use three TIM channel. For use external ociliator, I have to use TIM1_CH1_CH1N, TIM_CH2_CH2N, TIM8_CH1_CH1N
Please use the MCSDK board designer to check the feasibility of the controller and for code generation, i think it is possible but one confusion i have is you mentioned CH1 two times i hope you mean CH1, CH2, CH3.
2026-01-02 7:53 AM
You're right to understand.
In STM32G491KE, TIM1_CH3N pin is same as RCC_OSC_OUT, So If I use external Oscillator, I have to use other Channel like TIM8_CH1_CH1N.
Do I use same TIM number like TIM1_CH1_CH1N, TIM1_CH2_CH2N, TIM1_CH3_CH3N? Isn't it working well if I use other TIM number?
Sorry for my short English.
2026-01-02 8:32 AM
As I told use MCSDK board designer tool.
2026-01-05 7:18 AM
Hello @yeseung,
A single timer must be used to control the motor.
As mentioned by @STuser2, use the MCSDK board designer tool for board design.
Also generate and compile a project to check the MCSDK compatibility.