- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
LE stack does not switch to sleep mode if the fine timer's timeout is set to 12 ms even when the fine timer is stopped.
The current is around 1mA what makes me think that chip is still only in Pause mode.
Solved! Go to Solution.
- Labels:
-
Sleep Modes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello madmax
From the developers:
Please see if the following code snippet resolves your issue:
#include "devicelpm.h"
UINT32 app_queryPowersave(LowPowerModePollType type, UINT32 context)
{
if (type == LOW_POWER_MODE_POLL_TYPE_SLEEP)
{
// Always allow sleep and let the FW decide actual sleep time.
return ~0;
}
// Never allow deep sleep/hid-off.
return 0;
}
void application_create(void)
{
// Do all other application initialization here.
// Override default implementation of the app queriable:
bleprofile_queryPowersaveCb = app_queryPowersave;
}
Thanks
JT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Lukasz,
Look at the RTC example. Look at P39 for Clear GPIO_Status.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The above answer may apply to other discussion:
Problem with wake up from deep sleep with a timer
but not to this one.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Lukasz,
Apologies, Correct.
This issue is being investigated by the development team.
Thanks,
JT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello madmax
From the developers:
Please see if the following code snippet resolves your issue:
#include "devicelpm.h"
UINT32 app_queryPowersave(LowPowerModePollType type, UINT32 context)
{
if (type == LOW_POWER_MODE_POLL_TYPE_SLEEP)
{
// Always allow sleep and let the FW decide actual sleep time.
return ~0;
}
// Never allow deep sleep/hid-off.
return 0;
}
void application_create(void)
{
// Do all other application initialization here.
// Override default implementation of the app queriable:
bleprofile_queryPowersaveCb = app_queryPowersave;
}
Thanks
JT