2015-12-29 09:26 PM
Hi,
I am working on STM32F4 version of microcontroller. Can someone guide me the way to generate PWM signal. I may want to use atlease 2 PWM out signal and 1 PWM in signal. The purpose of generating PWM signal is to control the DC MOTOR SPEED. I have searched few method which are not suffucient for me to understand clearly. I am still in confusion where to start to generate PWM signal from STM32F4xxxPlease suggest me any resource which will provide step by step tutorial. Thanks,Farhan #stm32f4 #pwm #output #c-programming2015-12-30 12:59 AM
Hi Farhan,
I recommend you to have a look to the TIM examples under the STM32F4 cube firmware some of them show how to configure the TIM peripheral to generate PWM signals:STM32Cube_FW_F4_V1.10.0\Projects\STM324x9I_EVAL\Examples\TIM-Syrine-2016-01-04 12:50 AM
can you please send the right link ? I CANT OPEN IT
2016-01-04 01:57 AM
Hi Farhan,
The STM32 cube F4 firmware package is available for download under this -Syrine-2018-06-07 12:51 AM
Hello Nesrine
In the file you recommanded in TIM folder there is PWMInput and PWMOuput.. which one shall I use when I want to generate pwm for LEDs pleaase ??
Thank you in advance for your help