This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MOTORWARE: LAB11 with fpu

Part Number: MOTORWARE

Hello,

I’ve read several posts that say it is not possible to use the fpu32 in LAB11 (a,b,c,e) because of the EST_getIdq_pu.lib.

 

I saw some who used a PARK function instead of EST_getIdq_pu but I don’t want to the that because the estimator already calculates it.

I read somewhere where Yanming said to put the float calculations in a separate file and set the compiler option to fpu32.

Is it possible to put the EST_getIdq_pu() function in a separate c file and call it like that?


And set the c file which contains the EST_getIdq_pu() to softlib.

When I try this, I get several error e.g. :

Output from building with the different math options:

I think it's not possible?

I have a few float operations and don’t want to do it with the IQmath. If there is no other option, I will do it with the fixed-point math.

 

Thank you in advance,
Daniel