01-08-2024 01:55 AM
Dear Community,
I am using USRP X410 on UBUNTU at Python API. When I run this code,
myusrp = uhd.usrp.MultiUSRP("addr=192.168.10.2, set_master_clock_rate=500e6"),
it says that,
INFO] [MPMD] Initializing 1 device(s) in parallel with args: mgmt_addr=192.168.10.2,type=x4xx,product=x410,serial=329C9B3,name=ni-x4xx-329C9B3,fpga=CG_400,claimed=False,addr=192.168.10.2,set_master_clock_rate=500e6
[INFO] [MPM.PeriphManager] init() called with device args `fpga=CG_400,mgmt_addr=192.168.10.2,name=ni-x4xx-329C9B3,product=x410,set_master_clock_rate=500e6,clock_source=internal,time_source=internal,initializing=True'.
has shown the message.
My question is when really check the master clock rate by myusrp.get_master_clock_rate(), it happens to show 491.52MHz not 500MHz.
[INFO] [UHD] linux; GNU C++ version 9.4.0; Boost_107100; UHD_4.5.0.HEAD-0-g471af98f
--------------------------------------------------
-- UHD Device 0
--------------------------------------------------
Device Address:
serial: 329C9B3
addr: 192.168.10.2
claimed: False
fpga: CG_400
mgmt_addr: 192.168.10.2
name: ni-x4xx-329C9B3
product: x410
type: x4xx
01-08-2024 09:18 AM
Hi,
yonghoon1999@gmail.com wrote:
myusrp = uhd.usrp.MultiUSRP("addr=192.168.10.2, set_master_clock_rate=500e6"),
The cmd is using an incorrect device argument. The argument string you want to use is "addr=192.168.10.2,master_clock_rate=500e6" (without the 'set_').
For a complete list of supported arguments, please see https://uhd.readthedocs.io/en/latest/page_usrp_x4xx.html#x4xx_usage_args.