STM32CubeMX (V. 6.3.0.) doesn't create code for PWM output on CH3N of Timer1 or 8
I have a project which uses CH3N of Timer 1 (not CH3) and activated it as PWM. In Cube everything seems to be activated correctly.
When looking on the output signal, nothing is output unless I activate the CH3N output by Keil debugger or via code as follows:
// To activate PWM on CH3N: Set Register: TIM1_CCER Bit CC3NE = 1;
uint32_t tmpccer;
/* Get the TIMx CCER register value */
tmpccer = TIM1->CCER;
tmpccer |= TIM_CCER_CC3NE;
TIM1->CCER = tmpccer;
There is no parameter option to enable CH3N. Only CH3 is available.
BR
GS