Other Parts Discussed in Thread: TMS570LS3137, HALCOGEN, , TMS570LS20206, RM46L852
I am working on trying to improve the performance of my motor-control application. I have the VFPU enabled as per my previous thread of "How to enable the FPU", I am linking to the "ti_math_Cortex_R4_bspf.lib" library, and calling the "arm_sin_f32" function, and this single sine calculation is taking 149 cycles -- is that expected behavior?
We have a number of 28377 and 28388-based projects, and the sine/cosine take 3or4 cycles. Also I believe my TMS570LS3137 application took ~30 cycles to perform a sine, so I am hoping I am linking to the wrong library, calling the wrong fast-function, or missing a constant defined.
Also note this application is built with HalCoGen (which I could provide), I have "CCS" and "FPU_PRESENT" defined in my project; CCS was required to compile, but FPU_PRESENT did not make a difference in the 149 cycle time.
Thanks,
Jim