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

How to use nrf_drv_saadc_calibrate_offset function? (negative saadc value problem)

Hello.

I am testing saadc function.

When I was connect the saadc pin with ground level, the saadc value represents negative value.

So I am searching the similar problem and I found the calibration is one method.

However, I don't know how to use the calibrate function.

I added the code like below, and I can't build the project.

   err_code = nrf_drv_saadc_calibrate_offset();

   APP_ERROR_CHECK(err_code);

How can I added this function ? and Is there any other method can I test to remove negative saadc value ?

Thank you for reading my questions.

Best Regards,

Yclee.

Parents Reply Children
No Data
Related