Cannot get CC1 on TIM15 to go low using CCMR1 register
Using a Nucleo-F072RB. I am trying to get the output of CC1 to go low after the CPU does something. Everything is working as expected except I cannot get the line to go low. I have tried both variants of the CC1P bit and neither seems to work. I place a breakpoint at the first line where I touch CCMR1 register and single step. I see that the bits are as I believe they should be but for the life of me I cannot force the output line low (line 3 below --- monitoring with scope). Can someone tell me what I am missing?
__HAL_TIM_DISABLE_IT(&htim15, TIM_DIER_CC1IE);
htim15.Instance->CCMR1 = TIM_OCMODE_TIMING;
htim15.Instance->CCMR1 = TIM_OCMODE_FORCED_INACTIVE;
htim15.Instance->CCMR1 = TIM_OCMODE_TIMING;
htim15.Instance->CCMR1 = TIM_OCMODE_ACTIVE;
Thanks
