Skip to main content
ewitt
Associate III
September 27, 2006
Question

software fp

  • September 27, 2006
  • 2 replies
  • 887 views
Posted on September 27, 2006 at 19:04

software fp

This topic has been closed for replies.

2 replies

ewitt
ewittAuthor
Associate III
September 20, 2006
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
ewittAuthor
Associate III
September 27, 2006
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!!