AnsweredAssumed Answered

Reading timer counter & prescaler on the fly - STM32F205RBT6

Question asked by A2 on Jul 19, 2014
Latest reply on Jul 29, 2014 by Clive One
I am using STM32F205RBT6.

I have to start a timer when a particular event happens. This I have done in programming.
After that interrupts comes on three other pins. Now I have to measure the time between:
1. Start & interrupt on pin 1 
2. Start & interrupt on pin 2
3. Start & interrupt on pin 3


1. Can I read the value of counter & timer on the fly so that I can measure time?
2. If answer is yes, then I think there is some error in it. Like when interrupt happens on pin then control will first go to external pin ISR, where I will read timer values. In this error may come ? Can I reduce this error?
3. Is there any better method to do this?

Outcomes