using float and oncapture interrupt

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

using float and oncapture interrupt

860 Views
toto321
Contributor I

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

Labels (1)
0 Kudos
Reply
1 Reply

392 Views
CompilerGuru
NXP Employee
NXP Employee

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.

 

Daniel

0 Kudos
Reply