using float and oncapture interrupt

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

using float and oncapture interrupt

707 次查看
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

标签 (1)
0 项奖励
1 回复

239 次查看
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 项奖励