This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

BLE Advertising doesn't stop after sd_power_system_off()

Dear Nordic Developers!

When I call the sd_power_system_off() function to put the MCU to system OFF, after that I can still see the advertiser device in MasterControlPanel. Is it a normal behaviour? The case is the same, when I call sd_ble_gap_adv_stop() before sd_power_system_off().

How much could be the maximum current consumption when advertising is on at system OFF state?

Thank you for the help in advance!

Ps.: I use nRF51422-QFAA-E0 with S130, SDK 8.1.0 with BLE_ADV_MODE_FAST adv. config.

The image below is captured, when the device is already in system OFF. image description

Update1:

static void Enter_SleepMode_f(void) { uint32_t err_code;

nrf_gpio_cfg_sense_input(GPIO_BUTTON1, NRF_GPIO_PIN_PULLUP, NRF_GPIO_PIN_SENSE_HIGH); 	// Wake up button

// Turn off all LEDs
nrf_gpio_pin_set(GPIO_LED1);
nrf_gpio_pin_set(GPIO_LED2);
nrf_gpio_pin_set(GPIO_LED3);
nrf_gpio_pin_set(GPIO_LED4);

nrf_gpio_pin_clear(GPIO_ENCAL);		// Disables the 3.3V feed of MCP6N11 and TLC272CD amplifiers

// Disable LPCOMP and its interrupts
NRF_LPCOMP->ENABLE = LPCOMP_ENABLE_ENABLE_Disabled;
sd_nvic_DisableIRQ(LPCOMP_IRQn);	
// Stops all application timers
app_timer_stop_all();
	
// Go to system-off mode (this function will not return; wakeup will cause a reset).
err_code = sd_power_system_off();
APP_ERROR_CHECK(err_code);

}

Related