Post Go back to editing

Default RFLoopback not working

Category: Software
Product Number: ADRV9002
Software Version: version: 0.24

Hi,

I am trying to perform a loopback test using the adrv9002-iiostream.c example from the libiio library on a ZCU102 + ADRV9002 setup.

Setup:

  • Hardware: ADRV9002 + ZCU102

  • Software: libiio (latest), using adrv9002-iiostream.c

  • HDL: Default Analog Devices reference HDL design for ZCU102, only modification is addition of ILA probes for debug

  • libiio app output:

iio_info

root@analog:/usr/local/src/libiio/build/examples# iio_info
Library version: 0.24 (git tag: accb7b5)
Compiled with backends: local xml ip usb serial
IIO context created with local backend.
Backend version: 0.24 (git tag: accb7b5)
Backend description string: Linux analog 6.1.0-271869-gb765e56b1147-dirty #1 SMP Sun Dec  8 17:15:16 +03 2024 aarch64
IIO context has 10 attributes:
        hw_carrier: ZynqMP ZCU102 Rev1.0
        hw_model: ADRV9002NP/W1/PCBZ on ZynqMP ZCU102 Rev1.0
        hw_mezzanine: ADRV9002NP/W1/PCBZ
        hw_name: ADRV9002 Cust.EVB
        hw_vendor: Analog Devices
        hw_serial: 27100048
        hdl_system_id: [adrv9001] [CMOS_LVDS_N=0] on [zcu102] git branch [hdl_2021_r2] git [d0336c0f6ff88061d906621c11b616145f96358e] clean [2024-09-19 05:51:33] UTC
        unique_id: e00d0e000107001e0020f06c6da9
        local,kernel: 6.1.0-271869-gb765e56b1147-dirty
        uri: local:
IIO context has 29 devices:
        hwmon0: ina226 (label: ina226-u76)
                4 channels found:
                        in0:  (input)
                        5 channel-specific attributes found:
                                attr  0: crit value: 0
                                attr  1: crit_alarm value: 0
                                attr  2: input value: 7
                                attr  3: lcrit value: 0
                                attr  4: lcrit_alarm value: 0
                        power1:  (input)
                        3 channel-specific attributes found:
                                attr  0: crit value: 0
                                attr  1: crit_alarm value: 0
                                attr  2: input value: 1275000
                        in1:  (input)
                        5 channel-specific attributes found:
                                attr  0: crit value: 0
                                attr  1: crit_alarm value: 0
                                attr  2: input value: 850
                                attr  3: lcrit value: 0
                                attr  4: lcrit_alarm value: 0
                        curr1:  (input)
                        1 channel-specific attributes found:
                                attr  0: input value: 1483
                2 device-specific attributes found:
                                attr  0: shunt_resistor value: 5000
                                attr  1: update_interval value: 35
                No trigger on this device
        hwmon1: ina226 (label: ina226-u77)
                4 channels found:
                        in0:  (input)
                        5 channel-specific attributes found:
                                attr  0: crit value: 0
                                attr  1: crit_alarm value: 0
                                attr  2: input value: 1
                                attr  3: lcrit value: 0
                                attr  4: lcrit_alarm value: 0
                        power1:  (input)
                        3 channel-specific attributes found:
                                attr  0: crit value: 0
                                attr  1: crit_alarm value: 0
                                attr  2: input value: 250000
                        in1:  (input)
                        5 channel-specific attributes found:
                                attr  0: crit value: 0
                                attr  1: crit_alarm value: 0
                                attr  2: input value: 849
                                attr  3: lcrit value: 0
                                attr  4: lcrit_alarm value: 0
                        curr1:  (input)
                        1 channel-specific attributes found:
                                attr  0: input value: 300
                2 device-specific attributes found:
                                attr  0: shunt_resistor value: 5000
                                attr  1: update_interval value: 35
                No trigger on this device
        hwmon10: ina226 (label: ina226-u79)
                4 channels found:
                        in0:  (input)
                        5 channel-specific attributes found:
                                attr  0: crit value: 0
                                attr  1: crit_alarm value: 0
                                attr  2: input value: 3
                                attr  3: lcrit value: 0
                                attr  4: lcrit_alarm value: 0
                        power1:  (input)
                        3 channel-specific attributes found:
                                attr  0: crit value: 0
                                attr  1: crit_alarm value: 0
                                attr  2: input value: 1343750
                        in1:  (input)
                        5 channel-specific attributes found:
                                attr  0: crit value: 0
                                attr  1: crit_alarm value: 0
                                attr  2: input value: 846
                                attr  3: lcrit value: 0
                                attr  4: lcrit_alarm value: 0
                        curr1:  (input)
                        1 channel-specific attributes found:
                                attr  0: input value: 1599
                2 device-specific attributes found:
                                attr  0: shunt_resistor value: 2000
                                attr  1: update_interval value: 35
                No trigger on this device
        hwmon11: ina226 (label: ina226-u81)
                4 channels found:
                        in0:  (input)
                        5 channel-specific attributes found:
                                attr  0: crit value: 0
                                attr  1: crit_alarm value: 0
                                attr  2: input value: 0
                                attr  3: lcrit value: 0
                                attr  4: lcrit_alarm value: 0
                        power1:  (input)
                        3 channel-specific attributes found:
                                attr  0: crit value: 0
                                attr  1: crit_alarm value: 0
                                attr  2: input value: 37500
                        in1:  (input)
                        5 channel-specific attributes found:
                                attr  0: crit value: 0
                                attr  1: crit_alarm value: 0
                                attr  2: input value: 849
                                attr  3: lcrit value: 0
                                attr  4: lcrit_alarm value: 0
                        curr1:  (input)
                        1 channel-specific attributes found:
                                attr  0: input value: 45
                2 device-specific attributes found:
                                attr  0: shunt_resistor value: 5000
                                attr  1: update_interval value: 35
                No trigger on this device
        hwmon12: ina226 (label: ina226-u80)
                4 channels found:
                        in0:  (input)
                        5 channel-specific attributes found:
                                attr  0: crit value: 0
                                attr  1: crit_alarm value: 0
                                attr  2: input value: 1
                                attr  3: lcrit value: 0
                                attr  4: lcrit_alarm value: 0
                        power1:  (input)
                        3 channel-specific attributes found:
                                attr  0: crit value: 0
                                attr  1: crit_alarm value: 0
                                attr  2: input value: 312500
                        in1:  (input)
                        5 channel-specific attributes found:
                                attr  0: crit value: 0
                                attr  1: crit_alarm value: 0
                                attr  2: input value: 1795
                                attr  3: lcrit value: 0
                                attr  4: lcrit_alarm value: 0
                        curr1:  (input)
                        1 channel-specific attributes found:
                                attr  0: input value: 176
                2 device-specific attributes found:
                                attr  0: shunt_resistor value: 5000
                                attr  1: update_interval value: 35
                No trigger on this device
        hwmon13: ina226 (label: ina226-u84)
                4 channels found:
                        in0:  (input)
                        5 channel-specific attributes found:
                                attr  0: crit value: 0
                                attr  1: crit_alarm value: 0
                                attr  2: input value: 0
                                attr  3: lcrit value: 0
                                attr  4: lcrit_alarm value: 0
                        power1:  (input)
                        3 channel-specific attributes found:
                                attr  0: crit value: 0
                                attr  1: crit_alarm value: 0
                                attr  2: input value: 25000
                        in1:  (input)
                        5 channel-specific attributes found:
                                attr  0: crit value: 0
                                attr  1: crit_alarm value: 0
                                attr  2: input value: 1198
                                attr  3: lcrit value: 0
                                attr  4: lcrit_alarm value: 0
                        curr1:  (input)
                        1 channel-specific attributes found:
                                attr  0: input value: 10
                2 device-specific attributes found:
                                attr  0: shunt_resistor value: 5000
                                attr  1: update_interval value: 35
                No trigger on this device
        hwmon14: ina226 (label: ina226-u16)
                4 channels found:
                        in0:  (input)
                        5 channel-specific attributes found:
                                attr  0: crit value: 0
                                attr  1: crit_alarm value: 0
                                attr  2: input value: 0
                                attr  3: lcrit value: 0
                                attr  4: lcrit_alarm value: 0
                        power1:  (input)
                        3 channel-specific attributes found:
                                attr  0: crit value: 0
                                attr  1: crit_alarm value: 0
                                attr  2: input value: 37500
                        in1:  (input)
                        5 channel-specific attributes found:
                                attr  0: crit value: 0
                                attr  1: crit_alarm value: 0
                                attr  2: input value: 3298
                                attr  3: lcrit value: 0
                                attr  4: lcrit_alarm value: 0
                        curr1:  (input)
                        1 channel-specific attributes found:
                                attr  0: input value: 13
                2 device-specific attributes found:
                                attr  0: shunt_resistor value: 5000
                                attr  1: update_interval value: 35
                No trigger on this device
        hwmon15: ina226 (label: ina226-u65)
                4 channels found:
                        in0:  (input)
                        5 channel-specific attributes found:
                                attr  0: crit value: 0
                                attr  1: crit_alarm value: 0
                                attr  2: input value: 0
                                attr  3: lcrit value: 0
                                attr  4: lcrit_alarm value: 0
                        power1:  (input)
                        3 channel-specific attributes found:
                                attr  0: crit value: 0
                                attr  1: crit_alarm value: 0
                                attr  2: input value: 125000
                        in1:  (input)
                        5 channel-specific attributes found:
                                attr  0: crit value: 0
                                attr  1: crit_alarm value: 0
                                attr  2: input value: 1800
                                attr  3: lcrit value: 0
                                attr  4: lcrit_alarm value: 0
                        curr1:  (input)
                        1 channel-specific attributes found:
                                attr  0: input value: 69
                2 device-specific attributes found:
                                attr  0: shunt_resistor value: 5000
                                attr  1: update_interval value: 35
                No trigger on this device
        hwmon16: ina226 (label: ina226-u74)
                4 channels found:
                        in0:  (input)
                        5 channel-specific attributes found:
                                attr  0: crit value: 0
                                attr  1: crit_alarm value: 0
                                attr  2: input value: 0
                                attr  3: lcrit value: 0
                                attr  4: lcrit_alarm value: 0
                        power1:  (input)
                        3 channel-specific attributes found:
                                attr  0: crit value: 0
                                attr  1: crit_alarm value: 0
                                attr  2: input value: 12500
                        in1:  (input)
                        5 channel-specific attributes found:
                                attr  0: crit value: 0
                                attr  1: crit_alarm value: 0
                                attr  2: input value: 899
                                attr  3: lcrit value: 0
                                attr  4: lcrit_alarm value: 0
                        curr1:  (input)
                        1 channel-specific attributes found:
                                attr  0: input value: 11
                2 device-specific attributes found:
                                attr  0: shunt_resistor value: 5000
                                attr  1: update_interval value: 35
                No trigger on this device
        hwmon17: ina226 (label: ina226-u75)
                4 channels found:
                        in0:  (input)
                        5 channel-specific attributes found:
                                attr  0: crit value: 0
                                attr  1: crit_alarm value: 0
                                attr  2: input value: 0
                                attr  3: lcrit value: 0
                                attr  4: lcrit_alarm value: 0
                        power1:  (input)
                        3 channel-specific attributes found:
                                attr  0: crit value: 0
                                attr  1: crit_alarm value: 0
                                attr  2: input value: 25000
                        in1:  (input)
                        5 channel-specific attributes found:
                                attr  0: crit value: 0
                                attr  1: crit_alarm value: 0
                                attr  2: input value: 1196
                                attr  3: lcrit value: 0
                                attr  4: lcrit_alarm value: 0
                        curr1:  (input)
                        1 channel-specific attributes found:
                                attr  0: input value: 17
                2 device-specific attributes found:
                                attr  0: shunt_resistor value: 5000
                                attr  1: update_interval value: 35
                No trigger on this device
        hwmon18: max20751
                5 channels found:
                        in2:  (input)
                        8 channel-specific attributes found:
                                attr  0: input value: 900
                                attr  1: label value: vout1
                                attr  2: lcrit value: 765
                                attr  3: lcrit_alarm value: 0
                                attr  4: max value: 1000
                                attr  5: max_alarm value: 0
                                attr  6: min value: 855
                                attr  7: min_alarm value: 0
                        curr1:  (input)
                        4 channel-specific attributes found:
                                attr  0: input value: 0
                                attr  1: label value: iout1
                                attr  2: max value: 511500
                                attr  3: max_alarm value: 0
                        in1:  (input)
                        7 channel-specific attributes found:
                                attr  0: alarm value: 0
                                attr  1: crit value: 15000
                                attr  2: input value: 11781
                                attr  3: label value: vin
                                attr  4: lcrit value: 4687
                                attr  5: max value: 14906
                                attr  6: min value: 4750
                        power1:  (input)
                        2 channel-specific attributes found:
                                attr  0: input value: 0
                                attr  1: label value: pout1
                        temp1:  (input)
                        7 channel-specific attributes found:
                                attr  0: crit value: 133000
                                attr  1: crit_alarm value: 0
                                attr  2: input value: 42000
                                attr  3: max value: 130000
                                attr  4: max_alarm value: 0
                                attr  5: min value: -40000
                                attr  6: min_alarm value: 0
                No trigger on this device
        hwmon19: max20751
                5 channels found:
                        in2:  (input)
                        8 channel-specific attributes found:
                                attr  0: input value: 1200
                                attr  1: label value: vout1
                                attr  2: lcrit value: 1100
                                attr  3: lcrit_alarm value: 0
                                attr  4: max value: 1375
                                attr  5: max_alarm value: 0
                                attr  6: min value: 1140
                                attr  7: min_alarm value: 0
                        curr1:  (input)
                        4 channel-specific attributes found:
                                attr  0: input value: 0
                                attr  1: label value: iout1
                                attr  2: max value: 511500
                                attr  3: max_alarm value: 0
                        in1:  (input)
                        7 channel-specific attributes found:
                                attr  0: alarm value: 0
                                attr  1: crit value: 15000
                                attr  2: input value: 11718
                                attr  3: label value: vin
                                attr  4: lcrit value: 4687
                                attr  5: max value: 14906
                                attr  6: min value: 4750
                        power1:  (input)
                        2 channel-specific attributes found:
                                attr  0: input value: 0
                                attr  1: label value: pout1
                        temp1:  (input)
                        7 channel-specific attributes found:
                                attr  0: crit value: 133000
                                attr  1: crit_alarm value: 0
                                attr  2: input value: 38000
                                attr  3: max value: 130000
                                attr  4: max_alarm value: 0
                                attr  5: min value: -40000
                                attr  6: min_alarm value: 0
                No trigger on this device
        hwmon2: ina226 (label: ina226-u78)
                4 channels found:
                        in0:  (input)
                        5 channel-specific attributes found:
                                attr  0: crit value: 0
                                attr  1: crit_alarm value: 0
                                attr  2: input value: 0
                                attr  3: lcrit value: 0
                                attr  4: lcrit_alarm value: 0
                        power1:  (input)
                        3 channel-specific attributes found:
                                attr  0: crit value: 0
                                attr  1: crit_alarm value: 0
                                attr  2: input value: 25000
                        in1:  (input)
                        5 channel-specific attributes found:
                                attr  0: crit value: 0
                                attr  1: crit_alarm value: 0
                                attr  2: input value: 1820
                                attr  3: lcrit value: 0
                                attr  4: lcrit_alarm value: 0
                        curr1:  (input)
                        1 channel-specific attributes found:
                                attr  0: input value: 10
                2 device-specific attributes found:
                                attr  0: shunt_resistor value: 5000
                                attr  1: update_interval value: 35
                No trigger on this device
        hwmon3: ina226 (label: ina226-u87)
                4 channels found:
                        in0:  (input)
                        5 channel-specific attributes found:
                                attr  0: crit value: 0
                                attr  1: crit_alarm value: 0
                                attr  2: input value: 0
                                attr  3: lcrit value: 0
                                attr  4: lcrit_alarm value: 0
                        power1:  (input)
                        3 channel-specific attributes found:
                                attr  0: crit value: 0
                                attr  1: crit_alarm value: 0
                                attr  2: input value: 37500
                        in1:  (input)
                        5 channel-specific attributes found:
                                attr  0: crit value: 0
                                attr  1: crit_alarm value: 0
                                attr  2: input value: 1199
                                attr  3: lcrit value: 0
                                attr  4: lcrit_alarm value: 0
                        curr1:  (input)
                        1 channel-specific attributes found:
                                attr  0: input value: 32
                2 device-specific attributes found:
                                attr  0: shunt_resistor value: 5000
                                attr  1: update_interval value: 35
                No trigger on this device
        hwmon4: ina226 (label: ina226-u85)
                4 channels found:
                        in0:  (input)
                        5 channel-specific attributes found:
                                attr  0: crit value: 0
                                attr  1: crit_alarm value: 0
                                attr  2: input value: 0
                                attr  3: lcrit value: 0
                                attr  4: lcrit_alarm value: 0
                        power1:  (input)
                        3 channel-specific attributes found:
                                attr  0: crit value: 0
                                attr  1: crit_alarm value: 0
                                attr  2: input value: 62500
                        in1:  (input)
                        5 channel-specific attributes found:
                                attr  0: crit value: 0
                                attr  1: crit_alarm value: 0
                                attr  2: input value: 848
                                attr  3: lcrit value: 0
                                attr  4: lcrit_alarm value: 0
                        curr1:  (input)
                        1 channel-specific attributes found:
                                attr  0: input value: 79
                2 device-specific attributes found:
                                attr  0: shunt_resistor value: 5000
                                attr  1: update_interval value: 35
                No trigger on this device
        hwmon5: ina226 (label: ina226-u86)
                4 channels found:
                        in0:  (input)
                        5 channel-specific attributes found:
                                attr  0: crit value: 0
                                attr  1: crit_alarm value: 0
                                attr  2: input value: 0
                                attr  3: lcrit value: 0
                                attr  4: lcrit_alarm value: 0
                        power1:  (input)
                        3 channel-specific attributes found:
                                attr  0: crit value: 0
                                attr  1: crit_alarm value: 0
                                attr  2: input value: 25000
                        in1:  (input)
                        5 channel-specific attributes found:
                                attr  0: crit value: 0
                                attr  1: crit_alarm value: 0
                                attr  2: input value: 1813
                                attr  3: lcrit value: 0
                                attr  4: lcrit_alarm value: 0
                        curr1:  (input)
                        1 channel-specific attributes found:
                                attr  0: input value: 12
                2 device-specific attributes found:
                                attr  0: shunt_resistor value: 5000
                                attr  1: update_interval value: 35
                No trigger on this device
        hwmon6: ina226 (label: ina226-u93)
                4 channels found:
                        in0:  (input)
                        5 channel-specific attributes found:
                                attr  0: crit value: 0
                                attr  1: crit_alarm value: 0
                                attr  2: input value: 1
                                attr  3: lcrit value: 0
                                attr  4: lcrit_alarm value: 0
                        power1:  (input)
                        3 channel-specific attributes found:
                                attr  0: crit value: 0
                                attr  1: crit_alarm value: 0
                                attr  2: input value: 200000
                        in1:  (input)
                        5 channel-specific attributes found:
                                attr  0: crit value: 0
                                attr  1: crit_alarm value: 0
                                attr  2: input value: 1189
                                attr  3: lcrit value: 0
                                attr  4: lcrit_alarm value: 0
                        curr1:  (input)
                        1 channel-specific attributes found:
                                attr  0: input value: 180
                2 device-specific attributes found:
                                attr  0: shunt_resistor value: 5000
                                attr  1: update_interval value: 35
                No trigger on this device
        hwmon7: ina226 (label: ina226-u88)
                4 channels found:
                        in0:  (input)
                        5 channel-specific attributes found:
                                attr  0: crit value: 0
                                attr  1: crit_alarm value: 0
                                attr  2: input value: 0
                                attr  3: lcrit value: 0
                                attr  4: lcrit_alarm value: 0
                        power1:  (input)
                        3 channel-specific attributes found:
                                attr  0: crit value: 0
                                attr  1: crit_alarm value: 0
                                attr  2: input value: 25000
                        in1:  (input)
                        5 channel-specific attributes found:
                                attr  0: crit value: 0
                                attr  1: crit_alarm value: 0
                                attr  2: input value: 1795
                                attr  3: lcrit value: 0
                                attr  4: lcrit_alarm value: 0
                        curr1:  (input)
                        1 channel-specific attributes found:
                                attr  0: input value: -16
                2 device-specific attributes found:
                                attr  0: shunt_resistor value: 5000
                                attr  1: update_interval value: 35
                No trigger on this device
        hwmon8: ina226 (label: ina226-u15)
                4 channels found:
                        in0:  (input)
                        5 channel-specific attributes found:
                                attr  0: crit value: 0
                                attr  1: crit_alarm value: 0
                                attr  2: input value: 0
                                attr  3: lcrit value: 0
                                attr  4: lcrit_alarm value: 0
                        power1:  (input)
                        3 channel-specific attributes found:
                                attr  0: crit value: 0
                                attr  1: crit_alarm value: 0
                                attr  2: input value: 0
                        in1:  (input)
                        5 channel-specific attributes found:
                                attr  0: crit value: 0
                                attr  1: crit_alarm value: 0
                                attr  2: input value: 1811
                                attr  3: lcrit value: 0
                                attr  4: lcrit_alarm value: 0
                        curr1:  (input)
                        1 channel-specific attributes found:
                                attr  0: input value: 0
                2 device-specific attributes found:
                                attr  0: shunt_resistor value: 5000
                                attr  1: update_interval value: 35
                No trigger on this device
        hwmon9: ina226 (label: ina226-u92)
                4 channels found:
                        in0:  (input)
                        5 channel-specific attributes found:
                                attr  0: crit value: 0
                                attr  1: crit_alarm value: 0
                                attr  2: input value: 0
                                attr  3: lcrit value: 0
                                attr  4: lcrit_alarm value: 0
                        power1:  (input)
                        3 channel-specific attributes found:
                                attr  0: crit value: 0
                                attr  1: crit_alarm value: 0
                                attr  2: input value: 37500
                        in1:  (input)
                        5 channel-specific attributes found:
                                attr  0: crit value: 0
                                attr  1: crit_alarm value: 0
                                attr  2: input value: 1811
                                attr  3: lcrit value: 0
                                attr  4: lcrit_alarm value: 0
                        curr1:  (input)
                        1 channel-specific attributes found:
                                attr  0: input value: 23
                2 device-specific attributes found:
                                attr  0: shunt_resistor value: 5000
                                attr  1: update_interval value: 35
                No trigger on this device
        iio:device0: xilinx-ams
                30 channels found:
                        voltage9:  (input)
                        2 channel-specific attributes found:
                                attr  0: raw value: 18501
                                attr  1: scale value: 0.045776367
                        temp20:  (input)
                        4 channel-specific attributes found:
                                attr  0: input value: 33759
                                attr  1: offset value: -36058
                                attr  2: raw value: 40320
                                attr  3: scale value: 7.771514892
                        voltage11:  (input)
                        2 channel-specific attributes found:
                                attr  0: raw value: 39739
                                attr  1: scale value: 0.045776367
                        voltage23:  (input)
                        2 channel-specific attributes found:
                                attr  0: raw value: 27317
                                attr  1: scale value: 0.045776367
                        voltage15:  (input)
                        2 channel-specific attributes found:
                                attr  0: raw value: 19484
                                attr  1: scale value: 0.091552734
                        voltage2:  (input)
                        2 channel-specific attributes found:
                                attr  0: raw value: 18541
                                attr  1: scale value: 0.045776367
                        temp8:  (input)
                        4 channel-specific attributes found:
                                attr  0: input value: 35313
                                attr  1: offset value: -36058
                                attr  2: raw value: 40486
                                attr  3: scale value: 7.771514892
                        voltage19:  (input)
                        2 channel-specific attributes found:
                                attr  0: raw value: 39658
                                attr  1: scale value: 0.045776367
                        voltage17:  (input)
                        2 channel-specific attributes found:
                                attr  0: raw value: 18494
                                attr  1: scale value: 0.045776367
                        voltage22:  (input)
                        2 channel-specific attributes found:
                                attr  0: raw value: 39222
                                attr  1: scale value: 0.045776367
                        temp7:  (input)
                        4 channel-specific attributes found:
                                attr  0: input value: 35811
                                attr  1: offset value: -36058
                                attr  2: raw value: 40470
                                attr  3: scale value: 7.771514892
                        voltage1:  (input)
                        2 channel-specific attributes found:
                                attr  0: raw value: 35693
                                attr  1: scale value: 0.045776367
                        voltage26:  (input)
                        2 channel-specific attributes found:
                                attr  0: raw value: 18472
                                attr  1: scale value: 0.045776367
                        voltage27:  (input)
                        2 channel-specific attributes found:
                                attr  0: raw value: 18561
                                attr  1: scale value: 0.045776367
                        voltage10:  (input)
                        2 channel-specific attributes found:
                                attr  0: raw value: 18544
                                attr  1: scale value: 0.045776367
                        voltage5:  (input)
                        2 channel-specific attributes found:
                                attr  0: raw value: 39515
                                attr  1: scale value: 0.045776367
                        voltage6:  (input)
                        2 channel-specific attributes found:
                                attr  0: raw value: 18462
                                attr  1: scale value: 0.045776367
                        voltage14:  (input)
                        2 channel-specific attributes found:
                                attr  0: raw value: 19445
                                attr  1: scale value: 0.091552734
                        voltage12:  (input)
                        2 channel-specific attributes found:
                                attr  0: raw value: 25953
                                attr  1: scale value: 0.045776367
                        voltage16:  (input)
                        2 channel-specific attributes found:
                                attr  0: raw value: 19458
                                attr  1: scale value: 0.091552734
                        voltage24:  (input)
                        2 channel-specific attributes found:
                                attr  0: raw value: 0
                                attr  1: scale value: 0.045776367
                        voltage3:  (input)
                        2 channel-specific attributes found:
                                attr  0: raw value: 18507
                                attr  1: scale value: 0.045776367
                        voltage18:  (input)
                        2 channel-specific attributes found:
                                attr  0: raw value: 39600
                                attr  1: scale value: 0.045776367
                        voltage28:  (input)
                        2 channel-specific attributes found:
                                attr  0: raw value: 39766
                                attr  1: scale value: 0.045776367
                        voltage21:  (input)
                        2 channel-specific attributes found:
                                attr  0: raw value: 18515
                                attr  1: scale value: 0.045776367
                        voltage0:  (input)
                        2 channel-specific attributes found:
                                attr  0: raw value: 26130
                                attr  1: scale value: 0.045776367
                        voltage13:  (input)
                        2 channel-specific attributes found:
                                attr  0: raw value: 19624
                                attr  1: scale value: 0.091552734
                        voltage25:  (input)
                        2 channel-specific attributes found:
                                attr  0: raw value: 18554
                                attr  1: scale value: 0.045776367
                        voltage4:  (input)
                        2 channel-specific attributes found:
                                attr  0: raw value: 39091
                                attr  1: scale value: 0.045776367
                        voltage29:  (input)
                        2 channel-specific attributes found:
                                attr  0: raw value: 39150
                                attr  1: scale value: 0.045776367
                1 device-specific attributes found:
                                attr  0: waiting_for_supplier value: 0
                No trigger on this device
        iio:device1: adrv9002-phy
                17 channels found:
                        voltage0:  (output)
                        25 channel-specific attributes found:
                                attr  0: atten_control_mode value: spi
                                attr  1: atten_control_mode_available value: bypass spi pin closed_loop_gain
                                attr  2: close_loop_gain_tracking_en value: 0
                                attr  3: dpd_frequency_hopping_regions value: 30000000,6000000000
                                attr  4: dpd_region0_coefficients value: 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0
                                attr  5: dpd_region1_coefficients value: 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,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0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0
                                attr 10: dpd_region6_coefficients value: 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0
                                attr 11: dpd_region7_coefficients value: 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0
                                attr 12: en value: 1
                                attr 13: ensm_mode value: rf_enabled
                                attr 14: ensm_mode_available value: calibrated primed rf_enabled
                                attr 15: hardwaregain value: 0.000000 dB
                                attr 16: lo_leakage_tracking_en value: 0
                                attr 17: loopback_delay_tracking_en value: 0
                                attr 18: nco_frequency ERROR: Unknown error 524
                                attr 19: pa_correction_tracking_en value: 0
                                attr 20: port_en_mode value: spi
                                attr 21: port_en_mode_available value: spi pin
                                attr 22: quadrature_tracking_en value: 0
                                attr 23: rf_bandwidth value: 1000000
                                attr 24: sampling_frequency value: 8000000
                        voltage0:  (input)
                        32 channel-specific attributes found:
                                attr  0: agc_tracking_en value: 1
                                attr  1: bbdc_loop_gain_raw value: 1048576
                                attr  2: bbdc_rejection_en value: 1
                                attr  3: bbdc_rejection_tracking_en value: 1
                                attr  4: decimated_power value: 31.500 dB
                                attr  5: digital_gain_control_mode value: spi
                                attr  6: digital_gain_control_mode_available value: automatic spi
                                attr  7: dynamic_adc_switch_en value: 0
                                attr  8: en value: 1
                                attr  9: ensm_mode value: rf_enabled
                                attr 10: ensm_mode_available value: calibrated primed rf_enabled
                                attr 11: gain_control_mode value: spi
                                attr 12: gain_control_mode_available value: spi pin automatic
                                attr 13: hardwaregain value: 0.000000 dB
                                attr 14: hd_tracking_en value: 0
                                attr 15: interface_gain value: 0dB
                                attr 16: interface_gain_available value: 0dB
                                attr 17: nco_frequency ERROR: Unknown error 524
                                attr 18: orx_bbdc_rejection_en ERROR: No such device (19)
                                attr 19: orx_en ERROR: No such device (19)
                                attr 20: orx_hardwaregain ERROR: No such device (19)
                                attr 21: orx_label value: orx
                                attr 22: orx_quadrature_w_poly_tracking_en ERROR: No such device (19)
                                attr 23: port_en_mode value: spi
                                attr 24: port_en_mode_available value: spi pin
                                attr 25: quadrature_fic_tracking_en value: 1
                                attr 26: quadrature_w_poly_tracking_en value: 0
                                attr 27: rf_bandwidth value: 1000000
                                attr 28: rfdc_tracking_en value: 1
                                attr 29: rssi value: 60.386 dB
                                attr 30: rssi_tracking_en value: 1
                                attr 31: sampling_frequency value: 8000000
                        voltage1:  (input)
                        32 channel-specific attributes found:
                                attr  0: agc_tracking_en value: 1
                                attr  1: bbdc_loop_gain_raw value: 1048576
                                attr  2: bbdc_rejection_en value: 1
                                attr  3: bbdc_rejection_tracking_en value: 1
                                attr  4: decimated_power value: 28.500 dB
                                attr  5: digital_gain_control_mode value: spi
                                attr  6: digital_gain_control_mode_available value: automatic spi
                                attr  7: dynamic_adc_switch_en value: 0
                                attr  8: en value: 1
                                attr  9: ensm_mode value: rf_enabled
                                attr 10: ensm_mode_available value: calibrated primed rf_enabled
                                attr 11: gain_control_mode value: spi
                                attr 12: gain_control_mode_available value: spi pin automatic
                                attr 13: hardwaregain value: 0.000000 dB
                                attr 14: hd_tracking_en value: 0
                                attr 15: interface_gain value: 0dB
                                attr 16: interface_gain_available value: 0dB
                                attr 17: nco_frequency ERROR: Unknown error 524
                                attr 18: orx_bbdc_rejection_en ERROR: No such device (19)
                                attr 19: orx_en ERROR: No such device (19)
                                attr 20: orx_hardwaregain ERROR: No such device (19)
                                attr 21: orx_label value: orx
                                attr 22: orx_quadrature_w_poly_tracking_en ERROR: No such device (19)
                                attr 23: port_en_mode value: spi
                                attr 24: port_en_mode_available value: spi pin
                                attr 25: quadrature_fic_tracking_en value: 1
                                attr 26: quadrature_w_poly_tracking_en value: 0
                                attr 27: rf_bandwidth value: 1000000
                                attr 28: rfdc_tracking_en value: 1
                                attr 29: rssi value: 27.783 dB
                                attr 30: rssi_tracking_en value: 1
                                attr 31: sampling_frequency value: 8000000
                        voltage1:  (output)
                        25 channel-specific attributes found:
                                attr  0: atten_control_mode value: spi
                                attr  1: atten_control_mode_available value: bypass spi pin closed_loop_gain
                                attr  2: close_loop_gain_tracking_en value: 0
                                attr  3: dpd_frequency_hopping_regions value: 30000000,6000000000
                                attr  4: dpd_region0_coefficients value: 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x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,0x0,0x0,0x0,0x0,0x0,0x0
                                attr  8: dpd_region4_coefficients value: 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0
                                attr  9: dpd_region5_coefficients value: 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0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,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0
                                attr 12: en value: 1
                                attr 13: ensm_mode value: rf_enabled
                                attr 14: ensm_mode_available value: calibrated primed rf_enabled
                                attr 15: hardwaregain value: 0.000000 dB
                                attr 16: lo_leakage_tracking_en value: 0
                                attr 17: loopback_delay_tracking_en value: 0
                                attr 18: nco_frequency ERROR: Unknown error 524
                                attr 19: pa_correction_tracking_en value: 0
                                attr 20: port_en_mode value: spi
                                attr 21: port_en_mode_available value: spi pin
                                attr 22: quadrature_tracking_en value: 0
                                attr 23: rf_bandwidth value: 1000000
                                attr 24: sampling_frequency value: 8000000
                        voltage3:  (output)
                        2 channel-specific attributes found:
                                attr  0: en value: 0
                                attr  1: input value: 50
                        altvoltage2: TX1_LO (output)
                        2 channel-specific attributes found:
                                attr  0: frequency value: 350000000
                                attr  1: label value: TX1_LO
                        voltage5:  (input)
                        2 channel-specific attributes found:
                                attr  0: en value: 0
                                attr  1: input value: 0
                        voltage3:  (input)
                        2 channel-specific attributes found:
                                attr  0: en value: 0
                                attr  1: input value: 0
                        voltage5:  (output)
                        2 channel-specific attributes found:
                                attr  0: en value: 0
                                attr  1: input value: 50
                        altvoltage1: RX2_LO (output)
                        2 channel-specific attributes found:
                                attr  0: frequency value: 350000000
                                attr  1: label value: RX2_LO
                        voltage2:  (input)
                        2 channel-specific attributes found:
                                attr  0: en value: 0
                                attr  1: input value: 0
                        voltage2:  (output)
                        2 channel-specific attributes found:
                                attr  0: en value: 0
                                attr  1: input value: 50
                        altvoltage0: RX1_LO (output)
                        2 channel-specific attributes found:
                                attr  0: frequency value: 350000000
                                attr  1: label value: RX1_LO
                        altvoltage3: TX2_LO (output)
                        2 channel-specific attributes found:
                                attr  0: frequency value: 350000000
                                attr  1: label value: TX2_LO
                        voltage4:  (output)
                        2 channel-specific attributes found:
                                attr  0: en value: 0
                                attr  1: input value: 50
                        voltage4:  (input)
                        2 channel-specific attributes found:
                                attr  0: en value: 0
                                attr  1: input value: 0
                        temp0:  (input)
                        1 channel-specific attributes found:
                                attr  0: input value: 63000
                17 device-specific attributes found:
                                attr  0: frequency_hopping_hop1_signal_trigger ERROR: Permission denied (13)
                                attr  1: frequency_hopping_hop1_table_a ERROR: Permission denied (13)
                                attr  2: frequency_hopping_hop1_table_b ERROR: Permission denied (13)
                                attr  3: frequency_hopping_hop1_table_select ERROR: Unknown error 524
                                attr  4: frequency_hopping_hop2_signal_trigger ERROR: Permission denied (13)
                                attr  5: frequency_hopping_hop2_table_a ERROR: Permission denied (13)
                                attr  6: frequency_hopping_hop2_table_b ERROR: Permission denied (13)
                                attr  7: frequency_hopping_hop2_table_select ERROR: Unknown error 524
                                attr  8: frequency_hopping_hop_table_select_available value: TABLE_A TABLE_B
                                attr  9: initial_calibrations value: off
                                attr 10: initial_calibrations_available value: off auto run
                                attr 11: multi_chip_sync ERROR: Permission denied (13)
                                attr 12: profile_config value: Device clk(Hz): 38400000
Clk PLL VCO(Hz): 4608000000
ARM Power Saving Clk Divider: 1
RX1 LO: L02
RX2 LO: L02
TX1 LO: L01
TX1 DPD enable: 0
TX2 LO: L01
TX2 DPD enable: 0
RX1 Gain Table Type: Correction
RX2 Gain Table Type: Correction
RX Channel Mask: 0xc3
TX Channel Mask: 0xc
Duplex Mode: FDD
FH enable: 0
MCS mode: Enabled RFPLL Phase
WarmBoot: Disabled
SSI interface: LVDS
                                attr 13: stream_config ERROR: Permission denied (13)
                                attr 14: waiting_for_supplier value: 0
                                attr 15: warmboot_coefficients ERROR: File too large (27)
                                attr 16: warmboot_coefficients_file value: Navassa_LVDS_init_cals.bin
                353 debug attributes found:
                                debug attr  0: agpio11_direction value: 0
                                debug attr  1: agpio11_value value: 0
                                debug attr  2: agpio10_direction value: 0
                                debug attr  3: agpio10_value value: 0
                                debug attr  4: agpio9_direction value: 0
                                debug attr  5: agpio9_value value: 0
                                debug attr  6: agpio8_direction value: 0
                                debug attr  7: agpio8_value value: 0
                                debug attr  8: agpio7_direction value: 0
                                debug attr  9: agpio7_value value: 0
                                debug attr 10: agpio6_direction value: 0
                                debug attr 11: agpio6_value value: 0
                                debug attr 12: agpio5_direction value: 0
                                debug attr 13: agpio5_value value: 0
                                debug attr 14: agpio4_direction value: 0
                                debug attr 15: agpio4_value value: 0
                                debug attr 16: agpio3_direction value: 0
                                debug attr 17: agpio3_value value: 0
                                debug attr 18: agpio2_direction value: 0
                                debug attr 19: agpio2_value value: 0
                                debug attr 20: agpio1_direction value: 0
                                debug attr 21: agpio1_value value: 0
                                debug attr 22: agpio0_direction value: 0
                                debug attr 23: agpio0_value value: 0
                                debug attr 24: dgpio15_direction value: 0
                                debug attr 25: dgpio15_value value: 1
                                debug attr 26: dgpio14_direction value: 0
                                debug attr 27: dgpio14_value value: 1
                                debug attr 28: dgpio13_direction value: 0
                                debug attr 29: dgpio13_value value: 1
                                debug attr 30: dgpio12_direction value: 0
                                debug attr 31: dgpio12_value value: 1
                                debug attr 32: dgpio11_direction value: 0
                                debug attr 33: dgpio11_value value: 0
                                debug attr 34: dgpio10_direction value: 0
                                debug attr 35: dgpio10_value value: 0
                                debug attr 36: dgpio9_direction value: 0
                                debug attr 37: dgpio9_value value: 0
                                debug attr 38: dgpio8_direction value: 0
                                debug attr 39: dgpio8_value value: 0
                                debug attr 40: dgpio7_direction value: 0
                                debug attr 41: dgpio7_value value: 0
                                debug attr 42: dgpio6_direction value: 0
                                debug attr 43: dgpio6_value value: 0
                                debug attr 44: dgpio5_direction value: 0
                                debug attr 45: dgpio5_value value: 0
                                debug attr 46: dgpio4_direction value: 0
                                debug attr 47: dgpio4_value value: 0
                                debug attr 48: dgpio3_direction value: 0
                                debug attr 49: dgpio3_value value: 0
                                debug attr 50: dgpio2_direction value: 0
                                debug attr 51: dgpio2_value value: 0
                                debug attr 52: dgpio1_direction value: 0
                                debug attr 53: dgpio1_value value: 0
                                debug attr 54: dgpio0_direction value: 0
                                debug attr 55: dgpio0_value value: 0
                                debug attr 56: fh_config_dump value: mode: 0
RX1 Hop Signal: 1
RX2 Hop Signal: 1
TX1 Hop Signal: 1
TX2 Hop Signal: 1
rxZeroIfEnable: 0
Hop Signal 1 pin: Unassigned
Hop Signal 2 pin: Unassigned
hopTableSelectMode: 0
Hop Signal 1 table select pin: Unassigned
Hop Signal 2 table select pin: Unassigned
minRxGainIndex: 0
maxRxGainIndex: 0
minTxAtten_mdB: 0
maxTxAtten_mdB: 0
minOperatingFrequency_Hz: 0
maxOperatingFrequency_Hz: 0
minFrameDuration_us: 0
txAnalogPowerOnFrameDelay: 0
tableIndexCtrl: 0
numTableIndexPins: 0
gainSetupByPin: 0
                                debug attr 57: fh_tx1_port_hop_signal value: 1
                                debug attr 58: fh_rx1_port_hop_signal value: 1
                                debug attr 59: fh_tx0_port_hop_signal value: 0
                                debug attr 60: fh_rx0_port_hop_signal value: 0
                                debug attr 61: fh_hop2_table_b_dump ERROR: Bad address (14)
                                debug attr 62: fh_hop2_table_a_dump ERROR: Bad address (14)
                                debug attr 63: fh_hop2_table_select_pin_set value: 0
                                debug attr 64: fh_hop2_pin_set value: 0
                                debug attr 65: fh_hop1_table_b_dump ERROR: Bad address (14)
                                debug attr 66: fh_hop1_table_a_dump ERROR: Bad address (14)
                                debug attr 67: fh_hop1_table_select_pin_set value: 0
                                debug attr 68: fh_hop1_pin_set value: 0
                                debug attr 69: fh_hop_table_mode_select value: 0
                                debug attr 70: fh_table_index_control_pin6 value: 0
                                debug attr 71: fh_table_index_control_pin5 value: 0
                                debug attr 72: fh_table_index_control_pin4 value: 0
                                debug attr 73: fh_table_index_control_pin3 value: 0
                                debug attr 74: fh_table_index_control_pin2 value: 0
                                debug attr 75: fh_table_index_control_pin1 value: 0
                                debug attr 76: fh_table_index_control_npins value: 0
                                debug attr 77: fh_table_index_control_mode value: 0
                                debug attr 78: fh_max_lo_freq_hz value: 6000000000
                                debug attr 79: fh_min_lo_freq_hz value: 25000000
                                debug attr 80: fh_min_frame_duration_us value: 0
                                debug attr 81: fh_mode value: 3
                                debug attr 82: fh_max_tx_atten_mdb value: 41950
                                debug attr 83: fh_min_tx_atten_mdb value: 0
                                debug attr 84: fh_rx_zero_if_en value: Y
                                debug attr 85: fh_tx_analog_power_on_frame_delay value: 0
                                debug attr 86: fh_max_rx_gain value: 255
                                debug attr 87: fh_min_rx_gain value: 187
                                debug attr 88: rx1_mcs_delays value: readDelay: 1
sampleDelay: 0
                                debug attr 89: rx1_mcs_sample_delay value: 0
                                debug attr 90: rx1_mcs_read_delay value: 1
                                debug attr 91: rx1_carrier_hz value: 0
                                debug attr 92: rx1_near_end_loopback ERROR: Permission denied (13)
                                debug attr 93: rx1_enablement_delays value: fall_to_off_delay: 0
guard_delay: 0
hold_delay: 0
rise_to_analog_on_delay: 0
rise_to_on_delay: 0
                                debug attr 94: rx1_rise_to_on_delay_ns value: 0
                                debug attr 95: rx1_rise_to_analog_delay_ns value: 0
                                debug attr 96: rx1_hold_delay_ns value: 0
                                debug attr 97: rx1_guard_delay_ns value: 0
                                debug attr 98: rx1_fall_to_off_delay_ns value: 0
                                debug attr 99: rx1_ssi_q_data_delay value: 0
                                debug attr 100: rx1_ssi_i_data_delay value: 0
                                debug attr 101: rx1_ssi_strobe_delay value: 0
                                debug attr 102: rx1_ssi_clk_delay value: 0
                                debug attr 103: rx1_agc_peak.feedback_apd_high_hb_high value: 0
                                debug attr 104: rx1_agc_peak.feedback_apd_low_hb_low value: 0
                                debug attr 105: rx1_agc_peak.hbUnderRangeLowThreshExceededCount value: 3
                                debug attr 106: rx1_agc_peak.hbUnderRangeMidThreshExceededCount value: 3
                                debug attr 107: rx1_agc_peak.hbOverloadPowerMode value: 0
                                debug attr 108: rx1_agc_peak.hbGainStepAttack value: 2
                                debug attr 109: rx1_agc_peak.hbGainStepMidRecovery value: 4
                                debug attr 110: rx1_agc_peak.hbGainStepLowRecovery value: 6
                                debug attr 111: rx1_agc_peak.hbGainStepHighRecovery value: 2
                                debug attr 112: rx1_agc_peak.hbUnderRangeHighThreshExceededCount value: 3
                                debug attr 113: rx1_agc_peak.hbUpperThreshPeakExceededCount value: 6
                                debug attr 114: rx1_agc_peak.hbUnderRangeHighThresh value: 7335
                                debug attr 115: rx1_agc_peak.hbUnderRangeMidThresh value: 8230
                                debug attr 116: rx1_agc_peak.hbUnderRangeLowThresh value: 5826
                                debug attr 117: rx1_agc_peak.hbHighThresh value: 13044
                                debug attr 118: rx1_agc_peak.hbOverloadThreshCount value: 1
                                debug attr 119: rx1_agc_peak.hbOverloadDurationCount value: 1
                                debug attr 120: rx1_agc_peak.enableHbOverload value: Y
                                debug attr 121: rx1_agc_peak.apdGainStepRecovery value: 0
                                debug attr 122: rx1_agc_peak.apdGainStepAttack value: 2
                                debug attr 123: rx1_agc_peak.apdLowerThreshPeakExceededCount value: 3
                                debug attr 124: rx1_agc_peak.apdUpperThreshPeakExceededCount value: 6
                                debug attr 125: rx1_agc_peak.apdLowThresh value: 12
                                debug attr 126: rx1_agc_peak.apdHighThresh value: 21
                                debug attr 127: rx1_agc_peak.agcUnderRangeHighInterval value: 4
                                debug attr 128: rx1_agc_peak.agcUnderRangeMidInterval value: 2
                                debug attr 129: rx1_agc_peak.agcUnderRangeLowInterval value: 50
                                debug attr 130: rx1_agc_power.feedback_apd_high_apd_low value: 0
                                debug attr 131: rx1_agc_power.feedback_inner_high_inner_low value: 0
                                debug attr 132: rx1_agc_power.overRangeLowPowerGainStepAttack value: 4
                                debug attr 133: rx1_agc_power.overRangeHighPowerGainStepAttack value: 4
                                debug attr 134: rx1_agc_power.overRangeLowPowerThresh value: 7
                                debug attr 135: rx1_agc_power.overRangeHighPowerThresh value: 0
                                debug attr 136: rx1_agc_power.rxTddPowerMeasDelay value: 0
                                debug attr 137: rx1_agc_power.rxTddPowerMeasDuration value: 0
                                debug attr 138: rx1_agc_power.powerMeasurementDelay value: 2
                                debug attr 139: rx1_agc_power.powerMeasurementDuration value: 10
                                debug attr 140: rx1_agc_power.underRangeLowPowerGainStepRecovery value: 4
                                debug attr 141: rx1_agc_power.underRangeHighPowerGainStepRecovery value: 2
                                debug attr 142: rx1_agc_power.underRangeLowPowerThresh value: 4
                                debug attr 143: rx1_agc_power.underRangeHighPowerThresh value: 10
                                debug attr 144: rx1_agc_power.powerEnableMeasurement value: Y
                                debug attr 145: rx1_agc_enableFastRecoveryLoop value: N
                                debug attr 146: rx1_agc_enableSyncPulseForGainCounter value: N
                                debug attr 147: rx1_agc_resetOnRxonGainIndex value: 255
                                debug attr 148: rx1_agc_resetOnRxon value: N
                                debug attr 149: rx1_agc_agcMode value: 1
                                debug attr 150: rx1_agc_changeGainIfThreshHigh value: 3
                                debug attr 151: rx1_agc_lowThreshPreventGainInc value: N
                                debug attr 152: rx1_agc_slowLoopSettlingDelay value: 16
                                debug attr 153: rx1_agc_attackDelay_us value: 10
                                debug attr 154: rx1_agc_gainUpdateCounter value: 11520
                                debug attr 155: rx1_agc_minGainIndex value: 187
                                debug attr 156: rx1_agc_maxGainIndex value: 255
                                debug attr 157: rx1_agc_peakWaitTime value: 4
                                debug attr 158: rx1_ssi_test_mode_configure ERROR: Permission denied (13)
                                debug attr 159: rx1_ssi_test_mode_fixed_pattern value: 0
                                debug attr 160: rx1_ssi_test_mode_data value: TESTMODE_DATA_NORMAL
                                debug attr 161: rx1_agc_config value: peakWaitTime: 4
maxGainIndex: 255
minGainIndex: 187
gainUpdateCounter: 11520
attackDelay_us: 10
slowLoopSettlingDelay: 16
lowThreshPreventGainInc: 0
changeGainIfThreshHigh: 3
agcMode: 1
resetOnRxon: 0
resetOnRxonGainIndex: 255
enableSyncPulseForGainCounter: 0
enableFastRecoveryLoop: 0
power.powerEnableMeasurement: 1
power.underRangeHighPowerThresh: 10
power.underRangeLowPowerThresh: 4
power.underRangeHighPowerGainStepRecovery: 2
power.underRangeLowPowerGainStepRecovery: 4
power.powerMeasurementDuration: 10
power.powerMeasurementDelay: 2
power.rxTddPowerMeasDuration: 0
power.rxTddPowerMeasDelay: 0
power.overRangeHighPowerThresh: 0
power.overRangeLowPowerThresh: 7
power.overRangeHighPowerGainStepAttack: 4
power.overRangeLowPowerGainStepAttack: 4
power.feedback_inner_high_inner_low: 0
power.feedback_apd_high_apd_low: 0
peak.agcUnderRangeLowInterval: 50
peak.agcUnderRangeMidInterval: 2
peak.agcUnderRangeHighInterval: 4
peak.apdHighThresh: 21
peak.apdLowThresh: 12
peak.apdUpperThreshPeakExceededCount: 6
peak.apdLowerThreshPeakExceededCount: 3
peak.apdGainStepAttack: 2
peak.apdGainStepRecovery: 0
peak.enableHbOverload: 1
peak.hbOverloadDurationCount: 1
peak.hbOverloadThreshCount: 1
peak.hbHighThresh: 13044
peak.hbUnderRangeLowThresh: 5826
peak.hbUnderRangeMidThresh: 8230
peak.hbUnderRangeHighThresh: 7335
peak.hbUpperThreshPeakExceededCount: 6
peak.hbUnderRangeHighThreshExceededCount: 3
peak.hbGainStepHighRecovery: 2
peak.hbGainStepLowRecovery: 6
peak.hbGainStepMidRecovery: 4
peak.hbGainStepAttack: 2
peak.hbOverloadPowerMode: 0
peak.hbUnderRangeMidThreshExceededCount: 3
peak.hbUnderRangeLowThreshExceededCount: 3
peak.feedback_apd_low_hb_low: 0
peak.feedback_apd_high_hb_high: 0
                                debug attr 162: rx1_gain_control_pin_mode value: min_gain_index: 187
max_gain_index: 255
increment_step_size: 1
decrement_step_size: 1
increment_pin: dgpio0
decrement_pin: dgpio0
                                debug attr 163: rx1_adc_type value: HP
                                debug attr 164: rx0_mcs_delays value: readDelay: 1
sampleDelay: 0
                                debug attr 165: rx0_mcs_sample_delay value: 0
                                debug attr 166: rx0_mcs_read_delay value: 1
                                debug attr 167: rx0_carrier_hz value: 0
                                debug attr 168: rx0_near_end_loopback ERROR: Permission denied (13)
                                debug attr 169: rx0_enablement_delays value: fall_to_off_delay: 0
guard_delay: 0
hold_delay: 0
rise_to_analog_on_delay: 0
rise_to_on_delay: 0
                                debug attr 170: rx0_rise_to_on_delay_ns value: 0
                                debug attr 171: rx0_rise_to_analog_delay_ns value: 0
                                debug attr 172: rx0_hold_delay_ns value: 0
                                debug attr 173: rx0_guard_delay_ns value: 0
                                debug attr 174: rx0_fall_to_off_delay_ns value: 0
                                debug attr 175: rx0_ssi_q_data_delay value: 0
                                debug attr 176: rx0_ssi_i_data_delay value: 0
                                debug attr 177: rx0_ssi_strobe_delay value: 0
                                debug attr 178: rx0_ssi_clk_delay value: 0
                                debug attr 179: rx0_agc_peak.feedback_apd_high_hb_high value: 0
                                debug attr 180: rx0_agc_peak.feedback_apd_low_hb_low value: 0
                                debug attr 181: rx0_agc_peak.hbUnderRangeLowThreshExceededCount value: 3
                                debug attr 182: rx0_agc_peak.hbUnderRangeMidThreshExceededCount value: 3
                                debug attr 183: rx0_agc_peak.hbOverloadPowerMode value: 0
                                debug attr 184: rx0_agc_peak.hbGainStepAttack value: 2
                                debug attr 185: rx0_agc_peak.hbGainStepMidRecovery value: 4
                                debug attr 186: rx0_agc_peak.hbGainStepLowRecovery value: 6
                                debug attr 187: rx0_agc_peak.hbGainStepHighRecovery value: 2
                                debug attr 188: rx0_agc_peak.hbUnderRangeHighThreshExceededCount value: 3
                                debug attr 189: rx0_agc_peak.hbUpperThreshPeakExceededCount value: 6
                                debug attr 190: rx0_agc_peak.hbUnderRangeHighThresh value: 7335
                                debug attr 191: rx0_agc_peak.hbUnderRangeMidThresh value: 8230
                                debug attr 192: rx0_agc_peak.hbUnderRangeLowThresh value: 5826
                                debug attr 193: rx0_agc_peak.hbHighThresh value: 13044
                                debug attr 194: rx0_agc_peak.hbOverloadThreshCount value: 1
                                debug attr 195: rx0_agc_peak.hbOverloadDurationCount value: 1
                                debug attr 196: rx0_agc_peak.enableHbOverload value: Y
                                debug attr 197: rx0_agc_peak.apdGainStepRecovery value: 0
                                debug attr 198: rx0_agc_peak.apdGainStepAttack value: 2
                                debug attr 199: rx0_agc_peak.apdLowerThreshPeakExceededCount value: 3
                                debug attr 200: rx0_agc_peak.apdUpperThreshPeakExceededCount value: 6
                                debug attr 201: rx0_agc_peak.apdLowThresh value: 12
                                debug attr 202: rx0_agc_peak.apdHighThresh value: 21
                                debug attr 203: rx0_agc_peak.agcUnderRangeHighInterval value: 4
                                debug attr 204: rx0_agc_peak.agcUnderRangeMidInterval value: 2
                                debug attr 205: rx0_agc_peak.agcUnderRangeLowInterval value: 50
                                debug attr 206: rx0_agc_power.feedback_apd_high_apd_low value: 0
                                debug attr 207: rx0_agc_power.feedback_inner_high_inner_low value: 0
                                debug attr 208: rx0_agc_power.overRangeLowPowerGainStepAttack value: 4
                                debug attr 209: rx0_agc_power.overRangeHighPowerGainStepAttack value: 4
                                debug attr 210: rx0_agc_power.overRangeLowPowerThresh value: 7
                                debug attr 211: rx0_agc_power.overRangeHighPowerThresh value: 0
                                debug attr 212: rx0_agc_power.rxTddPowerMeasDelay value: 0
                                debug attr 213: rx0_agc_power.rxTddPowerMeasDuration value: 0
                                debug attr 214: rx0_agc_power.powerMeasurementDelay value: 2
                                debug attr 215: rx0_agc_power.powerMeasurementDuration value: 10
                                debug attr 216: rx0_agc_power.underRangeLowPowerGainStepRecovery value: 4
                                debug attr 217: rx0_agc_power.underRangeHighPowerGainStepRecovery value: 2
                                debug attr 218: rx0_agc_power.underRangeLowPowerThresh value: 4
                                debug attr 219: rx0_agc_power.underRangeHighPowerThresh value: 10
                                debug attr 220: rx0_agc_power.powerEnableMeasurement value: Y
                                debug attr 221: rx0_agc_enableFastRecoveryLoop value: N
                                debug attr 222: rx0_agc_enableSyncPulseForGainCounter value: N
                                debug attr 223: rx0_agc_resetOnRxonGainIndex value: 255
                                debug attr 224: rx0_agc_resetOnRxon value: N
                                debug attr 225: rx0_agc_agcMode value: 1
                                debug attr 226: rx0_agc_changeGainIfThreshHigh value: 3
                                debug attr 227: rx0_agc_lowThreshPreventGainInc value: N
                                debug attr 228: rx0_agc_slowLoopSettlingDelay value: 16
                                debug attr 229: rx0_agc_attackDelay_us value: 10
                                debug attr 230: rx0_agc_gainUpdateCounter value: 11520
                                debug attr 231: rx0_agc_minGainIndex value: 187
                                debug attr 232: rx0_agc_maxGainIndex value: 255
                                debug attr 233: rx0_agc_peakWaitTime value: 4
                                debug attr 234: rx0_ssi_test_mode_configure ERROR: Permission denied (13)
                                debug attr 235: rx0_ssi_test_mode_fixed_pattern value: 0
                                debug attr 236: rx0_ssi_test_mode_data value: TESTMODE_DATA_NORMAL
                                debug attr 237: rx0_agc_config value: peakWaitTime: 4
maxGainIndex: 255
minGainIndex: 187
gainUpdateCounter: 11520
attackDelay_us: 10
slowLoopSettlingDelay: 16
lowThreshPreventGainInc: 0
changeGainIfThreshHigh: 3
agcMode: 1
resetOnRxon: 0
resetOnRxonGainIndex: 255
enableSyncPulseForGainCounter: 0
enableFastRecoveryLoop: 0
power.powerEnableMeasurement: 1
power.underRangeHighPowerThresh: 10
power.underRangeLowPowerThresh: 4
power.underRangeHighPowerGainStepRecovery: 2
power.underRangeLowPowerGainStepRecovery: 4
power.powerMeasurementDuration: 10
power.powerMeasurementDelay: 2
power.rxTddPowerMeasDuration: 0
power.rxTddPowerMeasDelay: 0
power.overRangeHighPowerThresh: 0
power.overRangeLowPowerThresh: 7
power.overRangeHighPowerGainStepAttack: 4
power.overRangeLowPowerGainStepAttack: 4
power.feedback_inner_high_inner_low: 0
power.feedback_apd_high_apd_low: 0
peak.agcUnderRangeLowInterval: 50
peak.agcUnderRangeMidInterval: 2
peak.agcUnderRangeHighInterval: 4
peak.apdHighThresh: 21
peak.apdLowThresh: 12
peak.apdUpperThreshPeakExceededCount: 6
peak.apdLowerThreshPeakExceededCount: 3
peak.apdGainStepAttack: 2
peak.apdGainStepRecovery: 0
peak.enableHbOverload: 1
peak.hbOverloadDurationCount: 1
peak.hbOverloadThreshCount: 1
peak.hbHighThresh: 13044
peak.hbUnderRangeLowThresh: 5826
peak.hbUnderRangeMidThresh: 8230
peak.hbUnderRangeHighThresh: 7335
peak.hbUpperThreshPeakExceededCount: 6
peak.hbUnderRangeHighThreshExceededCount: 3
peak.hbGainStepHighRecovery: 2
peak.hbGainStepLowRecovery: 6
peak.hbGainStepMidRecovery: 4
peak.hbGainStepAttack: 2
peak.hbOverloadPowerMode: 0
peak.hbUnderRangeMidThreshExceededCount: 3
peak.hbUnderRangeLowThreshExceededCount: 3
peak.feedback_apd_low_hb_low: 0
peak.feedback_apd_high_hb_high: 0
                                debug attr 238: rx0_gain_control_pin_mode value: min_gain_index: 187
max_gain_index: 255
increment_step_size: 1
decrement_step_size: 1
increment_pin: dgpio0
decrement_pin: dgpio0
                                debug attr 239: rx0_adc_type value: HP
                                debug attr 240: tx1_mcs_delays value: readDelay: 0
sampleDelay: 0
                                debug attr 241: tx1_mcs_sample_delay value: 0
                                debug attr 242: tx1_mcs_read_delay value: 0
                                debug attr 243: tx1_mcs_strobe_delay value: 5
                                debug attr 244: tx1_carrier_hz value: 0
                                debug attr 245: tx1_capture_delay_us value: 0
                                debug attr 246: tx1_clgc_filter_alpha value: 0
                                debug attr 247: tx1_clgc_gain_target_hundredthdB value: 0
                                debug attr 248: tx1_clgc_loop_open value: 0
                                debug attr 249: tx1_time_filter_coefficient value: 0
                                debug attr 250: tx1_immediate_lut_switching value: Y
                                debug attr 251: tx1_counts_greater_than_peak_threshold value: 0
                                debug attr 252: tx1_counts_less_than_power_threshold value: 4096
                                debug attr 253: tx1_detection_peak_threshold value: 0
                                debug attr 254: tx1_detection_power_threshold value: 0
                                debug attr 255: tx1_rxtx_normalization_upper_threshold value: 33954698
                                debug attr 256: tx1_rxtx_normalization_lower_threshold value: 3395470
                                debug attr 257: tx1_additional_power_scale value: 4
                                debug attr 258: tx1_samples_number value: 4096
                                debug attr 259: tx1_model_order_tap3 value: 0
                                debug attr 260: tx1_model_order_tap2 value: 0
                                debug attr 261: tx1_model_order_tap1 value: 0
                                debug attr 262: tx1_model_order_tap0 value: 0
                                debug attr 263: tx1_change_model_tap_orders value: N
                                debug attr 264: tx1_pre_lut_scale value: 8
                                debug attr 265: tx1_clgc_enable value: 0
                                debug attr 266: tx1_lut_size value: 1
                                debug attr 267: tx1_dpd_monitor value: numberOfIterations: 0
numberOfSuccessfulIterations: 0
txPeakPower_100th_dB: 0
rxPeakPower_100th_dB: 0
txAvgPower_100th_dB: 0
rxAvgPower_100th_dB: 0
                                debug attr 268: tx1_external_path_delay_calibrate value: 0
                                debug attr 269: tx1_dpd_reset_luts ERROR: Permission denied (13)
                                debug attr 270: tx1_external_path_delay_ps value: 0
                                debug attr 271: tx1_dpd_enable value: Y
                                debug attr 272: tx1_dpd_config value: numberOfSamples: 4096
additionalPowerScale: 4
rxTxNormalizationLowerThreshold: 3395469
rxTxNormalizationUpperThreshold: 33954696
detectionPowerThreshold: 0
detectionPeakThreshold: 0
countsLessThanPowerThreshold: 4096
countsGreaterThanPeakThreshold: 0
immediateLutSwitching: 1
timeFilterCoefficient: 0
clgcLoopOpen: 0
clgcFilterAlpha: 0
clgcGainTarget_HundredthdB: 0
clgcLastGain_HundredthdB: 0
clgcFilteredGain_HundredthdB: 0
                                debug attr 273: tx1_dpd_init_config value: enable: 0
amplifierType: 1
lutSize: 0
model: 4
changeModelTapOrders: 0
tap0: 0x1f tap1: 0x7f tap2: 0x1f tap3: 0x1e
preLutScale: 2
clgcEnable: 0
                                debug attr 274: tx1_enablement_delays value: fall_to_off_delay: 0
guard_delay: 0
hold_delay: 0
rise_to_analog_on_delay: 0
rise_to_on_delay: 0
                                debug attr 275: tx1_rise_to_on_delay_ns value: 0
                                debug attr 276: tx1_rise_to_analog_delay_ns value: 0
                                debug attr 277: tx1_hold_delay_ns value: 0
                                debug attr 278: tx1_guard_delay_ns value: 0
                                debug attr 279: tx1_fall_to_off_delay_ns value: 0
                                debug attr 280: tx1_ssi_q_data_delay value: 0
                                debug attr 281: tx1_ssi_i_data_delay value: 0
                                debug attr 282: tx1_ssi_strobe_delay value: 0
                                debug attr 283: tx1_ssi_refclk_delay value: 0
                                debug attr 284: tx1_ssi_clk_delay value: 0
                                debug attr 285: tx1_ssi_test_mode_loopback_en value: 0
                                debug attr 286: tx1_ssi_test_mode_status value: dataError: 1
fifoFull: 0
fifoEmpty: 1
strobeAlignError: 0
                                debug attr 287: tx1_ssi_test_mode_configure ERROR: Permission denied (13)
                                debug attr 288: tx1_ssi_test_mode_fixed_pattern value: 0
                                debug attr 289: tx1_ssi_test_mode_data value: TESTMODE_DATA_NORMAL
                                debug attr 290: tx1_dac_boost_en value: 0
                                debug attr 291: tx1_attenuation_pin_control value: step_size_mdB: 0
increment_pin: dgpio0
decrement_pin: dgpio0
                                debug attr 292: tx0_mcs_delays value: readDelay: 0
sampleDelay: 0
                                debug attr 293: tx0_mcs_sample_delay value: 0
                                debug attr 294: tx0_mcs_read_delay value: 0
                                debug attr 295: tx0_mcs_strobe_delay value: 65535
                                debug attr 296: tx0_carrier_hz value: 0
                                debug attr 297: tx0_capture_delay_us value: 0
                                debug attr 298: tx0_clgc_filter_alpha value: 0
                                debug attr 299: tx0_clgc_gain_target_hundredthdB value: 0
                                debug attr 300: tx0_clgc_loop_open value: 0
                                debug attr 301: tx0_time_filter_coefficient value: 0
                                debug attr 302: tx0_immediate_lut_switching value: Y
                                debug attr 303: tx0_counts_greater_than_peak_threshold value: 0
                                debug attr 304: tx0_counts_less_than_power_threshold value: 4096
                                debug attr 305: tx0_detection_peak_threshold value: 0
                                debug attr 306: tx0_detection_power_threshold value: 0
                                debug attr 307: tx0_rxtx_normalization_upper_threshold value: 33954698
                                debug attr 308: tx0_rxtx_normalization_lower_threshold value: 3395470
                                debug attr 309: tx0_additional_power_scale value: 4
                                debug attr 310: tx0_samples_number value: 4096
                                debug attr 311: tx0_model_order_tap3 value: 0
                                debug attr 312: tx0_model_order_tap2 value: 0
                                debug attr 313: tx0_model_order_tap1 value: 0
                                debug attr 314: tx0_model_order_tap0 value: 0
                                debug attr 315: tx0_change_model_tap_orders value: N
                                debug attr 316: tx0_pre_lut_scale value: 8
                                debug attr 317: tx0_clgc_enable value: 0
                                debug attr 318: tx0_lut_size value: 1
                                debug attr 319: tx0_dpd_monitor value: numberOfIterations: 0
numberOfSuccessfulIterations: 0
txPeakPower_100th_dB: 0
rxPeakPower_100th_dB: 0
txAvgPower_100th_dB: 0
rxAvgPower_100th_dB: 0
                                debug attr 320: tx0_external_path_delay_calibrate value: 0
                                debug attr 321: tx0_dpd_reset_luts ERROR: Permission denied (13)
                                debug attr 322: tx0_external_path_delay_ps value: 0
                                debug attr 323: tx0_dpd_enable value: Y
                                debug attr 324: tx0_dpd_config value: numberOfSamples: 4096
additionalPowerScale: 4
rxTxNormalizationLowerThreshold: 3395469
rxTxNormalizationUpperThreshold: 33954696
detectionPowerThreshold: 0
detectionPeakThreshold: 0
countsLessThanPowerThreshold: 4096
countsGreaterThanPeakThreshold: 0
immediateLutSwitching: 1
timeFilterCoefficient: 0
clgcLoopOpen: 0
clgcFilterAlpha: 0
clgcGainTarget_HundredthdB: 0
clgcLastGain_HundredthdB: 0
clgcFilteredGain_HundredthdB: 0
                                debug attr 325: tx0_dpd_init_config value: enable: 0
amplifierType: 1
lutSize: 0
model: 4
changeModelTapOrders: 0
tap0: 0x1f tap1: 0x7f tap2: 0x1f tap3: 0x1e
preLutScale: 2
clgcEnable: 0
                                debug attr 326: tx0_enablement_delays value: fall_to_off_delay: 0
guard_delay: 0
hold_delay: 0
rise_to_analog_on_delay: 0
rise_to_on_delay: 0
                                debug attr 327: tx0_rise_to_on_delay_ns value: 0
                                debug attr 328: tx0_rise_to_analog_delay_ns value: 0
                                debug attr 329: tx0_hold_delay_ns value: 0
                                debug attr 330: tx0_guard_delay_ns value: 0
                                debug attr 331: tx0_fall_to_off_delay_ns value: 0
                                debug attr 332: tx0_ssi_q_data_delay value: 0
                                debug attr 333: tx0_ssi_i_data_delay value: 0
                                debug attr 334: tx0_ssi_strobe_delay value: 0
                                debug attr 335: tx0_ssi_refclk_delay value: 0
                                debug attr 336: tx0_ssi_clk_delay value: 0
                                debug attr 337: tx0_ssi_test_mode_loopback_en value: 0
                                debug attr 338: tx0_ssi_test_mode_status value: dataError: 1
fifoFull: 0
fifoEmpty: 1
strobeAlignError: 0
                                debug attr 339: tx0_ssi_test_mode_configure ERROR: Permission denied (13)
                                debug attr 340: tx0_ssi_test_mode_fixed_pattern value: 0
                                debug attr 341: tx0_ssi_test_mode_data value: TESTMODE_DATA_NORMAL
                                debug attr 342: tx0_dac_boost_en value: 0
                                debug attr 343: tx0_attenuation_pin_control value: step_size_mdB: 0
increment_pin: dgpio0
decrement_pin: dgpio0
                                debug attr 344: dev_clkout_div value: 1
                                debug attr 345: mcs_status value: rf1PllSyncStatus.jesdSyncComplete: 1
rf1PllSyncStatus.digitalClocksSyncComplete: 1
rf1PllSyncStatus.clockGenDividerSyncComplete: 1
rf1PllSyncStatus.sdmClockDividerSyncComplete: 1
rf1PllSyncStatus.referenceClockDividerSyncComplete: 1
rf2PllSyncStatus.jesdSyncComplete: 1
rf2PllSyncStatus.digitalClocksSyncComplete: 1
rf2PllSyncStatus.clockGenDividerSyncComplete: 1
rf2PllSyncStatus.sdmClockDividerSyncComplete: 1
rf2PllSyncStatus.referenceClockDividerSyncComplete: 1
clkPllSyncStatus.jesdSyncComplete: 0
clkPllSyncStatus.digitalClocksSyncComplete: 0
clkPllSyncStatus.clockGenDividerSyncComplete: 0
clkPllSyncStatus.sdmClockDividerSyncComplete: 0
clkPllSyncStatus.referenceClockDividerSyncComplete: 0
clkPllLpSyncStatus.jesdSyncComplete: 1
clkPllLpSyncStatus.digitalClocksSyncComplete: 1
clkPllLpSyncStatus.clockGenDividerSyncComplete: 1
clkPllLpSyncStatus.sdmClockDividerSyncComplete: 1
clkPllLpSyncStatus.referenceClockDividerSyncComplete: 1
firstDigitalSyncComplete: 1
secondDigitalSyncComplete: 1
rfPll1Phase_degrees: 0
rfPll2Phase_degrees: 0
                                debug attr 346: api_version value: 68.13.7
                                debug attr 347: ssi_delays value: rx0_ClkDelay: 0
rx0_StrobeDelay: 4
rx0_rxIDataDelay: 4
rx0_rxQDataDelay: 4
tx0_ClkDelay: 0
tx0_RefClkDelay: 0
tx0_StrobeDelay: 4
tx0_rxIDataDelay: 4
tx0_rxQDataDelay: 4
rx1_ClkDelay: 0
rx1_StrobeDelay: 4
rx1_rxIDataDelay: 4
rx1_rxQDataDelay: 4
tx1_ClkDelay: 7
tx1_RefClkDelay: 0
tx1_StrobeDelay: 3
tx1_rxIDataDelay: 3
tx1_rxQDataDelay: 3
                                debug attr 348: tx_ssi_test_mode_data_available value: TESTMODE_DATA_NORMAL
TESTMODE_DATA_FIXED_PATTERN
TESTMODE_DATA_PRBS15
TESTMODE_DATA_PRBS7
                                debug attr 349: rx_ssi_test_mode_data_available value: TESTMODE_DATA_NORMAL
TESTMODE_DATA_FIXED_PATTERN
TESTMODE_DATA_RAMP_16_BIT
TESTMODE_DATA_PRBS15
TESTMODE_DATA_PRBS7
                                debug attr 350: pll_status value: Clock: Unlocked
Clock LP: Locked
LO1: Locked
LO2: Locked
AUX: Unlocked
                                debug attr 351: initialize ERROR: Permission denied (13)
                                debug attr 352: direct_reg_access value: 0x3C
                No trigger on this device
        iio:device2: axi-adrv9002-rx-lpc (buffer capable)
                2 channels found:
                        voltage0_i:  (input, index: 0, format: le:S16/16>>0)
                        1 channel-specific attributes found:
                                attr  0: sampling_frequency value: 8000000
                        voltage0_q:  (input, index: 1, format: le:S16/16>>0)
                        1 channel-specific attributes found:
                                attr  0: sampling_frequency value: 8000000
                3 device-specific attributes found:
                                attr  0: sync_start_enable value: disarm
                                attr  1: sync_start_enable_available value: arm
                                attr  2: waiting_for_supplier value: 0
                3 buffer-specific attributes found:
                                attr  0: data_available value: 12288
                                attr  1: direction value: in
                                attr  2: length_align_bytes value: 8
                2 debug attributes found:
                                debug attr  0: pseudorandom_err_check value: CH0 : PN15 : Out of Sync : PN Error
CH1 : PN15 : Out of Sync : PN Error
                                debug attr  1: direct_reg_access value: 0xA0262
                No trigger on this device
        iio:device3: axi-adrv9002-rx2-lpc (buffer capable)
                2 channels found:
                        voltage0_i:  (input, index: 0, format: le:S16/16>>0)
                        1 channel-specific attributes found:
                                attr  0: sampling_frequency value: 8000000
                        voltage0_q:  (input, index: 1, format: le:S16/16>>0)
                        1 channel-specific attributes found:
                                attr  0: sampling_frequency value: 8000000
                1 device-specific attributes found:
                                attr  0: waiting_for_supplier value: 0
                3 buffer-specific attributes found:
                                attr  0: data_available value: 0
                                attr  1: direction value: in
                                attr  2: length_align_bytes value: 8
                1 debug attributes found:
                                debug attr  0: direct_reg_access value: 0xA0262
                No trigger on this device
        iio:device4: axi-core-tdd (label: axi-core-tdd-1)
                4 channels found:
                        data1:  (output, WARN:iio_channel_get_type()=UNKNOWN)
                        12 channel-specific attributes found:
                                attr  0: dp_off_ms value: 0.000000
                                attr  1: dp_off_raw value: 0
                                attr  2: dp_on_ms value: 0.000000
                                attr  3: dp_on_raw value: 0
                                attr  4: off_ms value: 0.000000
                                attr  5: off_raw value: 0
                                attr  6: on_ms value: 0.000000
                                attr  7: on_raw value: 0
                                attr  8: vco_off_ms value: 0.000000
                                attr  9: vco_off_raw value: 0
                                attr 10: vco_on_ms value: 0.000000
                                attr 11: vco_on_raw value: 0
                        data0:  (input, WARN:iio_channel_get_type()=UNKNOWN)
                        12 channel-specific attributes found:
                                attr  0: dp_off_ms value: 0.000000
                                attr  1: dp_off_raw value: 0
                                attr  2: dp_on_ms value: 0.000000
                                attr  3: dp_on_raw value: 0
                                attr  4: off_ms value: 0.000000
                                attr  5: off_raw value: 0
                                attr  6: on_ms value: 0.000000
                                attr  7: on_raw value: 0
                                attr  8: vco_off_ms value: 0.000000
                                attr  9: vco_off_raw value: 0
                                attr 10: vco_on_ms value: 0.000000
                                attr 11: vco_on_raw value: 0
                        data1:  (input, WARN:iio_channel_get_type()=UNKNOWN)
                        12 channel-specific attributes found:
                                attr  0: dp_off_ms value: 0.000000
                                attr  1: dp_off_raw value: 0
                                attr  2: dp_on_ms value: 0.000000
                                attr  3: dp_on_raw value: 0
                                attr  4: off_ms value: 0.000000
                                attr  5: off_raw value: 0
                                attr  6: on_ms value: 0.000000
                                attr  7: on_raw value: 0
                                attr  8: vco_off_ms value: 0.000000
                                attr  9: vco_off_raw value: 0
                                attr 10: vco_on_ms value: 0.000000
                                attr 11: vco_on_raw value: 0
                        data0:  (output, WARN:iio_channel_get_type()=UNKNOWN)
                        12 channel-specific attributes found:
                                attr  0: dp_off_ms value: 0.000000
                                attr  1: dp_off_raw value: 0
                                attr  2: dp_on_ms value: 0.000000
                                attr  3: dp_on_raw value: 0
                                attr  4: off_ms value: 0.000000
                                attr  5: off_raw value: 0
                                attr  6: on_ms value: 0.000000
                                attr  7: on_raw value: 0
                                attr  8: vco_off_ms value: 0.000000
                                attr  9: vco_off_raw value: 0
                                attr 10: vco_on_ms value: 0.000000
                                attr 11: vco_on_raw value: 0
                12 device-specific attributes found:
                                attr  0: burst_count value: 0
                                attr  1: counter_int value: 0
                                attr  2: dma_gateing_mode value: none
                                attr  3: dma_gateing_mode_available value: none rx_only tx_only rx_tx
                                attr  4: en value: 0
                                attr  5: en_mode value: rx_tx
                                attr  6: en_mode_available value: rx_tx rx_only tx_only
                                attr  7: frame_length_ms value: 0.000000
                                attr  8: frame_length_raw value: 0
                                attr  9: secondary value: 0
                                attr 10: sync_terminal_type value: 0
                                attr 11: waiting_for_supplier value: 0
                1 debug attributes found:
                                debug attr  0: direct_reg_access value: 0x10061
                No trigger on this device
        iio:device5: axi-core-tdd (label: axi-core-tdd-2)
                4 channels found:
                        data1:  (output, WARN:iio_channel_get_type()=UNKNOWN)
                        12 channel-specific attributes found:
                                attr  0: dp_off_ms value: 0.000000
                                attr  1: dp_off_raw value: 0
                                attr  2: dp_on_ms value: 0.000000
                                attr  3: dp_on_raw value: 0
                                attr  4: off_ms value: 0.000000
                                attr  5: off_raw value: 0
                                attr  6: on_ms value: 0.000000
                                attr  7: on_raw value: 0
                                attr  8: vco_off_ms value: 0.000000
                                attr  9: vco_off_raw value: 0
                                attr 10: vco_on_ms value: 0.000000
                                attr 11: vco_on_raw value: 0
                        data0:  (input, WARN:iio_channel_get_type()=UNKNOWN)
                        12 channel-specific attributes found:
                                attr  0: dp_off_ms value: 0.000000
                                attr  1: dp_off_raw value: 0
                                attr  2: dp_on_ms value: 0.000000
                                attr  3: dp_on_raw value: 0
                                attr  4: off_ms value: 0.000000
                                attr  5: off_raw value: 0
                                attr  6: on_ms value: 0.000000
                                attr  7: on_raw value: 0
                                attr  8: vco_off_ms value: 0.000000
                                attr  9: vco_off_raw value: 0
                                attr 10: vco_on_ms value: 0.000000
                                attr 11: vco_on_raw value: 0
                        data1:  (input, WARN:iio_channel_get_type()=UNKNOWN)
                        12 channel-specific attributes found:
                                attr  0: dp_off_ms value: 0.000000
                                attr  1: dp_off_raw value: 0
                                attr  2: dp_on_ms value: 0.000000
                                attr  3: dp_on_raw value: 0
                                attr  4: off_ms value: 0.000000
                                attr  5: off_raw value: 0
                                attr  6: on_ms value: 0.000000
                                attr  7: on_raw value: 0
                                attr  8: vco_off_ms value: 0.000000
                                attr  9: vco_off_raw value: 0
                                attr 10: vco_on_ms value: 0.000000
                                attr 11: vco_on_raw value: 0
                        data0:  (output, WARN:iio_channel_get_type()=UNKNOWN)
                        12 channel-specific attributes found:
                                attr  0: dp_off_ms value: 0.000000
                                attr  1: dp_off_raw value: 0
                                attr  2: dp_on_ms value: 0.000000
                                attr  3: dp_on_raw value: 0
                                attr  4: off_ms value: 0.000000
                                attr  5: off_raw value: 0
                                attr  6: on_ms value: 0.000000
                                attr  7: on_raw value: 0
                                attr  8: vco_off_ms value: 0.000000
                                attr  9: vco_off_raw value: 0
                                attr 10: vco_on_ms value: 0.000000
                                attr 11: vco_on_raw value: 0
                12 device-specific attributes found:
                                attr  0: burst_count value: 0
                                attr  1: counter_int value: 0
                                attr  2: dma_gateing_mode value: none
                                attr  3: dma_gateing_mode_available value: none rx_only tx_only rx_tx
                                attr  4: en value: 0
                                attr  5: en_mode value: rx_tx
                                attr  6: en_mode_available value: rx_tx rx_only tx_only
                                attr  7: frame_length_ms value: 0.000000
                                attr  8: frame_length_raw value: 0
                                attr  9: secondary value: 0
                                attr 10: sync_terminal_type value: 0
                                attr 11: waiting_for_supplier value: 0
                1 debug attributes found:
                                debug attr  0: direct_reg_access value: 0x10061
                No trigger on this device
        iio:device6: axi-adrv9002-tx-lpc (buffer capable)
                6 channels found:
                        voltage0:  (output, index: 0, format: le:S16/16>>0)
                        3 channel-specific attributes found:
                                attr  0: calibphase value: 0.000000
                                attr  1: calibscale value: 0.000000
                                attr  2: sampling_frequency value: 8000000
                        voltage1:  (output, index: 1, format: le:S16/16>>0)
                        3 channel-specific attributes found:
                                attr  0: calibphase value: 0.000000
                                attr  1: calibscale value: 0.000000
                                attr  2: sampling_frequency value: 8000000
                        altvoltage3: TX1_Q_F2 (output)
                        6 channel-specific attributes found:
                                attr  0: frequency value: 1999908
                                attr  1: label value: TX1_Q_F2
                                attr  2: phase value: 0
                                attr  3: raw value: 1
                                attr  4: sampling_frequency value: 8000000
                                attr  5: scale value: 0.125000
                        altvoltage2: TX1_Q_F1 (output)
                        6 channel-specific attributes found:
                                attr  0: frequency value: 1999908
                                attr  1: label value: TX1_Q_F1
                                attr  2: phase value: 0
                                attr  3: raw value: 1
                                attr  4: sampling_frequency value: 8000000
                                attr  5: scale value: 0.125000
                        altvoltage1: TX1_I_F2 (output)
                        6 channel-specific attributes found:
                                attr  0: frequency value: 1999908
                                attr  1: label value: TX1_I_F2
                                attr  2: phase value: 90000
                                attr  3: raw value: 1
                                attr  4: sampling_frequency value: 8000000
                                attr  5: scale value: 0.125000
                        altvoltage0: TX1_I_F1 (output)
                        6 channel-specific attributes found:
                                attr  0: frequency value: 1999908
                                attr  1: label value: TX1_I_F1
                                attr  2: phase value: 90000
                                attr  3: raw value: 1
                                attr  4: sampling_frequency value: 8000000
                                attr  5: scale value: 0.125000
                3 device-specific attributes found:
                                attr  0: sync_start_enable value: disarm
                                attr  1: sync_start_enable_available value: arm
                                attr  2: waiting_for_supplier value: 0
                3 buffer-specific attributes found:
                                attr  0: data_available value: 0
                                attr  1: direction value: out
                                attr  2: length_align_bytes value: 8
                1 debug attributes found:
                                debug attr  0: direct_reg_access value: 0x90162
                No trigger on this device
        iio:device7: axi-adrv9002-tx2-lpc (buffer capable)
                6 channels found:
                        voltage0:  (output, index: 0, format: le:S16/16>>0)
                        3 channel-specific attributes found:
                                attr  0: calibphase value: 0.000000
                                attr  1: calibscale value: 0.000000
                                attr  2: sampling_frequency value: 8000000
                        voltage1:  (output, index: 1, format: le:S16/16>>0)
                        3 channel-specific attributes found:
                                attr  0: calibphase value: 0.000000
                                attr  1: calibscale value: 0.000000
                                attr  2: sampling_frequency value: 8000000
                        altvoltage3: TX1_Q_F2 (output)
                        6 channel-specific attributes found:
                                attr  0: frequency value: 1999908
                                attr  1: label value: TX1_Q_F2
                                attr  2: phase value: 0
                                attr  3: raw value: 1
                                attr  4: sampling_frequency value: 8000000
                                attr  5: scale value: 0.125000
                        altvoltage2: TX1_Q_F1 (output)
                        6 channel-specific attributes found:
                                attr  0: frequency value: 1999908
                                attr  1: label value: TX1_Q_F1
                                attr  2: phase value: 0
                                attr  3: raw value: 1
                                attr  4: sampling_frequency value: 8000000
                                attr  5: scale value: 0.125000
                        altvoltage1: TX1_I_F2 (output)
                        6 channel-specific attributes found:
                                attr  0: frequency value: 1999908
                                attr  1: label value: TX1_I_F2
                                attr  2: phase value: 90000
                                attr  3: raw value: 1
                                attr  4: sampling_frequency value: 8000000
                                attr  5: scale value: 0.125000
                        altvoltage0: TX1_I_F1 (output)
                        6 channel-specific attributes found:
                                attr  0: frequency value: 1999908
                                attr  1: label value: TX1_I_F1
                                attr  2: phase value: 90000
                                attr  3: raw value: 1
                                attr  4: sampling_frequency value: 8000000
                                attr  5: scale value: 0.125000
                3 device-specific attributes found:
                                attr  0: sync_start_enable value: disarm
                                attr  1: sync_start_enable_available value: arm
                                attr  2: waiting_for_supplier value: 0
                3 buffer-specific attributes found:
                                attr  0: data_available value: 0
                                attr  1: direction value: out
                                attr  2: length_align_bytes value: 8
                1 debug attributes found:
                                debug attr  0: direct_reg_access value: 0x90162
                No trigger on this device
        iio_sysfs_trigger:
                0 channels found:
                2 device-specific attributes found:
                                attr  0: add_trigger ERROR: Permission denied (13)
                                attr  1: remove_trigger ERROR: Permission denied (13)
                No trigger on this device
root@analog:/usr/local/src/libiio/build/examp

adrv9002-iiostream.c
// SPDX-License-Identifier: GPL-2.0-or-later
/*

 * libiio - Library for interfacing industrial I/O (IIO) devices
 *
 * Copyright (C) 2021 Analog Devices, Inc.
 * Author: Nuno Sá <nuno.sa@analog.com>
 */
////X///////////////////////X////////////////////X////////////////////////X///
// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * libiio - Library for interfacing industrial I/O (IIO) devices
 *
 * Copyright (C) 2021 Analog Devices, Inc.
 * Author: Nuno Sá <nuno.sa@analog.com>
 */
#include <iio.h>
#include <stdio.h>
#include <stdint.h>
#include <signal.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include <stdbool.h>

#define ARGS(fmt, ...)	__VA_ARGS__
#define FMT(fmt, ...)	fmt
#define error(...) \
	printf("%s, %d: ERROR: " FMT(__VA_ARGS__, 0)"%s", __func__, __LINE__, ARGS(__VA_ARGS__, ""))

#define info(...) \
	printf("%s, %d: INFO: " FMT(__VA_ARGS__, 0)"%s", __func__, __LINE__, ARGS(__VA_ARGS__, ""))

/* helper macros */
#define GHZ(x) ((long long)(x * 1000000000.0 + .5))

#define MHZ(x) ((long long)(x * 1000000.0 + .5))  // Define MHZ helper macro

static bool stop = false;
static struct iio_context *ctx = NULL;
static struct iio_buffer *rxbuf = NULL;
static struct iio_buffer *txbuf = NULL;
static struct iio_channel *rx_chan[2] = { NULL, NULL };
static struct iio_channel *tx_chan[2] = { NULL, NULL };

enum {
	I_CHAN,
	Q_CHAN
};

#ifdef _WIN32
#include <windows.h>
#include <io.h>
#include <fcntl.h>

BOOL WINAPI sig_handler(DWORD dwCtrlType)
{
	/* Runs in its own thread */
	switch (dwCtrlType) {
	case CTRL_C_EVENT:
	case CTRL_CLOSE_EVENT:
		stop = true;
		return true;
	default:
		return false;
	}
}

static int register_signals(void)
{
	if (!SetConsoleCtrlHandler(sig_handler, TRUE))
		return -1;

	return 0;
}
#else
static void sig_handler(int signum)
{
	if (signum == SIGINT || signum == SIGTERM) {
		info("Exit....\n");
		stop = true;
	}
}

static int register_signals(void)
{
	struct sigaction sa = {0};
	sigset_t mask = {0};

	sa.sa_handler = sig_handler;
	sigemptyset(&sa.sa_mask);
	sigemptyset(&mask);

	if (sigaction(SIGTERM, &sa, NULL) < 0) {
		error("sigaction: %s\n", strerror(errno));
		return -1;
	}

	if (sigaction(SIGINT, &sa, NULL) < 0) {
		error("sigaction: %s\n", strerror(errno));
		return -1;
	}

	sigaddset(&mask, SIGINT);
	sigaddset(&mask, SIGTERM);
	/* make sure these signals are unblocked */
	if (sigprocmask(SIG_UNBLOCK, &mask, NULL)) {
		error("sigprocmask: %s", strerror(errno));
		return -1;
	}

	return 0;
}
#endif

static int configure_tx_lo(void)
{
	struct iio_device *phy;
	struct iio_channel *chan;
	int ret;
	long long val;

	phy = iio_context_find_device(ctx, "adrv9002-phy");
	if (!phy) {
		error("Could not find adrv9002_phy\n");
		return -ENODEV;
	}

	chan = iio_device_find_channel(phy, "voltage0", true);
	if (!chan) {
		error("Could not find TX voltage0 channel\n");
		return -ENODEV;
	}

	/* printout some useful info */
	ret = iio_channel_attr_read_longlong(chan, "rf_bandwidth", &val);
	if (ret)
		return ret;

	info("adrv9002 bandwidth: %lld\n", val);

	ret = iio_channel_attr_read_longlong(chan, "sampling_frequency", &val);
	if (ret)
		return ret;

	info("adrv9002 sampling_frequency: %lld\n", val);

	/* set the LO to 2.5GHz */
	val = GHZ(2.5);
	chan = iio_device_find_channel(phy, "altvoltage2", true);
	if (!chan) {
		error("Could not find TX LO channel\n");
		return -ENODEV;
	}

	return iio_channel_attr_write_longlong(chan, "TX1_LO_frequency", val);
}

static void cleanup(void)
{
	int c;

	if (rxbuf)
		iio_buffer_destroy(rxbuf);

	if (txbuf)
		iio_buffer_destroy(txbuf);

	for (c = 0; c < 2; c++) {
		if (rx_chan[c])
			iio_channel_disable(rx_chan[c]);

		if (tx_chan[c])
			iio_channel_disable(tx_chan[c]);
	}

	iio_context_destroy(ctx);
}

static int stream_channels_get_enable(const struct iio_device *dev, struct iio_channel **chan,
				      bool tx)
{
	int c;
	const char * const channels[] = {
		"voltage0_i", "voltage0_q", "voltage0", "voltage1"
	};

	for (c = 0; c < 2; c++) {
		const char *str = channels[tx * 2 + c];

		chan[c] = iio_device_find_channel(dev, str, tx);
		if (!chan[c]) {
			error("Could not find %s channel tx=%d\n", str, tx);
			return -ENODEV;
		}

		iio_channel_enable(chan[c]);
	}

	return 0;
}

static void stream(ssize_t rx_sample, ssize_t tx_sample)
{
	const struct iio_channel *rx_i_chan = rx_chan[I_CHAN];
	const struct iio_channel *tx_i_chan = tx_chan[I_CHAN];
	ssize_t nrx = 0;
	ssize_t ntx = 0;

	//while (!stop) {
		ssize_t nbytes_rx, nbytes_tx;
		int16_t *p_dat, *p_end;
		ptrdiff_t p_inc;
		int16_t rx_counter=0;
		int16_t tx_counter=0;
     /* WRITE: Get pointers to TX buf and write IQ to TX buf port 0 */
		p_inc = iio_buffer_step(txbuf);
		p_end = iio_buffer_end(txbuf);
		for (p_dat = iio_buffer_first(txbuf, tx_i_chan); p_dat < p_end;
		     p_dat += p_inc / sizeof(*p_dat)) {
			p_dat[0] = 10; /* Real (I) */
			p_dat[1] = 2; /* Imag (Q) */
			tx_counter =tx_counter+1;
			printf("Tx Samples[%d]:   i:%d,   q:%d \n",tx_counter,p_dat[0],p_dat[1]);
		}
		nbytes_tx = iio_buffer_push(txbuf);
		if (nbytes_tx < 0) {
			error("Error pushing buf %zd\n", nbytes_tx);
			return;
		}

		nbytes_rx = iio_buffer_refill(rxbuf);
		if (nbytes_rx < 0) {
			error("Error refilling buf %zd\n", nbytes_rx);
			return;
		}

		/* READ: Get pointers to RX buf and read IQ from RX buf port 0 */
		p_inc = iio_buffer_step(rxbuf);
		p_end = iio_buffer_end(rxbuf);
		for (p_dat = iio_buffer_first(rxbuf, rx_i_chan); p_dat < p_end;
		     p_dat += p_inc / sizeof(*p_dat)) {
        int16_t i0 = p_dat[0];
        int16_t q0 = p_dat[1];

        // Assuming next channel is RX1, move pointer forward accordingly
        int16_t i1 = p_dat[2];
        int16_t q1 = p_dat[3];
		rx_counter =rx_counter+1;
		 printf("RX Data [%d]:    I0 = %d,    Q0 = %d     I1 = %d,    Q1 = %d\n\n ",rx_counter, i0, q0, i1, q1);
		}

		

		nrx += nbytes_rx / rx_sample;
		ntx += nbytes_tx / tx_sample;
		info("\tRX %8.2f MSmp, TX %8.2f MSmp\n", nrx / 1e6, ntx / 1e6);
	//}
}

int main(void)
{
	struct iio_device *tx;
	struct iio_device *rx;
	ssize_t tx_sample_sz, rx_sample_sz;
	int ret;

	if (register_signals() < 0)
		return EXIT_FAILURE;

	ctx = iio_create_default_context();
	if (!ctx) {
		error("Could not create IIO context\n");
		return EXIT_FAILURE;
	}

	//ret = configure_tx_lo();
	//if (ret)
	//	goto clean;

	tx = iio_context_find_device(ctx, "axi-adrv9002-tx2-lpc");
	if (!tx) {
		ret = EXIT_FAILURE;
		goto clean;
	}

	rx = iio_context_find_device(ctx, "axi-adrv9002-rx2-lpc");
	if (!rx) {
		ret = EXIT_FAILURE;
		goto clean;
	}

	ret = stream_channels_get_enable(rx, rx_chan, false);
	if (ret)
		goto clean;

	ret = stream_channels_get_enable(tx, tx_chan, true);
	if (ret)
		goto clean;

	info("* Creating non-cyclic IIO buffers with 1 MiS\n");
	rxbuf = iio_device_create_buffer(rx,  10, true);
	if (!rxbuf) {
		error("Could not create RX buffer: %s\n", strerror(errno));
		ret = EXIT_FAILURE;
		goto clean;
	}

	txbuf = iio_device_create_buffer(tx,  10, true);
	if (!txbuf) {
		error("Could not create TX buffer: %s\n", strerror(errno));
		ret = EXIT_FAILURE;
		goto clean;
	}

	tx_sample_sz = iio_device_get_sample_size(tx);
	rx_sample_sz = iio_device_get_sample_size(rx);
    
	stream(rx_sample_sz, tx_sample_sz);

clean:
	cleanup();
	return ret;
}

Hardware setup:

output I got:

root@analog:/usr/local/src/libiio/build/examples# ./adrv9002-iiostream
main, 301: INFO: * Creating non-cyclic IIO buffers with 1 MiS
Tx Samples[1]:   i:10,   q:2
Tx Samples[2]:   i:10,   q:2
Tx Samples[3]:   i:10,   q:2
Tx Samples[4]:   i:10,   q:2
Tx Samples[5]:   i:10,   q:2
Tx Samples[6]:   i:10,   q:2
Tx Samples[7]:   i:10,   q:2
Tx Samples[8]:   i:10,   q:2
Tx Samples[9]:   i:10,   q:2
Tx Samples[10]:   i:10,   q:2
RX Data [1]:    I0 = 1274,    Q0 = 401     I1 = -400,    Q1 = 1276

 RX Data [2]:    I0 = -400,    Q0 = 1276     I1 = -1277,    Q1 = -399

 RX Data [3]:    I0 = -1277,    Q0 = -399     I1 = 399,    Q1 = -1273

 RX Data [4]:    I0 = 399,    Q0 = -1273     I1 = 1279,    Q1 = 400

 RX Data [5]:    I0 = 1279,    Q0 = 400     I1 = -397,    Q1 = 1274

 RX Data [6]:    I0 = -397,    Q0 = 1274     I1 = -1276,    Q1 = -399

 RX Data [7]:    I0 = -1276,    Q0 = -399     I1 = 397,    Q1 = -1276

 RX Data [8]:    I0 = 397,    Q0 = -1276     I1 = 1275,    Q1 = 401

 RX Data [9]:    I0 = 1275,    Q0 = 401     I1 = -395,    Q1 = 1276

 RX Data [10]:    I0 = -395,    Q0 = 1276     I1 = 0,    Q1 = 0

 stream, 257: INFO:     RX     0.00 MSmp, TX     0.00 MSmp



However, I do not get back the transmitted data. It seems the loopback is not working with the default configuration.

  • HI,

    Have you changed the adrv9002-iiostream.c code? IIRC, the app is only using tx1 and rx1... I would also make sure both RX and TX are on the same LO. Did you checked that?

    - Nuno Sá

  • Now I have changed the data. Externally RF loop backed Tx2 to Rx2 and terminated both Tx1,Rx1. Now why I am getting the sent sin wave at Rx1 channel?   

    adrv9002-iiostream.c 

    // SPDX-License-Identifier: GPL-2.0-or-later
    /*
    
     * libiio - Library for interfacing industrial I/O (IIO) devices
     *
     * Copyright (C) 2021 Analog Devices, Inc.
     * Author: Nuno Sá <nuno.sa@analog.com>
     */
    ////X///////////////////////X////////////////////X////////////////////////X///
    // SPDX-License-Identifier: GPL-2.0-or-later
    /*
     * libiio - Library for interfacing industrial I/O (IIO) devices
     *
     * Copyright (C) 2021 Analog Devices, Inc.
     * Author: Nuno Sá <nuno.sa@analog.com>
     */
    #include <iio.h>
    #include <stdio.h>
    #include <stdint.h>
    #include <signal.h>
    #include <stdlib.h>
    #include <string.h>
    #include <errno.h>
    #include <stdbool.h>
    #include <math.h>  // For cos(), M_PI
    #define ARGS(fmt, ...)	__VA_ARGS__
    #define FMT(fmt, ...)	fmt
    #define error(...) \
    	printf("%s, %d: ERROR: " FMT(__VA_ARGS__, 0)"%s", __func__, __LINE__, ARGS(__VA_ARGS__, ""))
    
    #define info(...) \
    	printf("%s, %d: INFO: " FMT(__VA_ARGS__, 0)"%s", __func__, __LINE__, ARGS(__VA_ARGS__, ""))
    
    /* helper macros */
    #define GHZ(x) ((long long)(x * 1000000000.0 + .5))
    
    #define MHZ(x) ((long long)(x * 1000000.0 + .5))  // Define MHZ helper macro
    
    static bool stop = false;
    static struct iio_context *ctx = NULL;
    static struct iio_buffer *rxbuf = NULL;
    static struct iio_buffer *txbuf = NULL;
    static struct iio_channel *rx_chan[2] = { NULL, NULL };
    static struct iio_channel *tx_chan[2] = { NULL, NULL };
    
    
    enum {
    	I_CHAN,
    	Q_CHAN
    };
    
    #ifdef _WIN32
    #include <windows.h>
    #include <io.h>
    #include <fcntl.h>
    
    BOOL WINAPI sig_handler(DWORD dwCtrlType)
    {
    	/* Runs in its own thread */
    	switch (dwCtrlType) {
    	case CTRL_C_EVENT:
    	case CTRL_CLOSE_EVENT:
    		stop = true;
    		return true;
    	default:
    		return false;
    	}
    }
    
    static int register_signals(void)
    {
    	if (!SetConsoleCtrlHandler(sig_handler, TRUE))
    		return -1;
    
    	return 0;
    }
    #else
    static void sig_handler(int signum)
    {
    	if (signum == SIGINT || signum == SIGTERM) {
    		info("Exit....\n");
    		stop = true;
    	}
    }
    
    static int register_signals(void)
    {
    	struct sigaction sa = {0};
    	sigset_t mask = {0};
    
    	sa.sa_handler = sig_handler;
    	sigemptyset(&sa.sa_mask);
    	sigemptyset(&mask);
    
    	if (sigaction(SIGTERM, &sa, NULL) < 0) {
    		error("sigaction: %s\n", strerror(errno));
    		return -1;
    	}
    
    	if (sigaction(SIGINT, &sa, NULL) < 0) {
    		error("sigaction: %s\n", strerror(errno));
    		return -1;
    	}
    
    	sigaddset(&mask, SIGINT);
    	sigaddset(&mask, SIGTERM);
    	/* make sure these signals are unblocked */
    	if (sigprocmask(SIG_UNBLOCK, &mask, NULL)) {
    		error("sigprocmask: %s", strerror(errno));
    		return -1;
    	}
    
    	return 0;
    }
    #endif
    
    static int configure_tx_lo(void)
    {
    	struct iio_device *phy;
    	struct iio_channel *chan;
    	int ret;
    	long long val;
    
    	phy = iio_context_find_device(ctx, "adrv9002-phy");
    	if (!phy) {
    		error("Could not find adrv9002_phy\n");
    		return -ENODEV;
    	}
    
    	chan = iio_device_find_channel(phy, "voltage0", true);
    	if (!chan) {
    		error("Could not find TX voltage0 channel\n");
    		return -ENODEV;
    	}
    
    	/* printout some useful info */
    	ret = iio_channel_attr_read_longlong(chan, "rf_bandwidth", &val);
    	if (ret)
    		return ret;
    
    	info("adrv9002 bandwidth: %lld\n", val);
    
    	ret = iio_channel_attr_read_longlong(chan, "sampling_frequency", &val);
    	if (ret)
    		return ret;
    
    	info("adrv9002 sampling_frequency: %lld\n", val);
    
    	/* set the LO to 2.5GHz */
    	val = GHZ(2.5);
    	chan = iio_device_find_channel(phy, "altvoltage2", true);
    	if (!chan) {
    		error("Could not find TX LO channel\n");
    		return -ENODEV;
    	}
    
    	return iio_channel_attr_write_longlong(chan, "TX1_LO_frequency", val);
    }
    
    static void cleanup(void)
    {
    	int c;
    
    	if (rxbuf)
    		iio_buffer_destroy(rxbuf);
    
    	if (txbuf)
    		iio_buffer_destroy(txbuf);
    
    	for (c = 0; c < 2; c++) {
    		if (rx_chan[c])
    			iio_channel_disable(rx_chan[c]);
    
    		if (tx_chan[c])
    			iio_channel_disable(tx_chan[c]);
    	}
    
    	iio_context_destroy(ctx);
    }
    
    static int stream_channels_get_enable(const struct iio_device *dev, struct iio_channel **chan,
    				      bool tx)
    {
    	int c;
    	const char * const channels[] = {
    		"voltage0_i", "voltage0_q", "voltage0", "voltage1"
    	};
    
    	for (c = 0; c < 2; c++) {
    		const char *str = channels[tx * 2 + c];
    
    		chan[c] = iio_device_find_channel(dev, str, tx);
    		if (!chan[c]) {
    			error("Could not find %s channel tx=%d\n", str, tx);
    			return -ENODEV;
    		}
    
    		iio_channel_enable(chan[c]);
    	}
    
    	return 0;
    }
    
    static void stream(ssize_t rx_sample, ssize_t tx_sample)
    {
    	const struct iio_channel *rx_i_chan = rx_chan[I_CHAN];
    	const struct iio_channel *tx_i_chan = tx_chan[I_CHAN];
    	ssize_t nrx = 0;
    	ssize_t ntx = 0;
    
    
    	//while (!stop) {
    		ssize_t nbytes_rx, nbytes_tx;
    		int16_t *p_dat, *p_end;
    		ptrdiff_t p_inc;
    		int16_t rx_counter=0;
    		int16_t tx_counter=0;
    		
    		
    		int32_t SAMPLE_RATE  = 8000000 ; // 1 MSPS sample rate (set according to your system)
    		int32_t TONE_FREQ    = 1000000 ;  // 200 kHz cosine tone
    		int32_t NUM_SAMPLES  = 16    ;  // Number of IQ samples per buffer
    		int32_t AMPLITUDE    = 1000    ; // Amplitude of the waveform
    		float M_PI =3.14159265358979323846;
         /* WRITE: Get pointers to TX buf and write IQ to TX buf port 0 */
    		p_inc = iio_buffer_step(txbuf);
    		p_end = iio_buffer_end(txbuf);
    
    	  FILE *Tx_file = fopen("TX_data.txt", "w");
    		if (!Tx_file) {
            error("Failed to open TX data files\n");
            if (Tx_file) fclose(Tx_file);
            return;
             }
    		int16_t* tx_data = (int16_t*)iio_buffer_start(txbuf);
    		for (int i = 0; i < NUM_SAMPLES; i++) {
    			double phase = 2.0 * M_PI * TONE_FREQ * i / SAMPLE_RATE;
    			double I0 = AMPLITUDE * sin(phase);       // Cosine component
    			double Q0 = AMPLITUDE * sin(phase +90);       // Sine component (for complex tone)
    			//double I1 = AMPLITUDE * sin(phase +180);       // Cosine component
    			double Q1 = AMPLITUDE * sin(phase +270);       // Sine component (for complex tone)
    
    			tx_data[2*i]   = (int16_t)I0;
    			tx_data[2*i+1] = (int16_t)Q0;
    			//tx_data[2*i+2] = (int16_t)I1;
    			//tx_data[2*i+3] = (int16_t)Q1;
                fprintf(Tx_file, "%d  %d  \n", tx_data[2*i],tx_data[2*i+1]);//,tx_data[2*i+2],tx_data[2*i+3] );
    			//printf("TX Data: I=%d, Q=%d \n", tx_data[2*i], tx_data[2*i+1]);
    		}
    		
    		nbytes_tx = iio_buffer_push(txbuf);
    		//iio_buffer_set_cyclic(txbuf, 1);
    		if (nbytes_tx < 0) {
    			error("Error pushing buf %zd\n", nbytes_tx);
    			if (Tx_file) fclose(Tx_file);
    			return;
    		}
    
    		nbytes_rx = iio_buffer_refill(rxbuf);
    		if (nbytes_rx < 0) {
    			error("Error refilling buf %zd\n", nbytes_rx);
    			return;
    		}
    
    		/* READ: Get pointers to RX buf and read IQ from RX buf port 0 */
    		
    		// Open files to save RX data
        FILE *rx0_file = fopen("Rx0_data.txt", "w");
        FILE *rx1_file = fopen("Rx1_data.txt", "w");
        if (!rx0_file || !rx1_file) {
            error("Failed to open RX data files\n");
            if (rx0_file) fclose(rx0_file);
            if (rx1_file) fclose(rx1_file);
            return;
        }
    		
       nbytes_rx = iio_buffer_refill(rxbuf);
        if (nbytes_rx < 0) {
            error("Error refilling RX buffer: %zd\n", nbytes_rx);
            fclose(rx0_file);
            fclose(rx1_file);
            return;
        }
        	p_inc = iio_buffer_step(rxbuf);
    		p_end = iio_buffer_end(rxbuf);
    
    		int16_t* rx_data = (int16_t*)iio_buffer_start(rxbuf);
    
    		for (p_dat = iio_buffer_first(rxbuf, rx_i_chan); p_dat < p_end;
    		     p_dat += p_inc / sizeof(*p_dat)) {
            int16_t i0 = p_dat[0];
            int16_t q0 = p_dat[1];
    		
            fprintf(rx0_file, "%d %d\n", i0 ,q0);
    
            // Assuming next channel is RX1, move pointer forward accordingly
            int16_t i1 = p_dat[2];
            int16_t q1 = p_dat[3];
    
    		fprintf(rx1_file, "%d %d\n", i1, q1);
    		 //printf("RX Data [%d]:    I0 = %d,    Q0 = %d     I1 = %d,    Q1 = %d\n\n ",rx_counter, i0, q0, i1, q1);
    		}
    	
            fclose(rx0_file);
            fclose(rx1_file);
    		
    		nrx += nbytes_rx / rx_sample;
    		ntx += nbytes_tx / tx_sample;
    		info("\tRX %8.2f MSmp, TX %8.2f MSmp\n", nrx / 1e6, ntx / 1e6);
    	//}
    }
    
    int main(void)
    {
    	struct iio_device *tx;
    	struct iio_device *rx;
    	ssize_t tx_sample_sz, rx_sample_sz;
    	int ret;
    
    	if (register_signals() < 0)
    		return EXIT_FAILURE;
    
    	ctx = iio_create_default_context();
    	if (!ctx) {
    		error("Could not create IIO context\n");
    		return EXIT_FAILURE;
    	}
    
    	//ret = configure_tx_lo();
    	//if (ret)
    	//	goto clean;
    
    	tx = iio_context_find_device(ctx, "axi-adrv9002-tx2-lpc");
    	if (!tx) {
    		ret = EXIT_FAILURE;
    		goto clean;
    	}
    
    	rx = iio_context_find_device(ctx, "axi-adrv9002-rx2-lpc");
    	if (!rx) {
    		ret = EXIT_FAILURE;
    		goto clean;
    	}
    
    	ret = stream_channels_get_enable(rx, rx_chan, false);
    	if (ret)
    		goto clean;
    
    	ret = stream_channels_get_enable(tx, tx_chan, true);
    	if (ret)
    		goto clean;
    
    	info("* Creating non-cyclic IIO buffers with 1 MiS\n");
    	rxbuf = iio_device_create_buffer(rx,  16, true);
    	if (!rxbuf) {
    		error("Could not create RX buffer: %s\n", strerror(errno));
    		ret = EXIT_FAILURE;
    		goto clean;
    	}
    
    	txbuf = iio_device_create_buffer(tx,  16, true );
    	if (!txbuf) {
    		error("Could not create TX buffer: %s\n", strerror(errno));
    		ret = EXIT_FAILURE;
    		goto clean;
    	}
    
    	tx_sample_sz = iio_device_get_sample_size(tx);
    	rx_sample_sz = iio_device_get_sample_size(rx);
        
    	stream(rx_sample_sz, tx_sample_sz);
    
    clean:
    	cleanup();
    	return ret;
    }


    Maltab Code:
    % Close and clear everything
    close all;
    clc;
    clear;
    
    % File paths
    filenameT = 'C:\Users\ijaz_\OneDrive\Desktop\test_dma\TX_data.txt';
    filename0 = 'C:\Users\ijaz_\OneDrive\Desktop\test_dma\Rx0_data.txt';
    filename1 = 'C:\Users\ijaz_\OneDrive\Desktop\test_dma\Rx1_data.txt';
    
    % Load the data from the text files
    try
        dataTx = load(filenameT);
        data0 = load(filename0);
        data1 = load(filename1);
    catch
        error('One or more files could not be loaded. Check the file paths.');
    end
    
    % Separate I/Q columns
    
    I_tx = int16(dataTx(:, 1));
    Q_tx = int16(dataTx(:, 2));
    I0   = int16(data0(:, 1));
    Q0   = int16(data0(:, 2));
    I1   = int16(data1(:, 1));
    Q1   = int16(data1(:, 2));
    
    % FFT parameters
    Fs = 8000000;          % 8 MSPS
    N = length(I_tx);      % Assuming all signals have same length
    
    % Frequency axis
    f = Fs * (0:N-1) / N;
    
    % FFT computation
    FFT_I_tx = abs(fft(double(I_tx)));
    FFT_Q_tx = abs(fft(double(Q_tx)));
    FFT_I0   = abs(fft(double(I0)));
    FFT_Q0   = abs(fft(double(Q0)));
    FFT_I1   = abs(fft(double(I1)));
    FFT_Q1   = abs(fft(double(Q1)));
    
    % Plotting: Time-domain on left, FFT on right
    figure('Name', 'Signal and FFT Analysis', 'NumberTitle', 'off');
    
    subplot(6,2,1);  plot(I_tx);           title('I_{TX} (Time Domain)');     xlabel('Sample'); ylabel('Amplitude');
    subplot(6,2,2);  plot(f/1e6, FFT_I_tx); title('I_{TX} (Frequency Domain)'); xlabel('Freq (MHz)'); ylabel('Magnitude');
    
    subplot(6,2,3);  plot(Q_tx);           title('Q_{TX} (Time Domain)');
    subplot(6,2,4);  plot(f/1e6, FFT_Q_tx); title('Q_{TX} (Frequency Domain)');
    
    subplot(6,2,5);  plot(I0);             title('I_0 (Time Domain)');
    subplot(6,2,6);  plot(f/1e6, FFT_I0);   title('I_0 (Frequency Domain)');
    
    subplot(6,2,7);  plot(Q0);             title('Q_0 (Time Domain)');
    subplot(6,2,8);  plot(f/1e6, FFT_Q0);   title('Q_0 (Frequency Domain)');
    
    subplot(6,2,9);  plot(I1);             title('I_1 (Time Domain)');
    subplot(6,2,10); plot(f/1e6, FFT_I1);   title('I_1 (Frequency Domain)');
    
    subplot(6,2,11); plot(Q1);             title('Q_1 (Time Domain)');
    subplot(6,2,12); plot(f/1e6, FFT_Q1);   title('Q_1 (Frequency Domain)');
    
    sgtitle('Time and Frequency Domain Analysis of TX and RX Data');
    
    


    output:

  • Now why I am getting the sent sin wave at Rx1 channel?   

    Are you sure it's terminated or is it on the same LO of TX2? I also saw you commented the configure_tx_lo(). How do you make sure RX and TX are on the same LO?

    Thanks!

    - Nuno Sá

  • Yes I configured the LOs with following script. 

    #!/bin/bash

    # Navigate to the device directory
    cd /sys/bus/iio/devices/iio:device1 || exit
    echo " Set RF enable mode for voltage inputs and outputs";
    echo rf_enabled > in_voltage0_ensm_mode
    echo rf_enabled > in_voltage1_ensm_mode
    echo rf_enabled > out_voltage0_ensm_mode
    echo rf_enabled > out_voltage1_ensm_mode

    echo " Display current frequency settings for both RX and TX channels ";
    cat out_altvoltage0_RX1_LO_frequency
    cat out_altvoltage1_RX2_LO_frequency
    cat out_altvoltage2_TX1_LO_frequency
    cat out_altvoltage3_TX2_LO_frequency

    echo " Display current hardware gain settings";
    cat in_voltage0_hardwaregain
    cat in_voltage1_hardwaregain
    cat out_voltage0_hardwaregain
    cat out_voltage1_hardwaregain

    echo " Set hardware gain to 0 for RX and TX channels";
    echo 0 > in_voltage0_hardwaregain
    echo 0 > in_voltage1_hardwaregain
    echo 0 > out_voltage0_hardwaregain
    echo 0 > out_voltage1_hardwaregain

    echo " Set the RX and TX frequencies to 350 MHz";
    echo 350000000 > out_altvoltage0_RX1_LO_frequency
    echo 350000000 > out_altvoltage1_RX2_LO_frequency
    echo 350000000 > out_altvoltage2_TX1_LO_frequency
    echo 350000000 > out_altvoltage3_TX2_LO_frequency


    echo " Display current frequency settings for both RX and TX channels";
    cat out_altvoltage0_RX1_LO_frequency
    cat out_altvoltage1_RX2_LO_frequency
    cat out_altvoltage2_TX1_LO_frequency
    cat out_altvoltage3_TX2_LO_frequency

    echo " Display current hardware gain settings ";
    cat in_voltage0_hardwaregain
    cat in_voltage1_hardwaregain
    cat out_voltage0_hardwaregain
    cat out_voltage1_hardwaregain

  • Now I have changed the data. Externally RF loop backed Tx2 to Rx2 and terminated both Tx1,Rx1. Now why I am getting the sent sin wave at Rx1 channel?   

    Ok, this might be because you have both LO's on the same carrier. So it's expected that you'll receive the same signal on RX1 but at much lower levels. If you do not want that, just disable RX1.

    Thanks!

    - Nuno Sá