Sleep mode no working in uart demo application

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

Sleep mode no working in uart demo application

928 Views
kaival_shah
Contributor II

I am using QN9080 Eval kit. I am using qn908xcdk_wireless_examples_bluetooth_wireless_uart_freertos demo application. I want to put the system in Sleep mode. So I have enabled the configuration for sleep mode. But when I call POWER_EnterSleep() API at that time __WFI(); instruction is not working. I always come out from the __WFI(); instruction.

Am I doing anything wrong?

Labels (1)
0 Kudos
4 Replies

684 Views
Alexis_A
NXP TechSupport
NXP TechSupport

Hi Kaival Shah,

 When you enter some power mode without including the RUN mode, the debugger won't allow to change between low power modes. I suggest to use a multimeter and check the current in the JP14:

pastedImage_1.png

There you'll be able to see the current consumption of the MCU.


I hope this can help you.

Best Regards,

Alexis Andalón

0 Kudos

684 Views
kaival_shah
Contributor II

BLE doesn't allow deep sleep. What could be the reason for that?

0 Kudos

684 Views
kaival_shah
Contributor II

I have added all Power related file. While debugging I found that PWR_CheckIfDeviceCanGoToSleep return FALSE because BLE_get_sleep_mode returns < kPmPowerDown0. 

Any Idea?

0 Kudos

684 Views
estephania_mart
NXP TechSupport
NXP TechSupport

Hello, 

Could you please try setting the cPWR_UsePowerDownMode macro to 1 and add the necessary files dependencies (PWR_Interface.h, PWR_Interface.c, ...) ? 

Does that work for you ? 

Regards, 

Estephania 

0 Kudos