2017-11-11 06:07 AM
Hello! I try to use a TIM1 in a PWM bipolar mode (chip is stm32f030f4p6).I use CubeMX . But after compilation of the project the timer doesn`t work. Must I write my own code for start this timer? Thanks a lot for your answer!
#initialization-timer-hal2017-11-11 08:26 AM
Read out relevant GPIO and TIM registers and check if their content is as expected, or if in doubts, post here.
Note that advanced timers needb TIMx_BDTR.MOE to have set.
JW
2017-11-11 10:02 AM
Thanks for help! I added two functions: HAL_TIM_PWM_Start and HAL_TIMEx_PWMN_Start then complementary outputs worked.