cancel
Showing results for 
Search instead for 
Did you mean: 

BlueNRG-1 Low Power in Discovery Mode

eenis
Associate
Posted on November 03, 2017 at 10:42

Hello to everyone.

I have a project I use blueNRG-1

I have problems with energy consumption in the project

no problem in advertising mode and connection status

current in connection status : ~ 250uA

current in advertising mode : ~50uA

But;

current in discovery mode : ~4mA

battery voltage drops to 2.4v at 4mA current

I use CR2032 3V battery.

is this a special case for discovey mode or am I doing something wrong?

my summary code;

uint8_t Start_Discovery_Proc(void) // start discovery procedure
{
uint8_t ret;
ret = aci_gap_start_general_discovery_proc(DISCOVERY_PROC_SCAN_INT, DISCOVERY_PROC_SCAN_WIN, PUBLIC_ADDR, 0x00); 
BlueNRG_Sleep(SLEEPMODE_NOTIMER,0,0);
if(ret != BLE_STATUS_SUCCESS) 
{
 return 0x00;
}
 return 0x01; 
}
uint8_t Stop_Discovery_Proc(void) // stop discovery procedure
{
uint8_t ret;
ret = aci_gap_terminate_gap_proc(0x02); // GENERAL_DISCOVERY_PROCEDURE
 if (ret != BLE_STATUS_SUCCESS) 
 {
 return 0x00;
 }
 return 0x01;
}
 void APP_Tick(void)
 {
 ....
 ...
 .....
 if(........)
 {
 Start_Discovery_Proc();
 }
 else if(.......)
 {
 Stop_Discovery_Proc();
 }
 ...
 .....
 ....
 }
main()
{
 ...
 ...
 ...
 while(1) 
 {
 NVIC_DisableIRQ(UART_IRQn);
 BTLE_StackTick();
 NVIC_EnableIRQ(UART_IRQn);
 APP_Tick();
 BlueNRG_Sleep(SLEEPMODE_NOTIMER,0,0);
 
 }
}�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?

is this normal?

Thanks!
0 REPLIES 0