LPC55S60: powerlib versions

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

LPC55S60: powerlib versions

1,248件の閲覧回数
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 件の賞賛
返信
3 返答(返信)

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

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

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