Skip to main content
peterdonchev
Senior
Sep 8, 2017 7:04 PM UTC
Question

ST Motor Control Library ADC selection and FOC frequency

Posted on September 08, 2017 at 21:04

Hi,

I'm building dual bldc motor driving board, using the ST Motor control library. MCU is STM32F303VC. According the motor control workbench, I can select ADC3/4 plus TIM1 for motor 1 and ADC1/2 plus TIM8 for motor 2. But it appears that it's hard coded  in the library ver 4.3 (function R3_4_F30X_Init) ADC1/2 always to be used with motor 1. I reversed the code and finally my board can run a bldc motor. Should I change any other function?

My second question is about maximum

achievable dual FOC frequency with STM32F303 at 72MHz?

Maximum for me is 20KHz PWM with torque/flux execution on every second PWM period, using CCMRAM (motors with hall sensors).

#motor-control-foc-library
This topic has been closed for replies.

1 reply

Laurent Ca...
Senior III
Jun 28, 2021 1:33 AM UTC

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

Best regards