LPC55S60: powerlib versions

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

LPC55S60: powerlib versions

537 Views
EugeneHiihtaja
Senior Contributor I

Hello !

Do I undestand right and SDK have multiple powerlib versions  ?

pastedImage_1.png

Could you tell what version for what reason ?

Regards,

Eugene

0 Kudos
3 Replies

433 Views
Sabina_Bruce
NXP Employee
NXP Employee

Hello Eugene, 

On some of our microcontrollers we offer both Hard ABI and Soft ABI libraries. In the hard ABI values are passed via the FPU registers, and in the soft ABI values are passed via integer registers. This is part of the ARM arquitecture of the Cortex.

This Community Post describes the differences very well.

Let me know if you have further questions.

Best Regards,

Sabina

0 Kudos

433 Views
EugeneHiihtaja
Senior Contributor I

Hi Sabina !

yes , I understand difference between Soft and hard variants. But what is practical recommendations ?

I case of power lib , usage of hard might not give any performance boost and any other advantages.

But may be Core1 is able to use softabi library only ?

And if power management API called from secure world, secure version of library should be used ?

Regards,

Eugene

0 Kudos

433 Views
Sabina_Bruce
NXP Employee
NXP Employee

Hello Eugene,

The co-processor does not have FPU so in the case you would like to use this in CPU1 then you will be able to use the soft api.

The powerlib is not a public library.

The majority of the power management functions will be located in the power drivers. These you can find in fsl_power.h

Best Regards,

Sabina

0 Kudos