A single timer simultaneously using input capture and encoder mode.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2025-02-09 8:47 AM
I want to use STM32CubeMX to configure the relevant peripherals and use a single timer, such as TIM3, to simultaneously implement an orthogonal encoder and input capture for frequency measurement. Can this be achieved?
Labels:
- Labels:
-
STM32F4 Series
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2025-02-09 9:56 AM
No. A timer has only one counter register. In encoder mode, encoder pulses will increment/decrement that counter with variable frequency depending on the encoder. For frequency measurement, you need some fixed frequency to compare with.
hth
KnarfB
