Skip to content

Commit 761c366

Browse files
jaz1-nordicjukkar
authored andcommitted
[nrf fromlist] drivers: adc: nrfx: Temporary fix for SAADC power consumption
This is temporary fix for SAADC power consumption. Need to be removed after hal_nrfx version upgrade. Upstream PR #: 94383 Signed-off-by: Jakub Zymelka <[email protected]> (cherry picked from commit 2158e6b)
1 parent 45587ff commit 761c366

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/adc/adc_nrfx_saadc.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -755,6 +755,7 @@ static void event_handler(const nrfx_saadc_evt_t *event)
755755
correct_single_ended(&m_data.ctx.sequence, m_data.user_buffer,
756756
event->data.done.size);
757757
}
758+
nrfy_saadc_disable(NRF_SAADC);
758759
adc_context_on_sampling_done(&m_data.ctx, DEVICE_DT_INST_GET(0));
759760
} else if (event->type == NRFX_SAADC_EVT_CALIBRATEDONE) {
760761
err = nrfx_saadc_mode_trigger();

0 commit comments

Comments
 (0)