Proccessor Expert to configure the RUN Mode

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

Proccessor Expert to configure the RUN Mode

ソリューションへジャンプ
2,352件の閲覧回数
hajianik
Senior Contributor I

Hi,

My target is S32K144 EVAL board and using design studio,

I've done this successfully by manually coding, however I've a hard time to use the Processor expert to configure the clk for 112 MHZ AND ENTERING THE HIGH SPEED MODE. 

I see the PLL clk configuration which is fine however I don't know how to enter the high speed mode using P.E.

As I said I've done this manually but having difficulty using P/E to do this.

and additionally I don't know how to select the source for the RUN mode using P.E. it seems it uses the FIRC by default.

Any Ideas?

Thanks

0 件の賞賛
返信
1 解決策
2,127件の閲覧回数
raresvasile
NXP Employee
NXP Employee

Hi,

You need to add Power Manager Component into your project.

After the component is added, please configure it to have HSRUN mode and call:

/* Initialize Power Manager */
POWER_SYS_Init(&powerConfigsArr, POWER_MODES, &powerStaticCallbacksConfigsArr, 0);

/* Set power mode to HSRUN */
POWER_SYS_SetMode(configurationIndex, POWER_MANAGER_POLICY_AGREEMENT);

, where configurationIndex needs to be replaced by the index of the PowerManager configuration which is selected to HSRUN.

You can also see power_mode_switch example or the Documentation for usage scenarios.

Best regards,

Rares

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
2,128件の閲覧回数
raresvasile
NXP Employee
NXP Employee

Hi,

You need to add Power Manager Component into your project.

After the component is added, please configure it to have HSRUN mode and call:

/* Initialize Power Manager */
POWER_SYS_Init(&powerConfigsArr, POWER_MODES, &powerStaticCallbacksConfigsArr, 0);

/* Set power mode to HSRUN */
POWER_SYS_SetMode(configurationIndex, POWER_MANAGER_POLICY_AGREEMENT);

, where configurationIndex needs to be replaced by the index of the PowerManager configuration which is selected to HSRUN.

You can also see power_mode_switch example or the Documentation for usage scenarios.

Best regards,

Rares

0 件の賞賛
返信
2,127件の閲覧回数
hajianik
Senior Contributor I

Rares,

Thanks for your response.

Just one thing, the input parameters for the  function POWER_SYS_Init is a bit different from yours . the following is the definition in the SDK in my system.

status_t POWER_SYS_Init(power_manager_user_config_t *(* powerConfigsPtr)[],

uint8_t configsNumber,

power_manager_callback_user_config_t *(* callbacksPtr)[],

uint8_t callbacksNumber)

Note that the second input is the index of the configuration i.e. 1

Thanks for your great answer.

0 件の賞賛
返信