2023-07-24 12:13 AM
I have checked all the hardware on the devices and made sure that my intended pin number is active. I am trying to power on the EDF and send a PWM signal from my stm32 board. In the STM32CubeIDE i have configured the clock and i have ensured that the right port has been activated. Right now, my fan simply pulsates when its merely connected to the battery, without even being connected to the stm32 via the wires from the speed controller. The speed Controller is a 3A 5V BEC. Attached is the main.c that is for the configuration of the board and the small sub-routines that I implemented. Anyone able to shed some light on this would be a great help.
Thank you in advance