Assymetric Timer output [STM32G031]
Hi,
I am playing around with Timers on Nucleo-G031 at 64MHz clocked from HSI and PLL.
I use TIM1 with AutoReload of 6 and Capture/Compare Value of 3 to create an 9.17MHz 50% duty-cycle signal.
The signals turns out to have 46.4ns high-pulse and 62.8ns low-pulse, which is quite assymetric
Any ideas where this comes from, and what to do as a remedy?
Can this be caused by using internal resonator? Or to ask the other way round: will an external crystal yield better results?