cancel
Showing results for 
Search instead for 
Did you mean: 

software fp

ewitt
Associate II
Posted on September 27, 2006 at 19:04

software fp

2 REPLIES 2
ewitt
Associate II
Posted on September 20, 2006 at 15:20

I am developing a application in C using RVDK 2.1.

I am facing a problem with floating points when using them in a ISR. Calling (call by value) a function manipulating/expecting floating point variables from a ISR wont work properly.

When the function comes back to the ISR the return value is invalid. The same function called from main() or elsewhere works correctly. It seems that float values cannot be passed correctly from the ISR to another routine and vice-versa.

I made a workaround by inlining these functions. Nevertheless I want to know why this happens and how I can avoid this problem.

It cant be that nobody has a solution or explanation for this. :o

regards,

Erwin

ewitt
Associate II
Posted on September 27, 2006 at 19:04

I cannot believe that nobody has an explaination for this problem...

Hints or tips to the problem mentioned above are also welcome!!