OS: Windows 11 Pro
OS Version: 10.0.22631
Toolchain: nRF Connect SDK (VS Code Extension) version 2.9.0
Hardware: BMD-340
Our Implementation requires disabling the ADC peripheral while not in use to conserve power.
Issue: While attempting to disable the peripheral through the function call void ADC_Disable(void) or enable the peripheral through the function call void ADC_Enable(void), the peripheral is not able to change it's power state. The error output shows the following:
[00:00:59.810,058] <err> battery_monitor: Failed to resume ADC: -88
[00:01:05.235,168] <err> battery_monitor: Failed to suspend ADC: -88
Looking up the error shows the following:
ENOSYS 88
Function not implemented.
Question: What configuration or code needs to be added to be able to manage the ADC peripheral power?
The current device tree configuration is provided below: