文件名称:STM32-TIM1-PWM
- 所属分类:
- 微处理器(ARM/PowerPC等)
- 资源属性:
- [PDF]
- 上传时间:
- 2012-11-26
- 文件大小:
- 424kb
- 下载次数:
- 0次
- 提 供 者:
- j*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
通过对 TIM1 定时器进行控制,使之各通道输出插入死区的互补PWM 输出,
各通道输出频率均为17.57KHz。
其中,通道1 输出的占空比为50 ,通道2 输出的占空比为25 ,通道3 输
出的占空比为12.5 。各通道互补输出为反相输出。
TIM1 定时器的通道1 到3 的输出分别对应PA.08、PA.09、PA.10 引脚,而通
道1 到3 的互补输出分别对应PB.13、PB.14 和PB.15 引脚,将这些引脚分别接
入示波器正接线,GND 引脚接示波器负接线,在示波器上看到了相应通道占空比
的PWM 输出。-By TIM1 timer control, so that the output of each channel into the dead zone of complementary PWM output, the output frequency of each channel are 17.57KHz. Among them, the channel 1 output 50 duty cycle, channel 2 output 25 duty cycle, channel 3 output duty cycle of 12.5 . The channel output is inverted complementary output. TIM1 timer channel 1 to 3 of the output corresponding to PA.08, PA.09, PA.10 pin, while channels 1 to 3 correspond to the complementary output PB.13, PB.14 and PB.15 pin, These pins are an oscilloscope is wiring, GND pin is connected to the negative terminal oscilloscope, the oscilloscope channel to see the corresponding PWM output duty cycle.
各通道输出频率均为17.57KHz。
其中,通道1 输出的占空比为50 ,通道2 输出的占空比为25 ,通道3 输
出的占空比为12.5 。各通道互补输出为反相输出。
TIM1 定时器的通道1 到3 的输出分别对应PA.08、PA.09、PA.10 引脚,而通
道1 到3 的互补输出分别对应PB.13、PB.14 和PB.15 引脚,将这些引脚分别接
入示波器正接线,GND 引脚接示波器负接线,在示波器上看到了相应通道占空比
的PWM 输出。-By TIM1 timer control, so that the output of each channel into the dead zone of complementary PWM output, the output frequency of each channel are 17.57KHz. Among them, the channel 1 output 50 duty cycle, channel 2 output 25 duty cycle, channel 3 output duty cycle of 12.5 . The channel output is inverted complementary output. TIM1 timer channel 1 to 3 of the output corresponding to PA.08, PA.09, PA.10 pin, while channels 1 to 3 correspond to the complementary output PB.13, PB.14 and PB.15 pin, These pins are an oscilloscope is wiring, GND pin is connected to the negative terminal oscilloscope, the oscilloscope channel to see the corresponding PWM output duty cycle.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
STM32-TIM1-PWM.pdf