网站大量收购独家精品文档,联系QQ:2885784924

STM32的PWM控制(国外英语资料).doc

  1. 1、本文档共27页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
STM32的PWM控制(国外英语资料)

STM32的PWM控制 After learning, STM32 timer function is really very powerful, small sum up, convenient for future use when making reference. Stm32 timer is divided into three kinds: TIM1 and tim8 are advanced timers, 6 and 7 are basic timers, and 2 - 5 are general timers. The main functional differences can be seen from the name. Today, I mainly use timers to do PWM output, so the summary is mainly for pwm. Lets talk about the difference between general and advanced timers. General purpose can output four PWM signals, without affecting each other. Advanced timers can output three complementary PWM signals plus an CH4 channel, that is, a total of seven channels. So, in this way, STM32 can generate 4*5+7*2=30, PWM signals altogether. Then there is a function of the difference: PWM signal general timer is relatively simple, ordinary adjusting duty cycle adjustment frequency (not used to not go to the bottom); advanced timer with complementary output function, while complementary signals can be inserted into the dead zone, but also to enable the brake function, from the view of advanced timer the PWM are used to control the motor. The basic regulation of the Pwm output is frequency and duty cycle. The frequency, of course, has something to do with the clock signal. The advanced timer is attached to the APB2, and the universal timer is hooked up to the APB1. The difference between APB1 and APB2 is that the clock frequency is different. APB2 maximum frequency allows 72MH, while APB1 maximum frequency is 36MHZ. Is this a universal timer with only the highest 36MHZ frequency? No, the full timer clock signal should be in the following line: AHB (72mhz) - APB1 divider (default 2) APB1 clock signal (36MHz) - octave doubler (*2 times) - Universal timer clock signal (72mhz). The huge function in the intermediate frequency multiplier APB1 and timer, if the red font APB1 divider if not 1 (default is 2), frequency multiplier will expand 2 times after the APB1 clock frequency as a timer

文档评论(0)

f8r9t5c + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

版权声明书
用户编号:8000054077000003

1亿VIP精品文档

相关文档