AnsweredAssumed Answered

Detecting overload or saturation condition in AD9361

Question asked by Brad-VS on Nov 28, 2017
Latest reply on Dec 6, 2017 by sripad

I'm using the AD9361 along with the No-OS driver. I would like to be able to detect when an RF signal is saturating/overloading the AD9361 such that the user must change the gain (manual mode) or remove the signal (fast/slow AGC). If in slow/fast-AGC mode the AGC can no longer compensate, at which point I alert the user that output may be unusable.  If in manual gain mode, I can alert the user to decrease gain or switch to AGC.


Looking at ad9361_api.h, I don't see anything readily available to check for overload or saturation.  I think I would have to create a function that reads the Large ADC overload bit and if it is set for a period longer than the AGC would take to compensate, then we can flag an overload condition to the user.  


Would you suggest using that method for detecting a saturation/overload condition? Or are there other registers/bits I should monitor?  Should I monitor the LMT in addition to ADC saturation?