2019-07-16 1:39 PM
I'm using the NUCLEO-F767ZI board. I can get PWM to work with any timer except TIM9. The debugger shows TIM9's ARR, PSC, CCR having the values i set them to. After the call to HAL_TIM_PWM_Start (&htim9, TIM_CHANNEL_2) is made, the CEN bit in CR1 is set. But the CNT register always shows zero. That means the timer doesn't start counting for some reason. All other timers work just fine. Strange problem! Has anyone seen this?
2019-07-17 12:06 PM
OK so it's a Cube/HAL artefact, not a hardware issue, I see. Thanks for coming back with the explanation.
JW