Low Power Mode on SAADC on Zephyr

Hello,

We noticed in the nRF5 SAADC libraries the presence of a low_power bit setting on the nrf_drv_saadc_config_t config.

But, we were not able to find such low_power_mode mother in Zephyr, neither in the nrfx_saadc libs.

Said that:

1) How should we enable the low_power_mode mode on the SAADC in Zephyr?

2) Would that low_power_mode mode be supported on the nRF9160 SAADC?

  • Hi,

     

    nrf_drv_saadc.h is an older nRF5 SDK driver, pre-nrfx drivers, and will not be applicable for zephyr.

    1) How should we enable the low_power_mode mode on the SAADC in Zephyr?

    The important part for low power SAADC is to stop/disable after a conversion is done. This is automatically handled if you use zephyr's "adc" driver (which uses nrfx_saadc underneath)

    2) Would that low_power_mode mode be supported on the nRF9160 SAADC?

    Yes, the "adc" library shall be low power.

     

    Kind regards,

    Håkon

Related