Sleep mode no working in uart demo application
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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:
There you'll be able to see the current consumption of the MCU.
I hope this can help you.
Best Regards,
Alexis Andalón
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
BLE doesn't allow deep sleep. What could be the reason for that?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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