TIM2_CH2 PWM not work
hello,st friends.
My board use TIM2_CH1 pwm to drive a led.


dts configure as:


but the led can not light on.use these command

byw: I use gpio test led hardware is ok
hello,st friends.
My board use TIM2_CH1 pwm to drive a led.


dts configure as:


but the led can not light on.use these command

byw: I use gpio test led hardware is ok
Hello
We discovered an issue in the Datasheet of the MP13.
It will be described in an errata and DS updated soon.
The TIM2_CH1 and TIm2_ETR are not available on all GPIO as listed currently on DS:
The correct settings are:
so in your case PF13 only supports TIM2_ETR.. not TIM2_CH1
JM
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.