cancel
Showing results for 
Search instead for 
Did you mean: 

stm32f215 - reading pulses

william2
Associate
Posted on August 31, 2015 at 15:30

I'm working with a microcontroller stm32f215. This device have a wheel of time (single encoder) connected to PF8 pin - TIM13_ch1. How best to accomplish reading this time round? Using the capture? Using the interrupt pin? It can show me some example? At first I use STMcube and libs HAL.

1 REPLY 1
Posted on August 31, 2015 at 16:47

External counter/clocking mode? Input/PWM capture if the periodicity and duty is of interest.

Sorry, can't help you with HAL/Cube stuff.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..