I am using the STM32F207ZG MCU, and I started a new project in STM32CubeIDE. I wrote the following code, which changes the state of TIM2 PWM output CH1: /* USER CODE BEGIN 2 */
HAL_TIM_PWM_Start(&htim2, TIM_CHANNEL_1);
HAL_TIM_PWM_Start(&htim3,...
Thanks gbm. Your solution worked for me. Specifically, setting the preload enable for ARR fixed the issue. For anyone seeing a similar issue in the future, here's an explanation of why the output for the 32-bit timer was "going to zero": Without the ...