I use STM32 using PWM signal to control the motor by L298N, will pick the ENA L298N PWM output port port,
I use push-pull output control motor, motor without reaction did not move, but use the open drain output can be, but I see online if you want to use PWM, with reuse push-pull output, but I'm a output mode into push-pull output, motor does not turn,
And then I go online to check the reason, some said that STM32 can only provide 3.3 V voltage, only open drain output can satisfy the IO port output 5 V voltage, but why others didn't mention it, for I feel they are push-pull output driver L298N drive, and successfully using PWM control of the motor, have who can help me with, thank you very much,