cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with TIM9 on NUCLEO-F767ZI board.

BVu
Associate III

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?

10 REPLIES 10

OK so it's a Cube/HAL artefact, not a hardware issue, I see. Thanks for coming back with the explanation.

JW