Sleep mode no working in uart demo application

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

Sleep mode no working in uart demo application

945件の閲覧回数
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?

ラベル(1)
タグ(3)
0 件の賞賛
4 返答(返信)

701件の閲覧回数
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 件の賞賛

701件の閲覧回数
kaival_shah
Contributor II

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

0 件の賞賛

701件の閲覧回数
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 件の賞賛

701件の閲覧回数
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 件の賞賛