Hi , when i do single calculation with float variable my counter values with OnCapture interrupt become unstable and if i remove the calculation values are stable
Sounds like a stack overflow, did you try to increase the stack size?
Also is the execution time critical? Floating points may be also rather slow compared to integer computations.
Retrieving data ...