AnsweredAssumed Answered

stm32f3 PWM Input latency

Question asked by fischer_gundlach.jus on Aug 10, 2013
Latest reply on Aug 12, 2013 by Clive One
Hello together,

i´m just asking in case someone had the same issue and knows the answer - of course i don´t want u to read the manuals for me...

So, i´m using the PWM input feature on Timer2 and in general it works. I just have a big latency from about allmost a second. I started from the peripeheral example from the FW library. I don´t use the dividing calculations in the ISR and uncommented them. I only do a substraction, so there are no time intensive calculations left.

maybe someone knows the problem?


i take a serial incoming pulse signal wich contains 7 channels for Servos. The signal´s end is marked by a long LOW time wich i use to reset the channelCounter. I simply shift one of the channelValues directly into the compare register of timer1 wich is doing a hardware PWM.
There´s only the Input ISR active.