Disable SPLL and FIRC

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

Disable SPLL and FIRC

757 Views
leekate-b45752
NXP Employee
NXP Employee

Hello,

Where can I find Disable SPLL or FIRC API in SDK? 

Should I generate one more clock configuration in order to disable SPLL and FIRC before entering VLPS mode? 

I also can't find DeInit API, could you guide how to implement "scg_disable_pll_and_firc()" with SDK? 

AN5425

pastedImage_1.png

Best regards,

Kate Lee

Labels (1)
0 Kudos
1 Reply

707 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hello Kate,

The power_manager SDK driver disables FIRC, SPLL, SOSC and switches the system clock to SIRC before the MCU goes to VLPS.

You can use the power_mode_switch SDK example and call this function:

/* Set power mode to VLPS */
 retV = POWER_SYS_SetMode(VLPS, POWER_MANAGER_POLICY_AGREEMENT);

In power_manager_S32K1xx.c,

function POWER_SYS_SwitchToSleepingPowerMode()

pastedImage_1.png

Regards,

Daniel

0 Kudos