2020-01-13 09:25 AM
2020-01-13 11:55 PM
> timer global interrupt
You mean the Update interrupt, as enabled by TIMx_DIER.UIE ?
One edge of the output waveform occurs exactly at the same moment when the Update interrupt is triggered, i.e. when TIMx_CNT rolls over from the value set in TIMx_ARR to 0. However, interrupts are handled by software, and it takes time to execute that software, especially if it's a relatively complex handler as the Cube handlers are.
JW