Testing timer and unable to get the expected output
htim3.Init.Prescaler = 20 - 1;
htim3.Init.CounterMode = TIM_COUNTERMODE_UP;
htim3.Init.Period = 200 - 1;
sConfigOC.OCMode = TIM_OCMODE_TOGGLE;
sConfigOC.Pulse = 0;I am using a NUCLEO-L476 and have a 20MHz clock source. I am using no interrupts and PA6 as the pin to monitor the output....This is all configured in CubeMX...
from above I would expect counter clock = 1MHz, a UIF is generated every 200us (although I have no callback here), but I do not see PA6 toggling....
any help would be great as these parts are a pain to use...
The call I am using is
HAL_TIM_Base_Start(&htim3);The debugger shows the ARR and PSC correct, the CEN is set and the counter is counting....PA6 was configured as AF2 as expected....and yes my scope is on the correct pin.....
