cancel
Showing results for 
Search instead for 
Did you mean: 

Need a 3rd advanced timer in the STM32 family

rfish.749
Associate II

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.

1 ACCEPTED SOLUTION

Accepted Solutions
rfish.749
Associate II

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)

View solution in original post

2 REPLIES 2
TDK
Guru

This document has a good overview of the various timers across STM32 families:

https://www.st.com/resource/en/application_note/dm00042534-stm32-crossseries-timer-overview-stmicroelectronics.pdf

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.

If you feel a post has answered your question, please click "Accept as Solution".
rfish.749
Associate II

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)