Hello,
I am looking for a way to monitor whether or not my AD9371's RX1 input is saturated in real time via GPIO. I am planning on leaving the device in AGC mode and I want it to output a GPIO if it ever reaches the condition where it cannot turn up the attenuation sufficiently to not be overloaded (i.e., it's already at the gain index corresponding to maximum attenuation).
I have the following questions:
1. Which GPIO is the one I should be monitoring? Looking at UG-992 Table 142 (on page 192) it looks like I have several options. Is index 0x02, bit 4 ("RX1: Digital Saturation") the correct bit I should be monitoring?
2. How can I enable this bit to be output on a certain GPIO (say GPIO_0)? I'm having trouble following the steps laid out in the UG.
Thanks in advance for the help!