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

Difference in SAADC with softdevice and without softdevice

Hello Nordic team,

I am using SAADC in order to read values coming out of my current sense amplifier [INA180]. I am sensing the current through a fan which takes up to 0.27A. I basically want to detect when there is no current flowing through the path and report it accordingly. 

When using your saadc example - a negative value is detected when no current flows. A very small voltage count is detected when the fan is connected. However, when loading it in a project those 2 scenarios report the same values making it very hard for me to detect a change. I am not sure what is causing this as the saadc and channels are running the same configuration. I am planning on using this in non-blocking mode. Does using blocking mode make more sense?

I can post my code here if needed. 

Appreciate your time and help,