adv interval : 1s
adv data: 31byte
tx power: 0dBm
MCU: nRF52832
The power consumption is shown in the figure below,when I don't enable DCDC.
what may be the reason caused this phenomenon.and data of 0x40000578 is 01
Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
timers_init();
NRF_POWER->DCDCEN = 1;
app_fds_init();
ble_peripheral();
power_management_init();
ble_stack_init();
// err_code = sd_power_dcdc_mode_set(NRF_POWER_DCDC_ENABLE);
// APP_ERROR_CHECK(err_code);
gap_params_init();
gatt_init();
peer_manager_init();
services_init();
beacon_adv_init();
conn_params_init();
app_macaddr_manage(NULL,READ_ADDR);
err_code = sd_ble_gap_tx_power_set(BLE_GAP_TX_POWER_ROLE_ADV, NULL, TX_POWER_LEVEL);
APP_ERROR_CHECK(err_code);
// Start execution.
NRF_LOG_INFO("************************\n");