About using AMMCLIB

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

About using AMMCLIB

674 次查看
578294688
Contributor II

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

0 项奖励
1 回复

565 次查看
petervlna
NXP TechSupport
NXP TechSupport

Hello,

as you can see from our web page S32R274 is not supported by AMMCLIB:

pastedImage_1.png

What is the answer to the above question? 

Or are there other ways to improve software performance?

You will have to port it on your own. Even if MPC5775K and S32R274 has same cores and common set of peripherals, they are not identical.

regards,

Peter

0 项奖励