QN9080 not entering PD0 or PD1

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

QN9080 not entering PD0 or PD1

407 Views
muhammadt
Contributor I

Hello all, 
I'm trying to utilize the PWR_Interface to create an ultra-low power demo. 
The project does not operate the BLE , so I only need to try some peripherals without BLE. 
My problem is that I'm not able to get into PD0 or PD1 mode when calling PWR_EnterLowPower , and Im only allowed to enter Sleep mode, because BLE_get_sleep_mode always return kPmSleep. 

I do not wanna use the BLE , so Am I missing something in the initialization ? 
My sequence is as follows : 
        POWER_EnableDCDC(true);
      POWER_EnablePDrRam();
      PWR_Init();
      PWR_ChangeDeepSleepMode(3); /*Put in PD1*/
      PWR_AllowDeviceToSleep();
if(PWR_CheckIfDeviceCanGoToSleep()) /*Check if allowed to go to Deep Sleep mode (PD0 or PD1)*/
{
printf("Entering LP \r\n");
(void)PWR_EnterLowPower(); /*Ignore Wake-up Reason*/
}
else
{
printf("Entering SLEEP \r\n");
/* Enter MCU Sleep */
PWR_EnterSleep();
}

Labels (1)
  • QN

0 Kudos
1 Reply

323 Views
estephania_mart
NXP TechSupport
NXP TechSupport

Hello .

If you are not using the Bluetooth LE functionality I would recommend you to check the power_mode_switch example which is on the  demo_apps of the SDK.

Regards ,

Estephania

0 Kudos