2021-06-15 01:21 PM
Hi everyone, I'm trying to drive linear motor with l298n motor driver. I use CubeMX to set pinouts and keil to code. I have to generate pwm but I think I couldn't calculate it correctly. Can anyone help me?
Solved! Go to Solution.
2021-06-21 06:34 AM
Hello,
You can refer to the example located under \Projects\STM3210E_EVAL\Examples\TIM\TIM_PWMOutput for PWM generation in STM32F1 Cube.
But be careful you should ensure minimum 2.3V as high level to drive L298N (refer to its datasheet: Input High Voltage min).
STM32
2021-06-21 06:34 AM
Hello,
You can refer to the example located under \Projects\STM3210E_EVAL\Examples\TIM\TIM_PWMOutput for PWM generation in STM32F1 Cube.
But be careful you should ensure minimum 2.3V as high level to drive L298N (refer to its datasheet: Input High Voltage min).
STM32
2021-06-22 02:50 AM
thank youu, I handled it