cancel
Showing results for 
Search instead for 
Did you mean: 

Half bridge, complementary outputs and dead-time insertion

Miha
Associate II

I want to drive havfbridge with STM32G474. I am going to use TIMx with channel1 and channel2 to create two PWM signals, that are 180° out of phase and with the same PWM % that is limited to 0% < PWM % < 49%. Because tohose signals have max 50% duty cycle and are 180° out of phase, they cant be bot high at once. 
I already have code with multiple  __HAL_TIM_SET_COMPARE calls, but i heard about Complementary outputs.
I dont find settings for this in my Cube MX , can anyone help? Does STM32G474 have that or only STM32F series?

Here are manuals:
https://www.st.com/resource/en/reference_manual/rm0440-stm32g4-series-advanced-armbased-32bit-mcus-stmicroelectronics.pdf

And pages:
28.3.17 for timers TIM1, TIM8 and TIM20
and
30.4.14 for timers TIM15, TIM16 and TIM17

0 REPLIES 0