How to configure FPU(floating point uint) for MPC5748G in S32DS

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

How to configure FPU(floating point uint) for MPC5748G in S32DS

687 次查看
mahoneinsh
Contributor I

Dear NXP supporter:
My development enviroment of the project is:S32DS_Power_v2017.R1

I want to config FPU for MPC5748G in my project, and have referred to some related postings in nxp forums, but failed to accelerate program operation speed. The related configuration is shown as followed:

mahoneinsh_0-1678261152984.png

 

mahoneinsh_1-1678261179172.png

I also tryed to use other "Libraries support", some are not useful to speed program running, and some failed to run program.

Could you please give me some hint? Is there any other configuration to be made?

thank you in advance. 

 

0 项奖励
回复
2 回复数

668 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport

This MCU (z4204n3 core) does not not support SPE or LSP module. So the only EFPU unit can be used by option "Use hardware floating point"

davidtosenovjan_1-1678356834716.png

 

 

0 项奖励
回复

665 次查看
mahoneinsh
Contributor I

Thank you for your reply~

I have found that if decimals are used in the program, the character "f" shoud be added. For example, 0.01 shoud be written as 0.01f, if do as this, the excution time of each instruction can be shorten about 5us.

0 项奖励
回复