Question
Reading timer counter & prescaler on the fly - STM32F205RBT6
Posted on July 19, 2014 at 13:47
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 23. Start & interrupt on pin 31. 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?