Hello,engineers!
I recently had a problem with AMMCLIB math library. The version of AMMCLIB math library is MPC577xK_AMMCLIB_v1.1.9 - s32ds_ppc, MCU is S32R274.
I tested the sine function, and I found that GFLIB_Sin_FLT is OK, but GFLIB_Sin_F32 and GFLIB_Sin_F16 are not OK when I use MPC577xK_AMMCLIB.a in e200z7.If I want to use the GFLIB_Sin_F32 function, what do I need to do?
Another, when I use MPC577xK_AMMCLIB.a in e200z4, I found that the three functions are all OK, but GFLIB_Sin_F32 and GFLIB_Sin_F16 running time is more than GFLIB_Sin_FLT, I can't understand that because I think integral types should be less computation-intensive than floating point types.
What is the answer to the above question?
Or are there other ways to improve software performance?
I am looking forward to your reply!
Best wishes
Hello,
I assume your goal is to improve speed performance.
as a general suggestion in order I'd recommend to enable
Regarding AMMCLIB issues I'd first recommend you to update the library which is v1.1.18
Automotive Math and Motor Control Library Set | NXP
and check the performance.
Hope it helps.
Stan