STM32 Rotary Encoder Pulse Count
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-07-11 5:58 AM
Is it proper way to to count encoder pulses using rising/falling edge interrupt instead of using Timer in Encoder Mode??
Because in my application I need interrupt above 80000 pulse count. But here timer is of 16-bit (STM32F103C8T6) so it can only count up to 65535.
So please suggest me better option and help me to solve out this.
Labels:
- Labels:
-
STM32F1 Series
-
TIM
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-07-11 6:21 AM
No. Use Encoder mode. Sample Encoder count so often that in all case less then 2^15 pulses have arrived. Use add difference to last count value to externak 32 bit variable.
