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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

627 Views
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 Kudos
Reply
2 Replies

608 Views
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 Kudos
Reply

605 Views
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 Kudos
Reply