A possible bug in PWM HAL drivers
Hi,
I just generated two identical PWN pulses using two separated identical timers in the STM32F407 chip. After the MCU resets or a momnet after the MCU startup, both PWM pulses overlap each other as naturally should be (First picture).
But as time passes (few seconds) one of the pulses starts to make phase shift (Second picture). After the MCU reset, both pulses come together and overlap again.
It is weird isn't it?!!!! This could be a bug in the HAL drivers. I have used HAL_TIM_PWM_Start() for the both timers
as I mentioned everything on both timers are identical which also leads to an identical frequency. Therefore the reason of this gradual phase shift must be investigated.


