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

Confused about switching between DCDC and LDO with macros found in sdk_config.h

We are using the nRF52840 with SDK 15.3 and we want to switch the regulators (DCDC or LDO) manually depending on the feature.

According to the Nordic document here (https://infocenter.nordicsemi.com/index.jsp?topic=%2Fps_nrf52840%2Fpower.html&cp=4_0_0_4_2), it looks like LDO regulators are used by default. After reading other threads, I found out that sd_power_dcdc_mode_set(NRF_POWER_DCDC_ENABLE) will enable DCDC regulators and sd_power_dcdc_mode_set(NRF_POWER_DCDC_DISABLE) will enable LDO regulators. I see that there are NRFX_POWER_CONFIG_DEFAULT_DCDCEN and NRF_POWER_CONFIG_DEFAULT_DCDCENHV in sdk_config.h and I was wondering if they must be set to 1 in order for us to be able to use DCDC regulators. Also, does that mean NRFX_POWER_ENABLED needs to be set to 1 as well?

Parents Reply Children
No Data
Related