Hi everyone,
I'm currently trying to program my nRF52DK (nrf52382) to show it's battery voltage on the PuTTY emulator.
In order to run/simulate on the PuTTY emulator, I have connected my nRF52DK to my laptop via USB.
However connecting via USB will provide power to the development kit which overwrites the power supplied from coin-battery, hence during my simulation, the ADC reading was read from the USB instead of the coin-battery.
Is there a way I can "disable" the power from USB or connect other GPIO pin to read ADC from the coin-battery.
*In my programming, i have configured the saadc channel to 'saadc_input_vdd'.
*programming was written as a single-ended saadc mode.
*no sampling of ADC is needed for now.
Thanks!