Difference between revisions of "STM32 Timer PWM Input Capture"

From Stm32World Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
[[Category:C]] [[Category:STM32 Development]] [[Category:STM32CubeMX]] [[Category:STM32CubeIde]] [[Category:Embedded]] [[Category:STM32]] {{metadesc|Decode PWM Input}}
 
[[Category:C]] [[Category:STM32 Development]] [[Category:STM32CubeMX]] [[Category:STM32CubeIde]] [[Category:Embedded]] [[Category:STM32]] {{metadesc|Decode PWM Input}}
 
The timers in [[STM32]] [[MCU]]s are incredible powerful.  We have used them before to generate [[STM32 Pulse Width Modulation|PWM Signals]] and to [[STM32 Rotary Encoder|decode signals from rotary encoders]].
 
The timers in [[STM32]] [[MCU]]s are incredible powerful.  We have used them before to generate [[STM32 Pulse Width Modulation|PWM Signals]] and to [[STM32 Rotary Encoder|decode signals from rotary encoders]].
 +
 +
[[File:PWM Input Capture example - clock settings.png|1000px]]
 +
 +
[[File:PWM Input Capture example - Timer 4 configuration.png|400px]]
 +
 +
[[File:PWM Input Capture example - Timer 2 confriguration.png|400px]]
  
 
== Miscellaneous Links ==
 
== Miscellaneous Links ==
  
 
* [https://github.com/lbthomsen/blackpill/tree/master/pwm_ic PWM Input Capture Example] for [[Black Pill]]
 
* [https://github.com/lbthomsen/blackpill/tree/master/pwm_ic PWM Input Capture Example] for [[Black Pill]]

Revision as of 03:50, 13 March 2022

The timers in STM32 MCUs are incredible powerful. We have used them before to generate PWM Signals and to decode signals from rotary encoders.

PWM Input Capture example - clock settings.png

PWM Input Capture example - Timer 4 configuration.png

PWM Input Capture example - Timer 2 confriguration.png

Miscellaneous Links