Hi, Nordic:
I'm testing the DC/DC function as to reduce the radio current. I have done the DC/DC test using pca10028 DK with the code below (SD v2.0.1, SDK11) :
void main(void)
{
NRF_POWER->DCDCEN = 1;
//NRF_RADIO->TASKS_TXEN = 1;
NRF_RADIO->TASKS_RXEN = 1;
NRF_RADIO->TASKS_START = 1;
while(1);
}
When using "NRF_POWER->DCDCEN = 1" the radio current does reduce to about 14ma, not using "NRF_POWER->DCDCEN = 1" the radio current is about 17ma.
But using "sd_power_dcdc_mode_set(NRF_POWER_DCDC_ENABLE)" instead of "NRF_POWER->DCDCEN = 1", the radio current has no improvement, still keeping about 17ma.
which one should I use in my code to enable the DC/DC function, "NRF_POWER->DCDCEN = 1" or "sd_power_dcdc_mode_set(NRF_POWER_DCDC_ENABLE)" ?
If using "sd_power_dcdc_mode_set(NRF_POWER_DCDC_ENABLE)" , where should I place the code, before ble_stack_init() or behind ble_stack_init()?
Thanks,
Try