Other Parts Discussed in Thread: C2000WARE
Tool/software: Code Composer Studio
Hello Champs,
In "epwm_ex1_trip_zone" project in "C:\ti\c2000\C2000Ware_3_02_00_00\driverlib\f28002x\examples\epwm", below configuration has been set for using fastRTS:
Then add below definition in "epwm_ex1_trip_zone.c":
float X1 = 5.0;
float X2 = 15.0;
float X3,X4;
and add below sentences at beginning of main():
X3 = X2/X1;
X4 = sinf(X1);
After compiling it can be found out in ".map" file that "sinf" operation has been located into "rts2800_fpu32_fast_supplement_eabi.lib":
0000ad24 00000034 rts2800_fpu32_fast_supplement_eabi.lib : sin_f32.obj (.text)
But the "/" operation is always in "rts2800_fpu32_eabi.lib" and cannot be located into "FS$$DIV" in "rts2800_fpu32_fast_supplement_eabi.lib" as described in fastRTS manual:
0000aa53 00000088 rts2800_fpu32_eabi.lib : fs_div28.asm.obj (.text)
The "rts2800_fpu32_fast_supplement_eabi.lib" used is from "C:\ti\c2000\C2000Ware_3_02_00_00\libraries\math\FPUfastRTS\c28\lib". CCS version is 10.0.0.00010, compiler version is v19.6.0.STS.
Would you please kindly help? Thanks!
Best Regards,
Linda


