using float and oncapture interrupt

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

using float and oncapture interrupt

711件の閲覧回数
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 返信

243件の閲覧回数
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 件の賞賛