2021-03-27 01:07 AM
Hi
In my system using STM32F407, there is a period PWM signal output triggered by external comand. However we find that the phase between PWM singal edge and HSE edge is changed cycle by cycle, is F407 capable to config the phase stable?
when received external command we use the following comamnd to enable PWM out.
TIM_ITConfig(TIM2,TIM_IT_Update,ENABLE);
TIM_Cmd(TIM2, ENABLE);
BRs
JH