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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

766件の閲覧回数
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 返答(返信)

747件の閲覧回数
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 件の賞賛
返信

744件の閲覧回数
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 件の賞賛
返信