1811 views|7 replies

5

Posts

0

Resources
The OP
 

Newbie seeking advice [Copy link]

Dear experts, I need to write a program using the stm32 microcontroller (a frequency converter that can realize the pwm waveform to drive the motor to rotate). As long as these two functions are available, it will be enough. Please help me. Thank you.
This post is from stm32/stm8

Latest reply

Just use the official library functions and routines for timer and pwm output. There are not many C files for timer and pwm. Just those functions. The parameters are also explained. Analyze them. Find the relevant ones. You can modify them. Take a good look at the definitions of the relevant registers.  Details Published on 2018-2-7 12:42
 

721

Posts

1

Resources
2
 
Electric motors are simple, but controlling them well is a challenge. The need is not clear.
This post is from stm32/stm8
 
 

5

Posts

0

Resources
3
 
Electronic Micro Creativity published on 2018-2-6 19:35 It is very simple to start the motor, but it takes a lot of effort to control it. This requirement is not clear.
It is enough to just write the waveform (pwm), start, stop, etc., and other functions such as detection and protection are not needed.
This post is from stm32/stm8

Comments

I suggest you take a look at the STM32 data of Zhengdian Atom. It is very easy to implement and there are even routines.  Details Published on 2018-2-6 19:45
 
 

721

Posts

1

Resources
4
 
ssd1103 posted on 2018-2-6 19:40 Just write the waveform (pwm), start and stop, and other things such as detection and protection are not needed.
I suggest you take a look at the STM32 information of Zhengdian Atom. It is very easy to implement and there are even routines.
This post is from stm32/stm8
 
 
 

5

Posts

0

Resources
5
 
Electronic Micro Creativity published on 2018-2-6 19:45 I suggest you take a look at the STM32 data of Zhengdian Atom, it is very easy to implement, and there are even routines.
OK, thank you
This post is from stm32/stm8
 
 
 

5

Posts

0

Resources
6
 
Electronic Micro Creativity published on 2018-2-6 19:45 I suggest you take a look at the STM32 data of Zhengdian Atom, which is very easy to implement and there are even routines.
Is it a book?
This post is from stm32/stm8
 
 
 

5

Posts

0

Resources
7
 
Electronic Micro Creativity published on 2018-2-6 19:45 I suggest you take a look at the STM32 data of Zhengdian Atom, it is very easy to implement, and there are even routines.
OK, thank you. Is it a book? Or something else?
This post is from stm32/stm8
 
 
 

3471

Posts

11

Resources
8
 
Just use the official library functions and routines for timer and pwm output. There are not many C files for timer and pwm. Just those functions. The parameters are also explained. Analyze them. Find the relevant ones. You can modify them. Take a good look at the definitions of the relevant registers.
This post is from stm32/stm8
 
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list