Post Go back to editing

Limited NCO control on AD9081<->VCU118 designs via PyADI

Category: Software
Product Number: AD9081
Software Version: PyADI Version: 0.0.14, Microblaze images: 2023_04_14-07_55_55

Hi,

I've recently experienced an issue when testing prebuilt and custom FPGA/Linux builds for AD9081<->VCU118 whereby not all the NCOs can be controlled via PyADI.

vcu118_ad9081_204c_txmode_23_rxmode_25_lr_24_75Gbps

I flashed a prebuilt vcu118_ad9081_204c_txmode_23_rxmode_25_lr_24_75Gbps image to the device and ran the following test in Python shell:

>>> import adi
>>> dev = adi.ad9081("ip:192.168.0.66")
>>> dev.tx_main_nco_frequencies = [0] * 1 
>>> dev.tx_main_nco_frequencies = [0] * 2
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Users\[User]\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\adi\ad9081.py", line 456, in tx_main_nco_frequencies
    self._set_iio_attr_int_vec(
  File "C:\Users\[User]\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\adi\attribute.py", line 132, in _set_iio_attr_int_vec
    self._set_iio_attr_int(channel_names[i], attr_name, output, v, _ctrl)
IndexError: list index out of range
>>> dev.rx_main_nco_frequencies = [0] * 2 
>>> dev.dds_single_tone(100e6, 0.1, channel=0) 
>>> dev.dds_single_tone(100e6, 0.1, channel=1) 
>>> dev.dds_single_tone(100e6, 0.1, channel=2) 
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Users\[User]\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\adi\dds.py", line 174, in dds_single_tone
    chan.attrs["frequency"].value = str(frequency)
AttributeError: 'NoneType' object has no attribute 'attrs'
>>>

You can see that only 1off NCO can be set for the DAC, whereas 2off NCOs can be set for the ADC and 2off DDS channels can be set. As this is an M=4 design, shouldn't both NCOs be controllable?

I operated the build in IIO-Oscilloscope and found that both channels and their NCOs could be operated as demonstrated above.

vcu118_ad9081_204c_txmode_24_rxmode_26_lr_24_75Gbps

I repeated the above for vcu118_ad9081_204c_txmode_24_rxmode_26_lr_24_75Gbps and found similar behaviour:

>>> import adi
>>> dev = adi.ad9081("ip:192.168.0.66")
>>> dev.tx_main_nco_frequencies = [0] * 2 
>>> dev.tx_main_nco_frequencies = [0] * 3
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Users\[USER]\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\adi\ad9081.py", line 456, in tx_main_nco_frequencies
    self._set_iio_attr_int_vec(
  File "C:\Users[USER]\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\adi\attribute.py", line 132, in _set_iio_attr_int_vec
    self._set_iio_attr_int(channel_names[i], attr_name, output, v, _ctrl)
IndexError: list index out of range
>>> dev.rx_main_nco_frequencies = [0] * 4 
>>> dev.dds_single_tone(100e6, 0.1, channel=0) 
>>> dev.dds_single_tone(100e6, 0.1, channel=1) 
>>> dev.dds_single_tone(100e6, 0.1, channel=2) 
>>> dev.dds_single_tone(100e6, 0.1, channel=3) 

Again, all ADC/Rx NCOs could be operated in PyADI and IIO-'Scope; however, only 2 out of 4 DAC/Tx NCOs could be operated in PyADI and in IIO-'Scope.

I couldn't enable DAC channels 2 and 3 in IIO-'Scope this time.

I looked into the device trees of the two build to try and understand why and saw that for vcu118_ad9081_204c_txmode_24_rxmode_26_lr_24_75Gbps (linux/arch/microblaze/boot/dts/vcu118_ad9081_204c_txmode_24_rxmode_26_lr_24_75Gbps.dts at master · analogdevicesinc/linux · GitHub), the link modes were not specified as expected:

adi,jesd-links {
			#size-cells = <0>;
			#address-cells = <1>;
			ad9081_tx_jesd_l0: link@0 {
				#address-cells = <1>;
				#size-cells = <0>;
				reg = <0>;
				adi,logical-lane-mapping = /bits/ 8 <0 2 7 6 1 5 4 3>;
				adi,link-mode = <23>;			/* JESD Quick Configuration Mode */
				adi,subclass = <1>;			/* JESD SUBCLASS 0,1,2 */
				adi,version = <2>;			/* JESD VERSION 0=204A,1=204B,2=204C */
				adi,dual-link = <0>;			/* JESD Dual Link Mode */
				adi,converters-per-device = <8>;	/* JESD M */
				adi,octets-per-frame = <3>;		/* JESD F */
				adi,frames-per-multiframe = <256>;	/* JESD K */
				adi,converter-resolution = <12>;	/* JESD N */
				adi,bits-per-sample = <12>;		/* JESD NP' */
				adi,control-bits-per-sample = <0>;	/* JESD CS */
				adi,lanes-per-device = <8>;		/* JESD L */
				adi,samples-per-converter-per-frame = <2>; /* JESD S */
				adi,high-density = <1>;			/* JESD HD */

				adi,tpl-phase-adjust = <0x3b>;

			};
		};

adi,jesd-links {
			#size-cells = <0>;
			#address-cells = <1>;
			ad9081_rx_jesd_l0: link@0 {
				reg = <0>;
				adi,converter-select =
					<&ad9081_rx_fddc_chan0 FDDC_I>, <&ad9081_rx_fddc_chan0 FDDC_Q>,
					<&ad9081_rx_fddc_chan1 FDDC_I>, <&ad9081_rx_fddc_chan1 FDDC_Q>,
					<&ad9081_rx_fddc_chan4 FDDC_I>, <&ad9081_rx_fddc_chan4 FDDC_Q>,
					<&ad9081_rx_fddc_chan5 FDDC_I>, <&ad9081_rx_fddc_chan5 FDDC_Q>;
				adi,logical-lane-mapping = /bits/ 8 <2 0 7 6 5 4 3 1>;
				adi,link-mode = <25>;			/* JESD Quick Configuration Mode */
				adi,subclass = <1>;			/* JESD SUBCLASS 0,1,2 */
				adi,version = <2>;			/* JESD VERSION 0=204A,1=204B,2=204C */
				adi,dual-link = <0>;			/* JESD Dual Link Mode */
				adi,converters-per-device = <8>;	/* JESD M */
				adi,octets-per-frame = <3>;		/* JESD F */
				adi,frames-per-multiframe = <256>;	/* JESD K */
				adi,converter-resolution = <12>;	/* JESD N */
				adi,bits-per-sample = <12>;		/* JESD NP' */
				adi,control-bits-per-sample = <0>;	/* JESD CS */
				adi,lanes-per-device = <8>;		/* JESD L */
				adi,samples-per-converter-per-frame = <2>; /* JESD S */
				adi,high-density = <1>;			/* JESD HD */
			};
		};

However, the vcu118_ad9081_204c_txmode_23_rxmode_25_lr_24_75Gbps build's dts looks fine and that experiences a similar issue. Furthermore, some custom build I've tried running also experience this issue on DAC and ADC sides despite the .dts looking okay.

As far as I can see, from cross-referencing with AD9081/AD9082 Software Development User Guide, UG-1578 (Rev. A) (analog.com), the actual LMFSK specifications look okay.

Can you please tell me (a) what is limiting the control of the NCOs when using PyADI and (b) what impact, if any, a incorrectly specified adi,link-mode would have if LMFSK is specified correctly?

Thanks,

Deng

  • Can you provide the output of “iio_info” on the board so we can see the runtime context?

    -Travis

  • Hi,

    Of course...

    vcu118_ad9081_204c_txmode_23_rxmode_25_lr_24_75Gbps


    # iio_info
    Library version: 0.21 (git tag: v0.21)
    Compiled with backends: local xml ip
    IIO context created with local backend.
    Backend version: 0.21 (git tag: v0.21)
    Backend description string: Linux buildroot 5.15.0-175728-g7c2858b8b600 #3243 Fri Apr 14 07:52:21 IST 2023 microblaze
    IIO context has 2 attributes:
            local,kernel: 5.15.0-175728-g7c2858b8b600
            uri: local:
    IIO context has 3 devices:
            iio:device0: hmc7044
                    8 channels found:
                            altvoltage13: FPGA_SYSREF (output)
                            3 channel-specific attributes found:
                                    attr  0: frequency value: 1953125
                                    attr  1: label value: FPGA_SYSREF
                                    attr  2: phase value: 0.000000
                            altvoltage0: CORE_CLK_RX (output)
                            3 channel-specific attributes found:
                                    attr  0: frequency value: 375000000
                                    attr  1: label value: CORE_CLK_RX
                                    attr  2: phase value: 0.000000
                            altvoltage12: FPGA_REFCLK (output)
                            3 channel-specific attributes found:
                                    attr  0: frequency value: 375000000
                                    attr  1: label value: FPGA_REFCLK
                                    attr  2: phase value: 0.000000
                            altvoltage6: CORE_CLK_TX (output)
                            3 channel-specific attributes found:
                                    attr  0: frequency value: 250000000
                                    attr  1: label value: CORE_CLK_TX
                                    attr  2: phase value: 0.000000
                            altvoltage8: CORE_CLK_RX (output)
                            3 channel-specific attributes found:
                                    attr  0: frequency value: 250000000
                                    attr  1: label value: CORE_CLK_RX
                                    attr  2: phase value: 0.000000
                            altvoltage10: CORE_CLK_RX_ALT (output)
                            3 channel-specific attributes found:
                                    attr  0: frequency value: 375000000
                                    attr  1: label value: CORE_CLK_RX_ALT
                                    attr  2: phase value: 0.000000
                            altvoltage3: DEV_SYSREF (output)
                            3 channel-specific attributes found:
                                    attr  0: frequency value: 1953125
                                    attr  1: label value: DEV_SYSREF
                                    attr  2: phase value: 0.000000
                            altvoltage2: DEV_REFCLK (output)
                            3 channel-specific attributes found:
                                    attr  0: frequency value: 250000000
                                    attr  1: label value: DEV_REFCLK
                                    attr  2: phase value: 0.000000
                    7 device-specific attributes found:
                                    attr  0: mute_request value: 0
                                    attr  1: reseed_request value: 0
                                    attr  2: reset_dividers_request value: 0
                                    attr  3: sleep_request value: 0
                                    attr  4: sync_pin_mode value: sync
                                    attr  5: sync_pin_mode_available value: disable sync sysref sync_else_sysref
                                    attr  6: sysref_request value: 0
                    2 debug attributes found:
                                    debug attr  0: status value: --- PLL1 ---
    Status: Locked
    Using:  CLKIN0 @ 100000000 Hz
    PFD:    10000 kHz
    --- PLL2 ---
    Status: Locked (Synchronized)
    Frequency:      3000000000 Hz (Autocal cap bank value: 13)
    SYSREF Status:  Valid & Locked
    SYNC Status:    Synchronized
    Lock Status:    PLL1 & PLL2 Locked
                                    debug attr  1: direct_reg_access value: 0x0
                    No trigger on this device
            iio:device1: axi-ad9081-tx-hpc (buffer capable)
                    12 channels found:
                            voltage0_i:  (output, index: 0, format: le:s12/16>>4)
                            3 channel-specific attributes found:
                                    attr  0: calibphase value: 0.000000
                                    attr  1: calibscale value: 1.000000
                                    attr  2: sampling_frequency value: 2000000000
                            voltage0_q:  (output, index: 1, format: le:s12/16>>4)
                            3 channel-specific attributes found:
                                    attr  0: calibphase value: 0.000000
                                    attr  1: calibscale value: 1.000000
                                    attr  2: sampling_frequency value: 2000000000
                            voltage1_i:  (output, index: 2, format: le:s12/16>>4)
                            3 channel-specific attributes found:
                                    attr  0: calibphase value: 0.000000
                                    attr  1: calibscale value: 1.000000
                                    attr  2: sampling_frequency value: 2000000000
                            voltage1_q:  (output, index: 3, format: le:s12/16>>4)
                            3 channel-specific attributes found:
                                    attr  0: calibphase value: 0.000000
                                    attr  1: calibscale value: 1.000000
                                    attr  2: sampling_frequency value: 2000000000
                            altvoltage3: TX1_Q_F2 (output)
                            6 channel-specific attributes found:
                                    attr  0: frequency value: 40009155
                                    attr  1: label value: TX1_Q_F2
                                    attr  2: phase value: 0
                                    attr  3: raw value: 1
                                    attr  4: sampling_frequency value: 2000000000
                                    attr  5: scale value: 0.250000
                            altvoltage1: TX1_I_F2 (output)
                            6 channel-specific attributes found:
                                    attr  0: frequency value: 40009155
                                    attr  1: label value: TX1_I_F2
                                    attr  2: phase value: 90000
                                    attr  3: raw value: 1
                                    attr  4: sampling_frequency value: 2000000000
                                    attr  5: scale value: 0.250000
                            altvoltage0: TX1_I_F1 (output)
                            6 channel-specific attributes found:
                                    attr  0: frequency value: 40009155
                                    attr  1: label value: TX1_I_F1
                                    attr  2: phase value: 90000
                                    attr  3: raw value: 1
                                    attr  4: sampling_frequency value: 2000000000
                                    attr  5: scale value: 0.250000
                            altvoltage7: TX2_Q_F2 (output)
                            6 channel-specific attributes found:
                                    attr  0: frequency value: 40009155
                                    attr  1: label value: TX2_Q_F2
                                    attr  2: phase value: 0
                                    attr  3: raw value: 1
                                    attr  4: sampling_frequency value: 2000000000
                                    attr  5: scale value: 0.250000
                            altvoltage6: TX2_Q_F1 (output)
                            6 channel-specific attributes found:
                                    attr  0: frequency value: 40009155
                                    attr  1: label value: TX2_Q_F1
                                    attr  2: phase value: 0
                                    attr  3: raw value: 1
                                    attr  4: sampling_frequency value: 2000000000
                                    attr  5: scale value: 0.250000
                            altvoltage5: TX2_I_F2 (output)
                            6 channel-specific attributes found:
                                    attr  0: frequency value: 40009155
                                    attr  1: label value: TX2_I_F2
                                    attr  2: phase value: 90000
                                    attr  3: raw value: 1
                                    attr  4: sampling_frequency value: 2000000000
                                    attr  5: scale value: 0.250000
                            altvoltage2: TX1_Q_F1 (output)
                            6 channel-specific attributes found:
                                    attr  0: frequency value: 40009155
                                    attr  1: label value: TX1_Q_F1
                                    attr  2: phase value: 0
                                    attr  3: raw value: 1
                                    attr  4: sampling_frequency value: 2000000000
                                    attr  5: scale value: 0.250000
                            altvoltage4: TX2_I_F1 (output)
                            6 channel-specific attributes found:
                                    attr  0: frequency value: 40009155
                                    attr  1: label value: TX2_I_F1
                                    attr  2: phase value: 90000
                                    attr  3: raw value: 1
                                    attr  4: sampling_frequency value: 2000000000
                                    attr  5: scale value: 0.250000
                    2 device-specific attributes found:
                                    attr  0: sync_start_enable value: disarm
                                    attr  1: sync_start_enable_available value: arm disarm trigger_manual
                    3 buffer-specific attributes found:
                                    attr  0: data_available value: 0
                                    attr  1: length_align_bytes value: 32
                                    attr  2: watermark value: 2048
                    2 debug attributes found:
                                    debug attr  0: pl_ddr_fifo_enable value: 1
                                    debug attr  1: direct_reg_access value: 0x90162
                    No trigger on this device
            iio:device2: axi-ad9081-rx-hpc (buffer capable)
                    9 channels found:
                            voltage0_i:  (input, index: 0, format: le:s12/16>>0)
                            21 channel-specific attributes found:
                                    attr  0: adc_frequency value: 4000000000
                                    attr  1: channel_6db_digital_gain_en value: 0
                                    attr  2: channel_nco_frequency value: 0
                                    attr  3: channel_nco_frequency_available value: [0 1 0]
                                    attr  4: channel_nco_phase value: 0
                                    attr  5: label value: FDDC0->CDDC0->ADC0
                                    attr  6: main_6db_digital_gain_en value: 0
                                    attr  7: main_ffh_gpio_mode_en value: 0
                                    attr  8: main_ffh_mode value: instantaneous_update
                                    attr  9: main_ffh_mode_available value: instantaneous_update synchronous_update_by_transfer_bit synchronous_update_by_gpio
                                    attr 10: main_ffh_trig_hop_en value: 0
                                    attr 11: main_nco_ffh_index value: 0
                                    attr 12: main_nco_ffh_select value: 0
                                    attr 13: main_nco_frequency value: 400000000
                                    attr 14: main_nco_frequency_available value: [-2000000000 1 2000000000]
                                    attr 15: main_nco_phase value: 0
                                    attr 16: nyquist_zone ERROR: No such file or directory (2)
                                    attr 17: nyquist_zone_available value: odd even
                                    attr 18: sampling_frequency value: 2000000000
                                    attr 19: test_mode value: off
                                    attr 20: test_mode_available value: off midscale_short pos_fullscale neg_fullscale checkerboard pn23 pn9 one_zero_toggle user pn7 pn15 pn31 ramp
                            voltage0_q:  (input, index: 1, format: le:s12/16>>0)
                            21 channel-specific attributes found:
                                    attr  0: adc_frequency value: 4000000000
                                    attr  1: channel_6db_digital_gain_en value: 0
                                    attr  2: channel_nco_frequency value: 0
                                    attr  3: channel_nco_frequency_available value: [0 1 0]
                                    attr  4: channel_nco_phase value: 0
                                    attr  5: label value: FDDC0->CDDC0->ADC0
                                    attr  6: main_6db_digital_gain_en value: 0
                                    attr  7: main_ffh_gpio_mode_en value: 0
                                    attr  8: main_ffh_mode value: instantaneous_update
                                    attr  9: main_ffh_mode_available value: instantaneous_update synchronous_update_by_transfer_bit synchronous_update_by_gpio
                                    attr 10: main_ffh_trig_hop_en value: 0
                                    attr 11: main_nco_ffh_index value: 0
                                    attr 12: main_nco_ffh_select value: 0
                                    attr 13: main_nco_frequency value: 400000000
                                    attr 14: main_nco_frequency_available value: [-2000000000 1 2000000000]
                                    attr 15: main_nco_phase value: 0
                                    attr 16: nyquist_zone ERROR: No such file or directory (2)
                                    attr 17: nyquist_zone_available value: odd even
                                    attr 18: sampling_frequency value: 2000000000
                                    attr 19: test_mode value: off
                                    attr 20: test_mode_available value: off midscale_short pos_fullscale neg_fullscale checkerboard pn23 pn9 one_zero_toggle user pn7 pn15 pn31 ramp
                            voltage1_i:  (input, index: 2, format: le:s12/16>>0)
                            21 channel-specific attributes found:
                                    attr  0: adc_frequency value: 4000000000
                                    attr  1: channel_6db_digital_gain_en value: 0
                                    attr  2: channel_nco_frequency value: 0
                                    attr  3: channel_nco_frequency_available value: [0 1 0]
                                    attr  4: channel_nco_phase value: 0
                                    attr  5: label value: FDDC1->CDDC1->ADC1
                                    attr  6: main_6db_digital_gain_en value: 0
                                    attr  7: main_ffh_gpio_mode_en value: 0
                                    attr  8: main_ffh_mode value: instantaneous_update
                                    attr  9: main_ffh_mode_available value: instantaneous_update synchronous_update_by_transfer_bit synchronous_update_by_gpio
                                    attr 10: main_ffh_trig_hop_en value: 0
                                    attr 11: main_nco_ffh_index value: 0
                                    attr 12: main_nco_ffh_select value: 0
                                    attr 13: main_nco_frequency value: -400000000
                                    attr 14: main_nco_frequency_available value: [-2000000000 1 2000000000]
                                    attr 15: main_nco_phase value: 0
                                    attr 16: nyquist_zone ERROR: No such file or directory (2)
                                    attr 17: nyquist_zone_available value: odd even
                                    attr 18: sampling_frequency value: 2000000000
                                    attr 19: test_mode value: off
                                    attr 20: test_mode_available value: off midscale_short pos_fullscale neg_fullscale checkerboard pn23 pn9 one_zero_toggle user pn7 pn15 pn31 ramp
                            voltage1_q:  (input, index: 3, format: le:s12/16>>0)
                            21 channel-specific attributes found:
                                    attr  0: adc_frequency value: 4000000000
                                    attr  1: channel_6db_digital_gain_en value: 0
                                    attr  2: channel_nco_frequency value: 0
                                    attr  3: channel_nco_frequency_available value: [0 1 0]
                                    attr  4: channel_nco_phase value: 0
                                    attr  5: label value: FDDC1->CDDC1->ADC1
                                    attr  6: main_6db_digital_gain_en value: 0
                                    attr  7: main_ffh_gpio_mode_en value: 0
                                    attr  8: main_ffh_mode value: instantaneous_update
                                    attr  9: main_ffh_mode_available value: instantaneous_update synchronous_update_by_transfer_bit synchronous_update_by_gpio
                                    attr 10: main_ffh_trig_hop_en value: 0
                                    attr 11: main_nco_ffh_index value: 0
                                    attr 12: main_nco_ffh_select value: 0
                                    attr 13: main_nco_frequency value: -400000000
                                    attr 14: main_nco_frequency_available value: [-2000000000 1 2000000000]
                                    attr 15: main_nco_phase value: 0
                                    attr 16: nyquist_zone ERROR: No such file or directory (2)
                                    attr 17: nyquist_zone_available value: odd even
                                    attr 18: sampling_frequency value: 2000000000
                                    attr 19: test_mode value: off
                                    attr 20: test_mode_available value: off midscale_short pos_fullscale neg_fullscale checkerboard pn23 pn9 one_zero_toggle user pn7 pn15 pn31 ramp
                            voltage0_i:  (output)
                            21 channel-specific attributes found:
                                    attr  0: channel_nco_frequency value: 0
                                    attr  1: channel_nco_frequency_available value: [0 1 0]
                                    attr  2: channel_nco_gain_scale value: 0.500122100
                                    attr  3: channel_nco_phase value: 0
                                    attr  4: channel_nco_test_tone_en value: 0
                                    attr  5: channel_nco_test_tone_scale value: 0.000000000
                                    attr  6: dac_frequency value: 12000000000
                                    attr  7: en value: 1
                                    attr  8: label value: FDUC0->CDUC3->DAC3
                                    attr  9: main_ffh_gpio_mode_en value: 0
                                    attr 10: main_ffh_mode value: phase_continuous
                                    attr 11: main_ffh_mode_available value: phase_continuous phase_incontinuous phase_coherent
                                    attr 12: main_nco_ffh_frequency value: 0
                                    attr 13: main_nco_ffh_index value: 0
                                    attr 14: main_nco_ffh_select value: 0
                                    attr 15: main_nco_frequency value: 1000000000
                                    attr 16: main_nco_frequency_available value: [-6000000000 1 6000000000]
                                    attr 17: main_nco_phase value: 0
                                    attr 18: main_nco_test_tone_en value: 0
                                    attr 19: main_nco_test_tone_scale value: 0.000000000
                                    attr 20: sampling_frequency value: 2000000000
                            temp0:  (input)
                            2 channel-specific attributes found:
                                    attr  0: input value: 74000
                                    attr  1: label value: FDDC0->CDDC0->ADC0
                            voltage1_q:  (output)
                            21 channel-specific attributes found:
                                    attr  0: channel_nco_frequency value: 0
                                    attr  1: channel_nco_frequency_available value: [0 1 0]
                                    attr  2: channel_nco_gain_scale value: 0.500122100
                                    attr  3: channel_nco_phase value: 0
                                    attr  4: channel_nco_test_tone_en value: 0
                                    attr  5: channel_nco_test_tone_scale value: 0.000000000
                                    attr  6: dac_frequency value: 12000000000
                                    attr  7: en value: 1
                                    attr  8: label value: FDUC1->CDUC3->DAC3
                                    attr  9: main_ffh_gpio_mode_en value: 0
                                    attr 10: main_ffh_mode value: phase_continuous
                                    attr 11: main_ffh_mode_available value: phase_continuous phase_incontinuous phase_coherent
                                    attr 12: main_nco_ffh_frequency value: 0
                                    attr 13: main_nco_ffh_index value: 0
                                    attr 14: main_nco_ffh_select value: 0
                                    attr 15: main_nco_frequency value: 1100000000
                                    attr 16: main_nco_frequency_available value: [-6000000000 1 6000000000]
                                    attr 17: main_nco_phase value: 0
                                    attr 18: main_nco_test_tone_en value: 0
                                    attr 19: main_nco_test_tone_scale value: 0.000000000
                                    attr 20: sampling_frequency value: 2000000000
                            voltage0_q:  (output)
                            21 channel-specific attributes found:
                                    attr  0: channel_nco_frequency value: 0
                                    attr  1: channel_nco_frequency_available value: [0 1 0]
                                    attr  2: channel_nco_gain_scale value: 0.500122100
                                    attr  3: channel_nco_phase value: 0
                                    attr  4: channel_nco_test_tone_en value: 0
                                    attr  5: channel_nco_test_tone_scale value: 0.000000000
                                    attr  6: dac_frequency value: 12000000000
                                    attr  7: en value: 1
                                    attr  8: label value: FDUC0->CDUC3->DAC3
                                    attr  9: main_ffh_gpio_mode_en value: 0
                                    attr 10: main_ffh_mode value: phase_continuous
                                    attr 11: main_ffh_mode_available value: phase_continuous phase_incontinuous phase_coherent
                                    attr 12: main_nco_ffh_frequency value: 0
                                    attr 13: main_nco_ffh_index value: 0
                                    attr 14: main_nco_ffh_select value: 0
                                    attr 15: main_nco_frequency value: 1000000000
                                    attr 16: main_nco_frequency_available value: [-6000000000 1 6000000000]
                                    attr 17: main_nco_phase value: 0
                                    attr 18: main_nco_test_tone_en value: 0
                                    attr 19: main_nco_test_tone_scale value: 0.000000000
                                    attr 20: sampling_frequency value: 2000000000
                            voltage1_i:  (output)
                            21 channel-specific attributes found:
                                    attr  0: channel_nco_frequency value: 0
                                    attr  1: channel_nco_frequency_available value: [0 1 0]
                                    attr  2: channel_nco_gain_scale value: 0.500122100
                                    attr  3: channel_nco_phase value: 0
                                    attr  4: channel_nco_test_tone_en value: 0
                                    attr  5: channel_nco_test_tone_scale value: 0.000000000
                                    attr  6: dac_frequency value: 12000000000
                                    attr  7: en value: 1
                                    attr  8: label value: FDUC1->CDUC3->DAC3
                                    attr  9: main_ffh_gpio_mode_en value: 0
                                    attr 10: main_ffh_mode value: phase_continuous
                                    attr 11: main_ffh_mode_available value: phase_continuous phase_incontinuous phase_coherent
                                    attr 12: main_nco_ffh_frequency value: 0
                                    attr 13: main_nco_ffh_index value: 0
                                    attr 14: main_nco_ffh_select value: 0
                                    attr 15: main_nco_frequency value: 1100000000
                                    attr 16: main_nco_frequency_available value: [-6000000000 1 6000000000]
                                    attr 17: main_nco_phase value: 0
                                    attr 18: main_nco_test_tone_en value: 0
                                    attr 19: main_nco_test_tone_scale value: 0.000000000
                                    attr 20: sampling_frequency value: 2000000000
                    13 device-specific attributes found:
                                    attr  0: adc_clk_powerdown value: 0
                                    attr  1: filter_fir_config ERROR: Permission denied (13)
                                    attr  2: jesd204_fsm_ctrl value: 1
                                    attr  3: jesd204_fsm_error value: 0
                                    attr  4: jesd204_fsm_paused value: 0
                                    attr  5: jesd204_fsm_resume ERROR: Permission denied (13)
                                    attr  6: jesd204_fsm_state value: opt_post_running_stage
                                    attr  7: loopback_mode value: 0
                                    attr  8: loopback_mode_available value: 0 1 2 3
                                    attr  9: multichip_sync value: 0
                                    attr 10: powerdown value: 0
                                    attr 11: sync_start_enable value: disarm
                                    attr 12: sync_start_enable_available value: arm disarm trigger_manual
                    3 buffer-specific attributes found:
                                    attr  0: data_available value: 0
                                    attr  1: length_align_bytes value: 32
                                    attr  2: watermark value: 2048
                    12 debug attributes found:
                                    debug attr  0: adi,direct-loopback-mode-dac-adc-mapping value: 68
                                    debug attr  1: dac-full-scale-current-ua ERROR: Permission denied (13)
                                    debug attr  2: chip_version value: AD9081 Rev. 3 Grade 10
                                    debug attr  3: api_version value: 1.4.0
                                    debug attr  4: bist_spo_sweep_jrx value: l:0 r:0
                                    debug attr  5: bist_spo_set_jrx value: 0
                                    debug attr  6: bist_prbs_error_counters_jrx value: 0/1 0/1 0/1 0/1
                                    debug attr  7: bist_prbs_select_jtx value: 0
                                    debug attr  8: bist_prbs_select_jrx value: 0
                                    debug attr  9: status value: JESD TX (JRX) Link0 204C status Link is good (6), TPL Phase Difference Read 26, Set 59
    JESD RX (JTX) Link0 204C PLL locked, PHASE established, MODE valid
                                    debug attr 10: pseudorandom_err_check value: CH0 : PN9 : Out of Sync : PN Error
    CH1 : PN9 : Out of Sync : PN Error
    CH2 : PN9 : Out of Sync : PN Error
    CH3 : PN9 : Out of Sync : PN Error
    CH4 : UNDEF : In Sync : PN Error
    CH5 : UNDEF : In Sync : PN Error
    CH6 : UNDEF : In Sync : PN Error
    CH7 : UNDEF : In Sync : PN Error
    CH8 : UNDEF : In Sync : PN Error
                                    debug attr 11: direct_reg_access value: 0x3C
                    No trigger on this device
    #

    vcu118_ad9081_204c_txmode_24_rxmode_26_lr_24_75Gbps

    # iio_info
    Library version: 0.21 (git tag: v0.21)
    Compiled with backends: local xml ip
    IIO context created with local backend.
    Backend version: 0.21 (git tag: v0.21)
    Backend description string: Linux buildroot 5.15.0-175728-g7c2858b8b600 #3244 Fri Apr 14 07:53:10 IST 2023 microblaze
    IIO context has 2 attributes:
            local,kernel: 5.15.0-175728-g7c2858b8b600
            uri: local:
    IIO context has 3 devices:
            iio:device0: hmc7044
                    8 channels found:
                            altvoltage13: FPGA_SYSREF (output)
                            3 channel-specific attributes found:
                                    attr  0: frequency value: 1953125
                                    attr  1: label value: FPGA_SYSREF
                                    attr  2: phase value: 0.000000
                            altvoltage0: CORE_CLK_RX (output)
                            3 channel-specific attributes found:
                                    attr  0: frequency value: 375000000
                                    attr  1: label value: CORE_CLK_RX
                                    attr  2: phase value: 0.000000
                            altvoltage12: FPGA_REFCLK (output)
                            3 channel-specific attributes found:
                                    attr  0: frequency value: 375000000
                                    attr  1: label value: FPGA_REFCLK
                                    attr  2: phase value: 0.000000
                            altvoltage6: CORE_CLK_TX (output)
                            3 channel-specific attributes found:
                                    attr  0: frequency value: 250000000
                                    attr  1: label value: CORE_CLK_TX
                                    attr  2: phase value: 0.000000
                            altvoltage8: CORE_CLK_RX (output)
                            3 channel-specific attributes found:
                                    attr  0: frequency value: 250000000
                                    attr  1: label value: CORE_CLK_RX
                                    attr  2: phase value: 0.000000
                            altvoltage10: CORE_CLK_RX_ALT (output)
                            3 channel-specific attributes found:
                                    attr  0: frequency value: 375000000
                                    attr  1: label value: CORE_CLK_RX_ALT
                                    attr  2: phase value: 0.000000
                            altvoltage3: DEV_SYSREF (output)
                            3 channel-specific attributes found:
                                    attr  0: frequency value: 1953125
                                    attr  1: label value: DEV_SYSREF
                                    attr  2: phase value: 0.000000
                            altvoltage2: DEV_REFCLK (output)
                            3 channel-specific attributes found:
                                    attr  0: frequency value: 125000000
                                    attr  1: label value: DEV_REFCLK
                                    attr  2: phase value: 0.000000
                    7 device-specific attributes found:
                                    attr  0: mute_request value: 0
                                    attr  1: reseed_request value: 0
                                    attr  2: reset_dividers_request value: 0
                                    attr  3: sleep_request value: 0
                                    attr  4: sync_pin_mode value: sync
                                    attr  5: sync_pin_mode_available value: disable sync sysref sync_else_sysref
                                    attr  6: sysref_request value: 0
                    2 debug attributes found:
                                    debug attr  0: status value: --- PLL1 ---
    Status: Locked
    Using:  CLKIN0 @ 100000000 Hz
    PFD:    10000 kHz
    --- PLL2 ---
    Status: Locked (Synchronized)
    Frequency:      3000000000 Hz (Autocal cap bank value: 13)
    SYSREF Status:  Valid & Locked
    SYNC Status:    Synchronized
    Lock Status:    PLL1 & PLL2 Locked
                                    debug attr  1: direct_reg_access value: 0x0
                    No trigger on this device
            iio:device1: axi-ad9081-tx-hpc (buffer capable)
                    24 channels found:
                            voltage0_i:  (output, index: 0, format: le:s12/16>>4)
                            3 channel-specific attributes found:
                                    attr  0: calibphase value: 0.000000
                                    attr  1: calibscale value: 1.000000
                                    attr  2: sampling_frequency value: 2000000000
                            voltage0_q:  (output, index: 1, format: le:s12/16>>4)
                            3 channel-specific attributes found:
                                    attr  0: calibphase value: 0.000000
                                    attr  1: calibscale value: 1.000000
                                    attr  2: sampling_frequency value: 2000000000
                            voltage1_i:  (output, index: 2, format: le:s12/16>>4)
                            3 channel-specific attributes found:
                                    attr  0: calibphase value: 0.000000
                                    attr  1: calibscale value: 1.000000
                                    attr  2: sampling_frequency value: 2000000000
                            voltage1_q:  (output, index: 3, format: le:s12/16>>4)
                            3 channel-specific attributes found:
                                    attr  0: calibphase value: 0.000000
                                    attr  1: calibscale value: 1.000000
                                    attr  2: sampling_frequency value: 2000000000
                            voltage2_i:  (output, index: 4, format: le:s12/16>>4)
                            3 channel-specific attributes found:
                                    attr  0: calibphase value: 0.000000
                                    attr  1: calibscale value: 1.000000
                                    attr  2: sampling_frequency value: 2000000000
                            voltage2_q:  (output, index: 5, format: le:s12/16>>4)
                            3 channel-specific attributes found:
                                    attr  0: calibphase value: 0.000000
                                    attr  1: calibscale value: 1.000000
                                    attr  2: sampling_frequency value: 2000000000
                            voltage3_i:  (output, index: 6, format: le:s12/16>>4)
                            3 channel-specific attributes found:
                                    attr  0: calibphase value: 0.000000
                                    attr  1: calibscale value: 1.000000
                                    attr  2: sampling_frequency value: 2000000000
                            voltage3_q:  (output, index: 7, format: le:s12/16>>4)
                            3 channel-specific attributes found:
                                    attr  0: calibphase value: 0.000000
                                    attr  1: calibscale value: 1.000000
                                    attr  2: sampling_frequency value: 2000000000
                            altvoltage15: TX4_Q_F2 (output)
                            6 channel-specific attributes found:
                                    attr  0: frequency value: 40009155
                                    attr  1: label value: TX4_Q_F2
                                    attr  2: phase value: 0
                                    attr  3: raw value: 1
                                    attr  4: sampling_frequency value: 2000000000
                                    attr  5: scale value: 0.250000
                            altvoltage3: TX1_Q_F2 (output)
                            6 channel-specific attributes found:
                                    attr  0: frequency value: 40009155
                                    attr  1: label value: TX1_Q_F2
                                    attr  2: phase value: 0
                                    attr  3: raw value: 1
                                    attr  4: sampling_frequency value: 2000000000
                                    attr  5: scale value: 0.250000
                            altvoltage1: TX1_I_F2 (output)
                            6 channel-specific attributes found:
                                    attr  0: frequency value: 40009155
                                    attr  1: label value: TX1_I_F2
                                    attr  2: phase value: 90000
                                    attr  3: raw value: 1
                                    attr  4: sampling_frequency value: 2000000000
                                    attr  5: scale value: 0.250000
                            altvoltage8: TX3_I_F1 (output)
                            6 channel-specific attributes found:
                                    attr  0: frequency value: 40009155
                                    attr  1: label value: TX3_I_F1
                                    attr  2: phase value: 90000
                                    attr  3: raw value: 1
                                    attr  4: sampling_frequency value: 2000000000
                                    attr  5: scale value: 0.250000
                            altvoltage14: TX4_Q_F1 (output)
                            6 channel-specific attributes found:
                                    attr  0: frequency value: 40009155
                                    attr  1: label value: TX4_Q_F1
                                    attr  2: phase value: 0
                                    attr  3: raw value: 1
                                    attr  4: sampling_frequency value: 2000000000
                                    attr  5: scale value: 0.250000
                            altvoltage0: TX1_I_F1 (output)
                            6 channel-specific attributes found:
                                    attr  0: frequency value: 40009155
                                    attr  1: label value: TX1_I_F1
                                    attr  2: phase value: 90000
                                    attr  3: raw value: 1
                                    attr  4: sampling_frequency value: 2000000000
                                    attr  5: scale value: 0.250000
                            altvoltage7: TX2_Q_F2 (output)
                            6 channel-specific attributes found:
                                    attr  0: frequency value: 40009155
                                    attr  1: label value: TX2_Q_F2
                                    attr  2: phase value: 0
                                    attr  3: raw value: 1
                                    attr  4: sampling_frequency value: 2000000000
                                    attr  5: scale value: 0.250000
                            altvoltage11: TX3_Q_F2 (output)
                            6 channel-specific attributes found:
                                    attr  0: frequency value: 40009155
                                    attr  1: label value: TX3_Q_F2
                                    attr  2: phase value: 0
                                    attr  3: raw value: 1
                                    attr  4: sampling_frequency value: 2000000000
                                    attr  5: scale value: 0.250000
                            altvoltage13: TX4_I_F2 (output)
                            6 channel-specific attributes found:
                                    attr  0: frequency value: 40009155
                                    attr  1: label value: TX4_I_F2
                                    attr  2: phase value: 90000
                                    attr  3: raw value: 1
                                    attr  4: sampling_frequency value: 2000000000
                                    attr  5: scale value: 0.250000
                            altvoltage6: TX2_Q_F1 (output)
                            6 channel-specific attributes found:
                                    attr  0: frequency value: 40009155
                                    attr  1: label value: TX2_Q_F1
                                    attr  2: phase value: 0
                                    attr  3: raw value: 1
                                    attr  4: sampling_frequency value: 2000000000
                                    attr  5: scale value: 0.250000
                            altvoltage9: TX3_I_F2 (output)
                            6 channel-specific attributes found:
                                    attr  0: frequency value: 40009155
                                    attr  1: label value: TX3_I_F2
                                    attr  2: phase value: 90000
                                    attr  3: raw value: 1
                                    attr  4: sampling_frequency value: 2000000000
                                    attr  5: scale value: 0.250000
                            altvoltage10: TX3_Q_F1 (output)
                            6 channel-specific attributes found:
                                    attr  0: frequency value: 40009155
                                    attr  1: label value: TX3_Q_F1
                                    attr  2: phase value: 0
                                    attr  3: raw value: 1
                                    attr  4: sampling_frequency value: 2000000000
                                    attr  5: scale value: 0.250000
                            altvoltage12: TX4_I_F1 (output)
                            6 channel-specific attributes found:
                                    attr  0: frequency value: 40009155
                                    attr  1: label value: TX4_I_F1
                                    attr  2: phase value: 90000
                                    attr  3: raw value: 1
                                    attr  4: sampling_frequency value: 2000000000
                                    attr  5: scale value: 0.250000
                            altvoltage5: TX2_I_F2 (output)
                            6 channel-specific attributes found:
                                    attr  0: frequency value: 40009155
                                    attr  1: label value: TX2_I_F2
                                    attr  2: phase value: 90000
                                    attr  3: raw value: 1
                                    attr  4: sampling_frequency value: 2000000000
                                    attr  5: scale value: 0.250000
                            altvoltage2: TX1_Q_F1 (output)
                            6 channel-specific attributes found:
                                    attr  0: frequency value: 40009155
                                    attr  1: label value: TX1_Q_F1
                                    attr  2: phase value: 0
                                    attr  3: raw value: 1
                                    attr  4: sampling_frequency value: 2000000000
                                    attr  5: scale value: 0.250000
                            altvoltage4: TX2_I_F1 (output)
                            6 channel-specific attributes found:
                                    attr  0: frequency value: 40009155
                                    attr  1: label value: TX2_I_F1
                                    attr  2: phase value: 90000
                                    attr  3: raw value: 1
                                    attr  4: sampling_frequency value: 2000000000
                                    attr  5: scale value: 0.250000
                    2 device-specific attributes found:
                                    attr  0: sync_start_enable value: disarm
                                    attr  1: sync_start_enable_available value: arm disarm trigger_manual
                    3 buffer-specific attributes found:
                                    attr  0: data_available value: 0
                                    attr  1: length_align_bytes value: 32
                                    attr  2: watermark value: 2048
                    2 debug attributes found:
                                    debug attr  0: pl_ddr_fifo_enable value: 1
                                    debug attr  1: direct_reg_access value: 0x90162
                    No trigger on this device
            iio:device2: axi-ad9081-rx-hpc (buffer capable)
                    17 channels found:
                            voltage0_i:  (input, index: 0, format: le:s12/16>>0)
                            21 channel-specific attributes found:
                                    attr  0: adc_frequency value: 4000000000
                                    attr  1: channel_6db_digital_gain_en value: 0
                                    attr  2: channel_nco_frequency value: 0
                                    attr  3: channel_nco_frequency_available value: [0 1 0]
                                    attr  4: channel_nco_phase value: 0
                                    attr  5: label value: FDDC0->CDDC0->ADC0
                                    attr  6: main_6db_digital_gain_en value: 0
                                    attr  7: main_ffh_gpio_mode_en value: 0
                                    attr  8: main_ffh_mode value: instantaneous_update
                                    attr  9: main_ffh_mode_available value: instantaneous_update synchronous_update_by_transfer_bit synchronous_update_by_gpio
                                    attr 10: main_ffh_trig_hop_en value: 0
                                    attr 11: main_nco_ffh_index value: 0
                                    attr 12: main_nco_ffh_select value: 0
                                    attr 13: main_nco_frequency value: 400000000
                                    attr 14: main_nco_frequency_available value: [-2000000000 1 2000000000]
                                    attr 15: main_nco_phase value: 0
                                    attr 16: nyquist_zone ERROR: No such file or directory (2)
                                    attr 17: nyquist_zone_available value: odd even
                                    attr 18: sampling_frequency value: 2000000000
                                    attr 19: test_mode value: off
                                    attr 20: test_mode_available value: off midscale_short pos_fullscale neg_fullscale checkerboard pn23 pn9 one_zero_toggle user pn7 pn15 pn31 ramp
                            voltage0_q:  (input, index: 1, format: le:s12/16>>0)
                            21 channel-specific attributes found:
                                    attr  0: adc_frequency value: 4000000000
                                    attr  1: channel_6db_digital_gain_en value: 0
                                    attr  2: channel_nco_frequency value: 0
                                    attr  3: channel_nco_frequency_available value: [0 1 0]
                                    attr  4: channel_nco_phase value: 0
                                    attr  5: label value: FDDC0->CDDC0->ADC0
                                    attr  6: main_6db_digital_gain_en value: 0
                                    attr  7: main_ffh_gpio_mode_en value: 0
                                    attr  8: main_ffh_mode value: instantaneous_update
                                    attr  9: main_ffh_mode_available value: instantaneous_update synchronous_update_by_transfer_bit synchronous_update_by_gpio
                                    attr 10: main_ffh_trig_hop_en value: 0
                                    attr 11: main_nco_ffh_index value: 0
                                    attr 12: main_nco_ffh_select value: 0
                                    attr 13: main_nco_frequency value: 400000000
                                    attr 14: main_nco_frequency_available value: [-2000000000 1 2000000000]
                                    attr 15: main_nco_phase value: 0
                                    attr 16: nyquist_zone ERROR: No such file or directory (2)
                                    attr 17: nyquist_zone_available value: odd even
                                    attr 18: sampling_frequency value: 2000000000
                                    attr 19: test_mode value: off
                                    attr 20: test_mode_available value: off midscale_short pos_fullscale neg_fullscale checkerboard pn23 pn9 one_zero_toggle user pn7 pn15 pn31 ramp
                            voltage1_i:  (input, index: 2, format: le:s12/16>>0)
                            21 channel-specific attributes found:
                                    attr  0: adc_frequency value: 4000000000
                                    attr  1: channel_6db_digital_gain_en value: 0
                                    attr  2: channel_nco_frequency value: 0
                                    attr  3: channel_nco_frequency_available value: [0 1 0]
                                    attr  4: channel_nco_phase value: 0
                                    attr  5: label value: FDDC1->CDDC1->ADC1
                                    attr  6: main_6db_digital_gain_en value: 0
                                    attr  7: main_ffh_gpio_mode_en value: 0
                                    attr  8: main_ffh_mode value: instantaneous_update
                                    attr  9: main_ffh_mode_available value: instantaneous_update synchronous_update_by_transfer_bit synchronous_update_by_gpio
                                    attr 10: main_ffh_trig_hop_en value: 0
                                    attr 11: main_nco_ffh_index value: 0
                                    attr 12: main_nco_ffh_select value: 0
                                    attr 13: main_nco_frequency value: -400000000
                                    attr 14: main_nco_frequency_available value: [-2000000000 1 2000000000]
                                    attr 15: main_nco_phase value: 0
                                    attr 16: nyquist_zone ERROR: No such file or directory (2)
                                    attr 17: nyquist_zone_available value: odd even
                                    attr 18: sampling_frequency value: 2000000000
                                    attr 19: test_mode value: off
                                    attr 20: test_mode_available value: off midscale_short pos_fullscale neg_fullscale checkerboard pn23 pn9 one_zero_toggle user pn7 pn15 pn31 ramp
                            voltage1_q:  (input, index: 3, format: le:s12/16>>0)
                            21 channel-specific attributes found:
                                    attr  0: adc_frequency value: 4000000000
                                    attr  1: channel_6db_digital_gain_en value: 0
                                    attr  2: channel_nco_frequency value: 0
                                    attr  3: channel_nco_frequency_available value: [0 1 0]
                                    attr  4: channel_nco_phase value: 0
                                    attr  5: label value: FDDC1->CDDC1->ADC1
                                    attr  6: main_6db_digital_gain_en value: 0
                                    attr  7: main_ffh_gpio_mode_en value: 0
                                    attr  8: main_ffh_mode value: instantaneous_update
                                    attr  9: main_ffh_mode_available value: instantaneous_update synchronous_update_by_transfer_bit synchronous_update_by_gpio
                                    attr 10: main_ffh_trig_hop_en value: 0
                                    attr 11: main_nco_ffh_index value: 0
                                    attr 12: main_nco_ffh_select value: 0
                                    attr 13: main_nco_frequency value: -400000000
                                    attr 14: main_nco_frequency_available value: [-2000000000 1 2000000000]
                                    attr 15: main_nco_phase value: 0
                                    attr 16: nyquist_zone ERROR: No such file or directory (2)
                                    attr 17: nyquist_zone_available value: odd even
                                    attr 18: sampling_frequency value: 2000000000
                                    attr 19: test_mode value: off
                                    attr 20: test_mode_available value: off midscale_short pos_fullscale neg_fullscale checkerboard pn23 pn9 one_zero_toggle user pn7 pn15 pn31 ramp
                            voltage2_i:  (input, index: 4, format: le:s12/16>>0)
                            21 channel-specific attributes found:
                                    attr  0: adc_frequency value: 4000000000
                                    attr  1: channel_6db_digital_gain_en value: 0
                                    attr  2: channel_nco_frequency value: 0
                                    attr  3: channel_nco_frequency_available value: [0 1 0]
                                    attr  4: channel_nco_phase value: 0
                                    attr  5: label value: FDDC4->CDDC2->ADC2
                                    attr  6: main_6db_digital_gain_en value: 0
                                    attr  7: main_ffh_gpio_mode_en value: 0
                                    attr  8: main_ffh_mode value: instantaneous_update
                                    attr  9: main_ffh_mode_available value: instantaneous_update synchronous_update_by_transfer_bit synchronous_update_by_gpio
                                    attr 10: main_ffh_trig_hop_en value: 0
                                    attr 11: main_nco_ffh_index value: 0
                                    attr 12: main_nco_ffh_select value: 0
                                    attr 13: main_nco_frequency value: 400000000
                                    attr 14: main_nco_frequency_available value: [-2000000000 1 2000000000]
                                    attr 15: main_nco_phase value: 0
                                    attr 16: nyquist_zone ERROR: No such file or directory (2)
                                    attr 17: nyquist_zone_available value: odd even
                                    attr 18: sampling_frequency value: 2000000000
                                    attr 19: test_mode value: off
                                    attr 20: test_mode_available value: off midscale_short pos_fullscale neg_fullscale checkerboard pn23 pn9 one_zero_toggle user pn7 pn15 pn31 ramp
                            voltage2_q:  (input, index: 5, format: le:s12/16>>0)
                            21 channel-specific attributes found:
                                    attr  0: adc_frequency value: 4000000000
                                    attr  1: channel_6db_digital_gain_en value: 0
                                    attr  2: channel_nco_frequency value: 0
                                    attr  3: channel_nco_frequency_available value: [0 1 0]
                                    attr  4: channel_nco_phase value: 0
                                    attr  5: label value: FDDC4->CDDC2->ADC2
                                    attr  6: main_6db_digital_gain_en value: 0
                                    attr  7: main_ffh_gpio_mode_en value: 0
                                    attr  8: main_ffh_mode value: instantaneous_update
                                    attr  9: main_ffh_mode_available value: instantaneous_update synchronous_update_by_transfer_bit synchronous_update_by_gpio
                                    attr 10: main_ffh_trig_hop_en value: 0
                                    attr 11: main_nco_ffh_index value: 0
                                    attr 12: main_nco_ffh_select value: 0
                                    attr 13: main_nco_frequency value: 400000000
                                    attr 14: main_nco_frequency_available value: [-2000000000 1 2000000000]
                                    attr 15: main_nco_phase value: 0
                                    attr 16: nyquist_zone ERROR: No such file or directory (2)
                                    attr 17: nyquist_zone_available value: odd even
                                    attr 18: sampling_frequency value: 2000000000
                                    attr 19: test_mode value: off
                                    attr 20: test_mode_available value: off midscale_short pos_fullscale neg_fullscale checkerboard pn23 pn9 one_zero_toggle user pn7 pn15 pn31 ramp
                            voltage3_i:  (input, index: 6, format: le:s12/16>>0)
                            21 channel-specific attributes found:
                                    attr  0: adc_frequency value: 4000000000
                                    attr  1: channel_6db_digital_gain_en value: 0
                                    attr  2: channel_nco_frequency value: 0
                                    attr  3: channel_nco_frequency_available value: [0 1 0]
                                    attr  4: channel_nco_phase value: 0
                                    attr  5: label value: FDDC5->CDDC3->ADC3
                                    attr  6: main_6db_digital_gain_en value: 0
                                    attr  7: main_ffh_gpio_mode_en value: 0
                                    attr  8: main_ffh_mode value: instantaneous_update
                                    attr  9: main_ffh_mode_available value: instantaneous_update synchronous_update_by_transfer_bit synchronous_update_by_gpio
                                    attr 10: main_ffh_trig_hop_en value: 0
                                    attr 11: main_nco_ffh_index value: 0
                                    attr 12: main_nco_ffh_select value: 0
                                    attr 13: main_nco_frequency value: -400000000
                                    attr 14: main_nco_frequency_available value: [-2000000000 1 2000000000]
                                    attr 15: main_nco_phase value: 0
                                    attr 16: nyquist_zone ERROR: No such file or directory (2)
                                    attr 17: nyquist_zone_available value: odd even
                                    attr 18: sampling_frequency value: 2000000000
                                    attr 19: test_mode value: off
                                    attr 20: test_mode_available value: off midscale_short pos_fullscale neg_fullscale checkerboard pn23 pn9 one_zero_toggle user pn7 pn15 pn31 ramp
                            voltage3_q:  (input, index: 7, format: le:s12/16>>0)
                            21 channel-specific attributes found:
                                    attr  0: adc_frequency value: 4000000000
                                    attr  1: channel_6db_digital_gain_en value: 0
                                    attr  2: channel_nco_frequency value: 0
                                    attr  3: channel_nco_frequency_available value: [0 1 0]
                                    attr  4: channel_nco_phase value: 0
                                    attr  5: label value: FDDC5->CDDC3->ADC3
                                    attr  6: main_6db_digital_gain_en value: 0
                                    attr  7: main_ffh_gpio_mode_en value: 0
                                    attr  8: main_ffh_mode value: instantaneous_update
                                    attr  9: main_ffh_mode_available value: instantaneous_update synchronous_update_by_transfer_bit synchronous_update_by_gpio
                                    attr 10: main_ffh_trig_hop_en value: 0
                                    attr 11: main_nco_ffh_index value: 0
                                    attr 12: main_nco_ffh_select value: 0
                                    attr 13: main_nco_frequency value: -400000000
                                    attr 14: main_nco_frequency_available value: [-2000000000 1 2000000000]
                                    attr 15: main_nco_phase value: 0
                                    attr 16: nyquist_zone ERROR: No such file or directory (2)
                                    attr 17: nyquist_zone_available value: odd even
                                    attr 18: sampling_frequency value: 2000000000
                                    attr 19: test_mode value: off
                                    attr 20: test_mode_available value: off midscale_short pos_fullscale neg_fullscale checkerboard pn23 pn9 one_zero_toggle user pn7 pn15 pn31 ramp
                            voltage0_i:  (output)
                            21 channel-specific attributes found:
                                    attr  0: channel_nco_frequency value: 0
                                    attr  1: channel_nco_frequency_available value: [0 1 0]
                                    attr  2: channel_nco_gain_scale value: 0.500122100
                                    attr  3: channel_nco_phase value: 0
                                    attr  4: channel_nco_test_tone_en value: 0
                                    attr  5: channel_nco_test_tone_scale value: 0.000000000
                                    attr  6: dac_frequency value: 8000000000
                                    attr  7: en value: 1
                                    attr  8: label value: FDUC0->CDUC2->DAC2
                                    attr  9: main_ffh_gpio_mode_en value: 0
                                    attr 10: main_ffh_mode value: phase_continuous
                                    attr 11: main_ffh_mode_available value: phase_continuous phase_incontinuous phase_coherent
                                    attr 12: main_nco_ffh_frequency value: 0
                                    attr 13: main_nco_ffh_index value: 0
                                    attr 14: main_nco_ffh_select value: 0
                                    attr 15: main_nco_frequency value: 1000000000
                                    attr 16: main_nco_frequency_available value: [-4000000000 1 4000000000]
                                    attr 17: main_nco_phase value: 0
                                    attr 18: main_nco_test_tone_en value: 0
                                    attr 19: main_nco_test_tone_scale value: 0.000000000
                                    attr 20: sampling_frequency value: 2000000000
                            temp0:  (input)
                            2 channel-specific attributes found:
                                    attr  0: input value: 74000
                                    attr  1: label value: FDDC0->CDDC0->ADC0
                            voltage2_i:  (output)
                            21 channel-specific attributes found:
                                    attr  0: channel_nco_frequency value: 0
                                    attr  1: channel_nco_frequency_available value: [0 1 0]
                                    attr  2: channel_nco_gain_scale value: 0.000000000
                                    attr  3: channel_nco_phase value: 0
                                    attr  4: channel_nco_test_tone_en value: 0
                                    attr  5: channel_nco_test_tone_scale value: 0.000000000
                                    attr  6: dac_frequency value: 8000000000
                                    attr  7: en value: 0
                                    attr  8: label value: FDUC2->CDUC3->DAC3
                                    attr  9: main_ffh_gpio_mode_en value: 0
                                    attr 10: main_ffh_mode value: phase_continuous
                                    attr 11: main_ffh_mode_available value: phase_continuous phase_incontinuous phase_coherent
                                    attr 12: main_nco_ffh_frequency value: 0
                                    attr 13: main_nco_ffh_index value: 0
                                    attr 14: main_nco_ffh_select ERROR: Invalid argument (22)
                                    attr 15: main_nco_frequency ERROR: Invalid argument (22)
                                    attr 16: main_nco_frequency_available value: [-4000000000 1 4000000000]
                                    attr 17: main_nco_phase ERROR: Invalid argument (22)
                                    attr 18: main_nco_test_tone_en value: 0
                                    attr 19: main_nco_test_tone_scale value: 0.000000000
                                    attr 20: sampling_frequency value: 2000000000
                            voltage2_q:  (output)
                            21 channel-specific attributes found:
                                    attr  0: channel_nco_frequency value: 0
                                    attr  1: channel_nco_frequency_available value: [0 1 0]
                                    attr  2: channel_nco_gain_scale value: 0.000000000
                                    attr  3: channel_nco_phase value: 0
                                    attr  4: channel_nco_test_tone_en value: 0
                                    attr  5: channel_nco_test_tone_scale value: 0.000000000
                                    attr  6: dac_frequency value: 8000000000
                                    attr  7: en value: 0
                                    attr  8: label value: FDUC2->CDUC3->DAC3
                                    attr  9: main_ffh_gpio_mode_en value: 0
                                    attr 10: main_ffh_mode value: phase_continuous
                                    attr 11: main_ffh_mode_available value: phase_continuous phase_incontinuous phase_coherent
                                    attr 12: main_nco_ffh_frequency value: 0
                                    attr 13: main_nco_ffh_index value: 0
                                    attr 14: main_nco_ffh_select ERROR: Invalid argument (22)
                                    attr 15: main_nco_frequency ERROR: Invalid argument (22)
                                    attr 16: main_nco_frequency_available value: [-4000000000 1 4000000000]
                                    attr 17: main_nco_phase ERROR: Invalid argument (22)
                                    attr 18: main_nco_test_tone_en value: 0
                                    attr 19: main_nco_test_tone_scale value: 0.000000000
                                    attr 20: sampling_frequency value: 2000000000
                            voltage1_q:  (output)
                            21 channel-specific attributes found:
                                    attr  0: channel_nco_frequency value: 0
                                    attr  1: channel_nco_frequency_available value: [0 1 0]
                                    attr  2: channel_nco_gain_scale value: 0.500122100
                                    attr  3: channel_nco_phase value: 0
                                    attr  4: channel_nco_test_tone_en value: 0
                                    attr  5: channel_nco_test_tone_scale value: 0.000000000
                                    attr  6: dac_frequency value: 8000000000
                                    attr  7: en value: 1
                                    attr  8: label value: FDUC1->CDUC3->DAC3
                                    attr  9: main_ffh_gpio_mode_en value: 0
                                    attr 10: main_ffh_mode value: phase_continuous
                                    attr 11: main_ffh_mode_available value: phase_continuous phase_incontinuous phase_coherent
                                    attr 12: main_nco_ffh_frequency value: 0
                                    attr 13: main_nco_ffh_index value: 0
                                    attr 14: main_nco_ffh_select value: 0
                                    attr 15: main_nco_frequency value: 1100000000
                                    attr 16: main_nco_frequency_available value: [-4000000000 1 4000000000]
                                    attr 17: main_nco_phase value: 0
                                    attr 18: main_nco_test_tone_en value: 0
                                    attr 19: main_nco_test_tone_scale value: 0.000000000
                                    attr 20: sampling_frequency value: 2000000000
                            voltage0_q:  (output)
                            21 channel-specific attributes found:
                                    attr  0: channel_nco_frequency value: 0
                                    attr  1: channel_nco_frequency_available value: [0 1 0]
                                    attr  2: channel_nco_gain_scale value: 0.500122100
                                    attr  3: channel_nco_phase value: 0
                                    attr  4: channel_nco_test_tone_en value: 0
                                    attr  5: channel_nco_test_tone_scale value: 0.000000000
                                    attr  6: dac_frequency value: 8000000000
                                    attr  7: en value: 1
                                    attr  8: label value: FDUC0->CDUC2->DAC2
                                    attr  9: main_ffh_gpio_mode_en value: 0
                                    attr 10: main_ffh_mode value: phase_continuous
                                    attr 11: main_ffh_mode_available value: phase_continuous phase_incontinuous phase_coherent
                                    attr 12: main_nco_ffh_frequency value: 0
                                    attr 13: main_nco_ffh_index value: 0
                                    attr 14: main_nco_ffh_select value: 0
                                    attr 15: main_nco_frequency value: 1000000000
                                    attr 16: main_nco_frequency_available value: [-4000000000 1 4000000000]
                                    attr 17: main_nco_phase value: 0
                                    attr 18: main_nco_test_tone_en value: 0
                                    attr 19: main_nco_test_tone_scale value: 0.000000000
                                    attr 20: sampling_frequency value: 2000000000
                            voltage3_q:  (output)
                            21 channel-specific attributes found:
                                    attr  0: channel_nco_frequency value: 0
                                    attr  1: channel_nco_frequency_available value: [0 1 0]
                                    attr  2: channel_nco_gain_scale value: 0.000000000
                                    attr  3: channel_nco_phase value: 0
                                    attr  4: channel_nco_test_tone_en value: 0
                                    attr  5: channel_nco_test_tone_scale value: 0.000000000
                                    attr  6: dac_frequency value: 8000000000
                                    attr  7: en value: 0
                                    attr  8: label value: FDUC3->CDUC3->DAC3
                                    attr  9: main_ffh_gpio_mode_en value: 0
                                    attr 10: main_ffh_mode value: phase_continuous
                                    attr 11: main_ffh_mode_available value: phase_continuous phase_incontinuous phase_coherent
                                    attr 12: main_nco_ffh_frequency value: 0
                                    attr 13: main_nco_ffh_index value: 0
                                    attr 14: main_nco_ffh_select ERROR: Invalid argument (22)
                                    attr 15: main_nco_frequency ERROR: Invalid argument (22)
                                    attr 16: main_nco_frequency_available value: [-4000000000 1 4000000000]
                                    attr 17: main_nco_phase ERROR: Invalid argument (22)
                                    attr 18: main_nco_test_tone_en value: 0
                                    attr 19: main_nco_test_tone_scale value: 0.000000000
                                    attr 20: sampling_frequency value: 2000000000
                            voltage1_i:  (output)
                            21 channel-specific attributes found:
                                    attr  0: channel_nco_frequency value: 0
                                    attr  1: channel_nco_frequency_available value: [0 1 0]
                                    attr  2: channel_nco_gain_scale value: 0.500122100
                                    attr  3: channel_nco_phase value: 0
                                    attr  4: channel_nco_test_tone_en value: 0
                                    attr  5: channel_nco_test_tone_scale value: 0.000000000
                                    attr  6: dac_frequency value: 8000000000
                                    attr  7: en value: 1
                                    attr  8: label value: FDUC1->CDUC3->DAC3
                                    attr  9: main_ffh_gpio_mode_en value: 0
                                    attr 10: main_ffh_mode value: phase_continuous
                                    attr 11: main_ffh_mode_available value: phase_continuous phase_incontinuous phase_coherent
                                    attr 12: main_nco_ffh_frequency value: 0
                                    attr 13: main_nco_ffh_index value: 0
                                    attr 14: main_nco_ffh_select value: 0
                                    attr 15: main_nco_frequency value: 1100000000
                                    attr 16: main_nco_frequency_available value: [-4000000000 1 4000000000]
                                    attr 17: main_nco_phase value: 0
                                    attr 18: main_nco_test_tone_en value: 0
                                    attr 19: main_nco_test_tone_scale value: 0.000000000
                                    attr 20: sampling_frequency value: 2000000000
                            voltage3_i:  (output)
                            21 channel-specific attributes found:
                                    attr  0: channel_nco_frequency value: 0
                                    attr  1: channel_nco_frequency_available value: [0 1 0]
                                    attr  2: channel_nco_gain_scale value: 0.000000000
                                    attr  3: channel_nco_phase value: 0
                                    attr  4: channel_nco_test_tone_en value: 0
                                    attr  5: channel_nco_test_tone_scale value: 0.000000000
                                    attr  6: dac_frequency value: 8000000000
                                    attr  7: en value: 0
                                    attr  8: label value: FDUC3->CDUC3->DAC3
                                    attr  9: main_ffh_gpio_mode_en value: 0
                                    attr 10: main_ffh_mode value: phase_continuous
                                    attr 11: main_ffh_mode_available value: phase_continuous phase_incontinuous phase_coherent
                                    attr 12: main_nco_ffh_frequency value: 0
                                    attr 13: main_nco_ffh_index value: 0
                                    attr 14: main_nco_ffh_select ERROR: Invalid argument (22)
                                    attr 15: main_nco_frequency ERROR: Invalid argument (22)
                                    attr 16: main_nco_frequency_available value: [-4000000000 1 4000000000]
                                    attr 17: main_nco_phase ERROR: Invalid argument (22)
                                    attr 18: main_nco_test_tone_en value: 0
                                    attr 19: main_nco_test_tone_scale value: 0.000000000
                                    attr 20: sampling_frequency value: 2000000000
                    13 device-specific attributes found:
                                    attr  0: adc_clk_powerdown value: 0
                                    attr  1: filter_fir_config ERROR: Permission denied (13)
                                    attr  2: jesd204_fsm_ctrl value: 1
                                    attr  3: jesd204_fsm_error value: 0
                                    attr  4: jesd204_fsm_paused value: 0
                                    attr  5: jesd204_fsm_resume ERROR: Permission denied (13)
                                    attr  6: jesd204_fsm_state value: opt_post_running_stage
                                    attr  7: loopback_mode value: 0
                                    attr  8: loopback_mode_available value: 0 1 2 3
                                    attr  9: multichip_sync value: 0
                                    attr 10: powerdown value: 0
                                    attr 11: sync_start_enable value: disarm
                                    attr 12: sync_start_enable_available value: arm disarm trigger_manual
                    3 buffer-specific attributes found:
                                    attr  0: data_available value: 0
                                    attr  1: length_align_bytes value: 32
                                    attr  2: watermark value: 2048
                    12 debug attributes found:
                                    debug attr  0: adi,direct-loopback-mode-dac-adc-mapping value: 68
                                    debug attr  1: dac-full-scale-current-ua ERROR: Permission denied (13)
                                    debug attr  2: chip_version value: AD9081 Rev. 3 Grade 10
                                    debug attr  3: api_version value: 1.4.0
                                    debug attr  4: bist_spo_sweep_jrx value: l:0 r:0
                                    debug attr  5: bist_spo_set_jrx value: 0
                                    debug attr  6: bist_prbs_error_counters_jrx value: 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1
                                    debug attr  7: bist_prbs_select_jtx value: 0
                                    debug attr  8: bist_prbs_select_jrx value: 0
                                    debug attr  9: status value: JESD TX (JRX) Link0 204C status Link is good (6), TPL Phase Difference Read 25, Set 59
    JESD RX (JTX) Link0 204C PLL locked, PHASE established, MODE valid
                                    debug attr 10: pseudorandom_err_check value: CH0 : PN9 : Out of Sync : PN Error
    CH1 : PN9 : Out of Sync : PN Error
    CH2 : PN9 : Out of Sync : PN Error
    CH3 : PN9 : Out of Sync : PN Error
    CH4 : PN9 : Out of Sync : PN Error
    CH5 : PN9 : Out of Sync : PN Error
    CH6 : PN9 : Out of Sync : PN Error
    CH7 : PN9 : Out of Sync : PN Error
    CH8 : UNDEF : In Sync : PN Error
    CH9 : UNDEF : In Sync : PN Error
    CH10 : UNDEF : In Sync : PN Error
    CH11 : UNDEF : In Sync : PN Error
    CH12 : UNDEF : In Sync : PN Error
    CH13 : UNDEF : In Sync : PN Error
    CH14 : UNDEF : In Sync : PN Error
    CH15 : UNDEF : In Sync : PN Error
    CH16 : UNDEF : In Sync : PN Error
                                    debug attr 11: direct_reg_access value: 0x3C
                    No trigger on this device
    #

    Thanks,

    Deng

  • Hi,

    Are there any updates on this? Slight smile

    Thanks,

    Deng