Skip to main content
NMath.3
Associate
January 11, 2023
Solved

PWM not working with STM32F746ZGTX nucleo 144 board.

HI, am new to stm32f7, i used the examples in the HAL library for generating PWM signals.The Examples are working fine, but i tried to write my own code using the HAL to generate pwm . but none of is working. am using HAL version is STM32Cube_FW_F7_V1.17.0 . please help me guys to solve this.

This topic has been closed for replies.
NMath.3
NMath.3Best answer
Associate
January 11, 2023

once again thank you for your quick reply. my problem is solved. i did a mistake in finding the proper pwm output pin. now i figure the correct one.

3 replies

gbm
Super User
January 11, 2023

It's not possible to provide any help without seeing your code. My first guess would be missing HAL_TIM_PWM_Start() or incorrect parameter passed to it.

My STM32 stuff on github - compact USB device stack and more: https://github.com/gbm-ii/gbmUSBdevice
NMath.3
NMath.3Author
Associate
January 11, 2023

Thank you for your reply. I am attaching the main.c

NMath.3
NMath.3AuthorBest answer
Associate
January 11, 2023

once again thank you for your quick reply. my problem is solved. i did a mistake in finding the proper pwm output pin. now i figure the correct one.