How to generate PWM using STM32 Nucleo L433RC?
I have followed the ST tutorial on how to genterate a 1Hz PWM using timer, but for some reason its not blinking.
I configured:
1)Clock configuration to 8Mhz
2)Set PWM genration channel 3
3)Set prescaler to 127
4)Set ARR to 62499
5)Selected PWM mode 1 and made the pulse value to 31250
6)Finally I set the PINB10 to tim2_ch3 and connected it to an LED in a breadboard
In the main.c I have this HAL function to start the PWM
HAL_TIM_PWM_Start(&htim2,HAL_TIM_ACTIVE_CHANNEL_3 );
Please help ,I have been with this for some time now. But still I am not getting the output.
