2021-12-02 04:51 PM
i would like to run 3 BLDC motors out of the STM32. Are only TIM1 and TIM8 the only advanced timers available? is there any part that has 3? We use the comp output 3-phase PWMs with success driving 1 or 2 motors, but now we need to drive 3 and don't want to use 2 controllers.
Solved! Go to Solution.
2021-12-03 07:43 AM
Thanks! you need to use the 100pin or larger G4 package to get TIM20 in complementary PWM mode. The smaller packages have TIM20, but not in that mode (which threw me off)
2021-12-02 05:41 PM
This document has a good overview of the various timers across STM32 families:
TIM20 is available as an advanced timer on some STM32F3 and STM32G4 chips. For example STM32G4A1xE.
The STM32H7 has an HRTIM which can do (almost?) everything an advanced timer can do, although it's a different interface.
2021-12-03 07:43 AM
Thanks! you need to use the 100pin or larger G4 package to get TIM20 in complementary PWM mode. The smaller packages have TIM20, but not in that mode (which threw me off)