For anybody stumbling upon the same behaviour:The glitching at 100% duty-cycle is probably due to calculating the duty-cycle to be a % of TIMx->ARR. The calculated value probably is just not the real 100%, but something a bit below. So when setting t...