how to only output stm32 pwm CH1N and disable CH1, in "pwm generation CH1 CH1N" mode
the below code is not working for me
//HAL_TIM_PWM_Start(&htim15,TIM_CHANNEL_1);
HAL_TIMEx_PWMN_Start(&htim15,TIM_CHANNEL_1);
the below code is not working for me
//HAL_TIM_PWM_Start(&htim15,TIM_CHANNEL_1);
HAL_TIMEx_PWMN_Start(&htim15,TIM_CHANNEL_1);
CH1N is controlled by the same channel as CH1, except that CH1N is inverted (we will leave out details such as the dead time required for half bridges for this consideration). If you want to control two DC motors separately, you also need two separate PWM channels, consequently 9 PWM channels for 9 DC motors.
Since we don't know yet which STM32 you want to use, we can't give a hint yet.
Regards
/Peter
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.