Associate II
January 6, 2021
Question
Why does BlueNRG-1 wake up once 10 seconds?
- January 6, 2021
- 2 replies
- 914 views
I used BlueNRG-1 to make 1 minutes wake-up timer. But it seems wake up once 10 seconds. It causes current consumption more about 1.5uA. How to solve it? Detail information is at attach file. My code snipped is as follows.
#define SCAN_RESPONSE_TIMER 3
int main(void)
{
....
HAL_VTimerStart_ms (SCAN_RESPONSE_TIMER,60000);
while(1)
{
/* BlueNRG-1 stack tick */
BTLE_StackTick();
/* Enable Power Save according the Advertising Interval */
BlueNRG_Sleep(SLEEPMODE_NOTIMER, WAKEUP_IO12 , WAKEUP_IOx_LOW<< WAKEUP_IO12_SHIFT_MASK);
...
}
