Hello,
I'm doing some performance tests with the demo board of TMD570LS1227, and I want to measure the execution time of a existing code snippet. Goal is to know if TMS570LS1227 has the same / less / better performance as the Delfino 28335 for my application.
My test code includes some FOC calculations as park, clark, ipark, pi controllers, pretty lot of math, because this is part of the target application.
I do compare directly the same code on the TMS320F28335 and the TMS570LS1227.
Some ifdefs help me do call the correct library functions (as sinf for 570LS1227 and sin_f32 of 28335)
The 28335 test application is built with -o3 and runs in RAM at 150 MHz. It is linked with the rts2800_fpu32_fast_supplement.lib.
The TMS5701227 is built with -o3 and runs in FLASH / RAM at 180 MHz. No special library included so far.
I tried to run it from FLASH and RAM. There is no big difference in execution time (<1us). The sinf, cosf, sqrtf functions are still in FLASH.
I'm speeking about execution times on TMS570LS1227 of about 16us, measured with GPIO and PMU. The same code on 28335 needs about 9.5 us.
So I'm not looking for ns.
I'm sure there is more somewhere in the TMS570LS1227...
Long introducion for a short question:
Is there something similar as the rts2800_fpu32_fast_supplement.lib for the TMS570LS1227?
I do only need: sinf, cosf, atan2f, sqrtf, rest is simple math as multiply, division, addtions, subtraction.
Thanky you very much!
Best Regards,
Roger