Post Go back to editing

Adalm Pluto 2nd Receive channel not working

Hi

When trying the example of dual Tx Rx for adalm pluto from Jon Kraft's channel, i keep getting the PyAdi error:
Exception: Channel voltage2 not found.

I did already ssh into pluto and did: fw_setenv mode ad9361,,,,,, fw_setenv compatible ad9361, and i established rf connection via u.fl - sma cables from the board to the 2 additional antennas.

But i keep getting the ''Exception: Channel voltage2 not found."  in python.  Can anyone please help me????  The adalm pluto is a rev C. 

Parents
  • Hi,

    Could you try customizing the Pluto again by accessing it through ssh?
    The commands to set the PlutoSDR Rev C. to mode 2r2t as stated in the documentation ( https://wiki.analog.com/university/tools/pluto/users/customizing ) are:

    fw_setenv attr_name compatible
    fw_setenv attr_val ad9361
    fw_setenv compatible ad9361
    fw_setenv mode 2r2t


    Thank you!
    -Alexandra

  • Hi

    It still doesn't work :(

    Traceback (most recent call last):
    File "/home/argonghost/Desktop/new.py", line 17, in <module>
    sdr.gain_control_mode_chan1 = "manual"
    File "/home/argonghost/.local/lib/python3.10/site-packages/adi/ad936x.py", line 223, in gain_control_mode_chan1
    self._set_iio_attr("voltage1", "gain_control_mode", False, value)
    File "/home/argonghost/.local/lib/python3.10/site-packages/adi/attribute.py", line 71, in _set_iio_attr
    raise ex
    File "/home/argonghost/.local/lib/python3.10/site-packages/adi/attribute.py", line 69, in _set_iio_attr
    channel.attrs[attr_name].value = str(value)
    AttributeError: 'NoneType' object has no attribute 'attrs'

Reply
  • Hi

    It still doesn't work :(

    Traceback (most recent call last):
    File "/home/argonghost/Desktop/new.py", line 17, in <module>
    sdr.gain_control_mode_chan1 = "manual"
    File "/home/argonghost/.local/lib/python3.10/site-packages/adi/ad936x.py", line 223, in gain_control_mode_chan1
    self._set_iio_attr("voltage1", "gain_control_mode", False, value)
    File "/home/argonghost/.local/lib/python3.10/site-packages/adi/attribute.py", line 71, in _set_iio_attr
    raise ex
    File "/home/argonghost/.local/lib/python3.10/site-packages/adi/attribute.py", line 69, in _set_iio_attr
    channel.attrs[attr_name].value = str(value)
    AttributeError: 'NoneType' object has no attribute 'attrs'

Children