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.

关于F28335,一个比较纳闷的问题



环境:28335,DSP/BIOS,使用rts2800_fpu32_fast_supplement.lib

现象:在DSP/BIOS,某一个任务使用atan((float) 1) 总是得到64,其他任务里面使用atan((float) 1)则得到0.785的正确结果。

 

后来发现,只要在那个任务里面,使用sin、cos、atan、atan2,都不能得到正确的结果,而其他任务就没有这个问题。

单步执行发现程序正确进入atan的汇编程序及返回。这个任务里面有执行FFT的算法,不知道跟这个没有关系。

 

 

比较纳闷。。。