cancel
Showing results for 
Search instead for 
Did you mean: 

PWM output on Timer3 Ch1

Alexmouse
Senior

I've my LCD backlight control on STM32F429 pin PB4, and as a digital output it was fine. I chose this pin because it can be configured as a PWM output.

I've set up TIM3 Ch1 in CubeMX. I just want a free-running PWM with a dynamically configurable duty cycle, so I can set my backlight to 'bright', 'medium' or 'dim' settings.

I'm getting no signal on PB4, it is just sitting high.

Did I miss something? Is there an 'enable' or 'start' instruction I need to add?

11 REPLIES 11
Alexmouse
Senior

How do I flag this thread as "answered"?

Click on "Select as Best" on the comment that you consider the more helpful one.

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.