AnsweredAssumed Answered

S32K VLPS mode entry and exit

Question asked by umesh shinde on Feb 4, 2020
Latest reply on Feb 18, 2020 by umesh shinde
Branched to a new discussion

Hello all,

 

      I have followed the Power management AN5425 pdf provided by Nxp for Power mode and exit  s32k116.

     I have done for RUN to VLPS mode entry and tested the current consumption it is 4mA, But as per datasheet, it should be less than 1mA.  So how to further reduce the current consumption by the controller?

 And also how to disable the clock monitors?

And if possible also let me know how to come to normal RUN mode through CAN using pretended network mode.

Please let me know.

 

void RUN_to_VLPS (void)
{
/* Adjust SCG settings to meet maximum frequencies value */
scg_disable_pll_and_firc();
/* Enable SLEEPDEEP bit in the Core
* (Allow deep sleep modes) */
S32_SCB ->SCR|=FSL_SCB_SCR_SLEEPDEEP_MASK;
/* Allow very low power run mode */
SMC->PMPROT |= SMC_PMPROT_AVLP_MASK;
/* Select VLPS Mode */
SMC->PMCTRL=SMC_PMCTRL_STOPM(0b10);
PMC->REGSC |= PMC_REGSC_BIASEN_MASK;
/* Check if current mode is RUN mode */
if(SMC->PMSTAT == 0x01)
{
/* Go to deep sleep mode */
asm("WFI");
}
}

 

 

Regards,

 Shinde Umesh

Outcomes