External pps equipment connected with USRP.
In soapy_power,I set --device-settings 'clock_source=external'
but failed.
Traceback (most recent call last):
File "/usr/local/bin/soapy_power", line 8, in <module>
sys.exit(main())
File "/usr/local/lib/python3.8/dist-packages/soapypower/__main__.py", line 317, in main
sdr = power.SoapyPower(
File "/usr/local/lib/python3.8/dist-packages/soapypower/power.py", line 35, in __init__
self.device = simplesoapy.SoapyDevice(
File "/usr/local/lib/python3.8/dist-packages/simplesoapy.py", line 125, in __init__
self.set_setting(setting_name, value)
File "/usr/local/lib/python3.8/dist-packages/simplesoapy.py", line 414, in set_setting
raise ValueError('Unknown device setting!')
ValueError: Unknown device setting!
SoapySDRUtil --probe --sparse
output as below:
----------------------------------------------------
-- Device identification
----------------------------------------------------
driver=b200
hardware=B210
fpga_version=16.0
fw_version=8.0
mboard_id=B210
mboard_name=usrp
mboard_serial=8adh058
rx0_antenna=RX2
rx0_id=Unknown (0xffff)
rx0_serial=
rx0_subdev_name=FE-RX2
rx0_subdev_spec=A:A A:B
rx1_antenna=RX2
rx1_id=Unknown (0xffff)
rx1_serial=
rx1_subdev_name=FE-RX1
rx1_subdev_spec=A:A A:B
tx0_antenna=TX/RX
tx0_id=Unknown (0xffff)
tx0_serial=
tx0_subdev_name=FE-TX2
tx0_subdev_spec=A:A A:B
tx1_antenna=TX/RX
tx1_id=Unknown (0xffff)
tx1_serial=
tx1_subdev_name=FE-TX1
tx1_subdev_spec=A:A A:B
----------------------------------------------------
-- Peripheral summary
----------------------------------------------------
Channels: 2 Rx, 2 Tx
Timestamps: YES
Clock sources: internal, external, gpsdo
Time sources: none, internal, external, gpsdo
Sensors: ref_locked
GPIOs: FP0, RXA, TXA
----------------------------------------------------
-- RX Channel 0
----------------------------------------------------
Full-duplex: YES
Supports AGC: NO
Stream formats: CS8, CS12, CS16, CF32, CF64
Native format: CS16 [full-scale=32768]
Stream args:
* Samples per packet - The number of samples per packet.
[key=spp, units=samples, default=0, type=int]
* Bus format - The format of samples over the bus.
[key=WIRE, type=string, options=(sc8, sc16)]
* Peak value - The peak value for scaling in complex byte mode.
[key=peak, default=1.0, type=float]
* Receive frame buffer size - The size an individual datagram or frame in bytes.
[key=recv_frame_size, units=bytes, type=int]
* Receive number of buffers - The number of available buffers.
[key=num_recv_frames, units=buffers, type=int]
Antennas: TX/RX, RX2
Corrections: DC removal, DC offset, IQ balance
Full gain range: [0, 76, 1] dB
PGA gain range: [0, 76, 1] dB
Full freq range: [42, 6008] MHz
RF freq range: [42, 6008] MHz
BB freq range: [-8, 8] MHz
Tune args:
* LO Offset - Tune the LO with an offset and compensate with the baseband CORDIC.
[key=OFFSET, units=Hz, default=0.0, type=float, range=[-8e+06, 8e+06, 0.00372529]]
* BB - Specify a specific value for this component or IGNORE to skip tuning it.
[key=BB, units=Hz, default=DEFAULT, type=float, range=[-8e+06, 8e+06, 0.00372529], options=(DEFAULT, IGNORE)]
Sample rates: 0.03125, 0.0314961, 0.031746, 0.032, 0.0322581, ..., 3.2, 4, 5.33333, 8, 16 MSps
Filter bandwidths: [0.2, 56] MHz
Sensors: temp, rssi, lo_locked
How to set external clock of --device-settings
in soapy_power?
--debug
on soapy_power? $\endgroup$--device
is wrong (and, thus, the setting is wrong). Use the tools provided to make sure your expectations match reality. $\endgroup$