This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello,
I installed the fastRTS library to minimize the execution time of the code. I also checked that fast RTS library is being used for trigonometric functions. But while executing, cosf/sinf function returns garbage value. Please let me know what can be the reason behind this.
Regards,
Mayuri
Mayuri,
Did you take a look at the corresponding examples in the C2000Ware FPUFastRTS library? That would be my first suggestion, without knowing any other details.
You did say that you verified that the library's functions are indeed being used - I presume you did this by looking at the .map file and checking that the sinf/cosf from the library are used. It would also be good to check the disassembly.
Next would be to check if the inputs to the functions are correct.
What garbage values are they returning? What's the input, and what's the output? Do the cycles being consumed for these functions match the benchmark numbers?
Thanks,
Sira