cancel
Showing results for 
Search instead for 
Did you mean: 

WICED Smart Bluetooth

Anonymous
Not applicable

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.

0 Likes
1 Solution
Anonymous
Not applicable

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

View solution in original post

0 Likes
5 Replies
Anonymous
Not applicable

Attached please find a test app that demonstrates this issue.

0 Likes
Anonymous
Not applicable

Hello Lukasz,

Look at the RTC example.  Look at P39 for Clear GPIO_Status.

Thanks

0 Likes
Anonymous
Not applicable

The above answer may apply to other discussion:

Problem with wake up from deep sleep with a timer

but not to this one.

0 Likes
Anonymous
Not applicable

Hello Lukasz,

Apologies, Correct.

This issue is being investigated by the development team.

Thanks,

JT

0 Likes
Anonymous
Not applicable

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

View solution in original post

0 Likes