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

Simple SAADC sample convert always fail on ASSERT

Hi,

With the latest SDK (17.0.2) I try to use the SAADC module in blocking mode but when I call <nrf_drv_saadc_sample_convert> an ASSERT is always triggered in <nrfx_saadc.c> source file.

This ASSERT is triggered atfer 10000 tries and wait for the <NRF_SAADC_EVENT_END> event, which never occurs.

You'll find attached a little project to reproduce this ASSERT error. I'm using a custom board but you can use the DK board as well. The error is shown on RTT immediately as startup (the <saadc_read> function is called directly in the <main> function).

Any helpful hint for me?

Fabien

Parents Reply Children
Related