Post Go back to editing

RF Overload GPIO

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!

  • 1. You can make use of "Rx1: APD upper threshold exceeded" from the monitor output signals,

    2. From GUI you can configure as below and test this,

    Or

    You can enable this using below python script,

    ############################################################
    # Setup GPIO #
    ############################################################
    Link.Mykonos.setupGpio(64, Mykonos.GPIO_MODE.GPIO_MONITOR_MODE, Mykonos.GPIO_MODE.GPIO_MONITOR_MODE, Mykonos.GPIO_MODE.GPIO_MONITOR_MODE, Mykonos.GPIO_MODE.GPIO_MONITOR_MODE, Mykonos.GPIO_MODE.GPIO_MONITOR_MODE)
    Link.Mykonos.setGpioMonitorOut(2, 64)