[srslte-users] Runtime Error: multiple sampling rates

Andre Puschmann andre at srs.io
Thu Jun 3 10:26:05 UTC 2021


Hey,

we don't have a N321 and never tested with one. But I suggest to use
30,72 as srate because this gives you full coverage from 6 to 100 PRB.

Also enable the expert options (see srsue -h) to use LTE sample rates.
The shorter ones won't work with the default N321 master clock rate.

Cheers
Andre



On 3/6/21 12:04, Charbel Lahoud wrote:
> Hi, 
> I am still getting the following error. The UE is only working with 2.5MHz BW and srate = 3.84.
> I am using USRP N321 with Master clock rate = 245.76 MHz. Any idea why?
> Thank you.
> 
> Best regards
> Charbel
> 
> 
> -----Original Message-----
> From: Andre Puschmann <andre.puschmann at softwareradiosystems.com> On Behalf Of Andre Puschmann
> Sent: Wednesday, June 2, 2021 5:42 PM
> To: Charbel Lahoud <charbel.lahoud at etit.tu-chemnitz.de>; srslte-users at lists.softwareradiosystems.com
> Cc: Brendan McAuliffe <brendan.mcauliffe at softwareradiosystems.com>
> Subject: Re: [srslte-users] Runtime Error: multiple sampling rates
> 
> Hey,
> 
> On 2/6/21 17:23, Charbel Lahoud wrote:
>> Hi,
>> Thank you for your help. I have specified the srate on both USRPs for the eNB and UE. The eNB side is fixed, no error is shown anymore.
>> On the UE side, I am still having different sampling rate even when it is specified. Any suggestions ?
> 
> yes, on the UE it's actually the "srate" param in the RF section. See [1] for reference.
> 
> The information is a bit spread across various documents it seems. We'll update the sections accordingly. Thanks for raising the issue.
> 
> 
> Cheers
> Andre
> 
> 
> 
> [1]
> https://docs.srsran.com/en/latest/app_notes/source/5g_nsa/source/index.html#srsue
> 
>>
>> Best regards
>> Charbel
>>
>>
>> Built in Release mode using commit 45486b6e2 on branch HEAD.
>>
>> Opening 2 channels in RF device=default with args=default [INFO] [UHD] 
>> linux; GNU C++ version 7.5.0; Boost_106501; UHD_3.15.0.0-62-g7a3f1516 
>> [INFO] [LOGGING] Fastpath logging disabled at runtime.
>> bOpening USRP channels=2, args: type=n3xx,master_clock_rate=245.76e6
>> bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb[INFO] [MPMD] Initializing 1 
>> device(s) in parallel with args: 
>> mgmt_addr=192.168.10.2,type=n3xx,product=n320,serial=31D3A4A,claimed=F
>> alse,addr=192.168.10.2,master_clock_rate=245.76e6
>> [INFO] [MPM.PeriphManager] init() called with device args `master_clock_rate=245.76e6,product=n320,clock_source=internal,mgmt_addr=192.168.10.2,time_source=internal'.
>> [INFO] [MPM.Rhodium-0] init() called with args `master_clock_rate=245.76e6,product=n320,clock_source=internal,mgmt_addr=192.168.10.2,time_source=internal'
>> [INFO] [MPM.Rhodium-1] init() called with args `master_clock_rate=245.76e6,product=n320,clock_source=internal,mgmt_addr=192.168.10.2,time_source=internal'
>> [INFO] [0/Replay_0] Initializing block control (NOC ID: 
>> 0x4E91A00000000004) [INFO] [0/Radio_0] Initializing block control (NOC 
>> ID: 0x12AD100000000320) [INFO] [0/Radio_1] Initializing block control 
>> (NOC ID: 0x12AD100000000320) [INFO] [0/DDC_0] Initializing block 
>> control (NOC ID: 0xDDC0000000000001) [INFO] [0/DDC_1] Initializing 
>> block control (NOC ID: 0xDDC0000000000001) [INFO] [0/DUC_0] 
>> Initializing block control (NOC ID: 0xD0C0000000000000) [INFO] 
>> [0/DUC_1] Initializing block control (NOC ID: 0xD0C0000000000000) 
>> [INFO] [0/FIFO_0] Initializing block control (NOC ID: 0xF1F0000000000000) [INFO] [0/FIFO_1] Initializing block control (NOC ID: 0xF1F0000000000000)
>> [INFO] [MULTI_USRP]     1) catch time transition at pps edge
>> [INFO] [MULTI_USRP]     2) set times next pps (synchronously)
>> Waiting PHY to initialize ... done!
>> Attaching UE...
>> /home/ubuntu18/srsRAN/lib/src/phy/rf/rf_uhd_imp.cc.929: USRP reported the following error: RuntimeError: Multiple sampling rates upstream of RX Terminator 0: RuntimeError: Node 0/DDC_0 specifies 1.536e+07, node 0/DDC_1 specifies 1.92e+06.
>>
>> /home/ubuntu18/srsRAN/lib/src/phy/rf/rf_uhd_imp.cc.983: USRP reported the following error: RuntimeError: Multiple sampling rates upstream of RX Terminator 0: RuntimeError: Node 0/DDC_0 specifies 1.536e+07, node 0/DDC_1 specifies 1.92e+06.
>>
>> .
>> Found Cell:  Mode=FDD, PCI=1, PRB=50, Ports=2, CFO=0.1 KHz .
>> Found Cell:  Mode=FDD, PCI=1, PRB=50, Ports=2, CFO=0.0 KHz .
>> Found Cell:  Mode=FDD, PCI=1, PRB=50, Ports=2, CFO=0.1 KHz .
>> Found Cell:  Mode=FDD, PCI=1, PRB=50, Ports=2, CFO=0.1 KHz
>>
>> -----Original Message-----
>> From: Andre Puschmann <andre.puschmann at softwareradiosystems.com> On 
>> Behalf Of Andre Puschmann
>> Sent: Wednesday, June 2, 2021 3:39 PM
>> To: Charbel Lahoud <charbel.lahoud at etit.tu-chemnitz.de>; 
>> srslte-users at lists.softwareradiosystems.com
>> Subject: Re: [srslte-users] Runtime Error: multiple sampling rates
>>
>> Hey,
>>
>> for the N3xx as well as for the X3xx you need to specify the sample rate for dual channel configs (MIMO, carrier aggregation, etc). See [1] for reference.
>>
>> Just add your desired rate, i.e. "sampling_rate=15.36e6" to the device args.
>>
>>
>> Cheers
>> Andre
>>
>>
>> [1] 
>> https://docs.srsran.com/en/latest/app_notes/source/2ca/source/index.ht
>> ml
>>
>> On 2/6/21 13:13, Charbel Lahoud wrote:
>>> Hi,
>>>
>>>  
>>>
>>> Any suggestions why transmission modes 2-4 aren't working with my 
>>> setup and how to fix this USRP Error?
>>>
>>> Radio used: USRP N321
>>>
>>> Connection: cables with 30 dB attenuator on each
>>>
>>>  
>>>
>>> Best regards
>>>
>>> Charbel
>>>
>>>  
>>>
>>> Reading configuration file /home/ubuntu18-sdr/.config/srslte/enb.conf...
>>>
>>> Built in Release mode using commit 45486b6e2 on branch HEAD.
>>>
>>> /home/ubuntu18-sdr/srsRAN/srsenb/src/enb_cfg_parser.cc.890: Force DL 
>>> EARFCN for cell PCI=1 to 3350
>>>
>>>  
>>>
>>> Opening 2 channels in RF device=default with args=default
>>>
>>> [INFO] [UHD] linux; GNU C++ version 7.5.0; Boost_106501;
>>> UHD_3.15.0.0-62-g7a3f1516
>>>
>>> [INFO] [LOGGING] Fastpath logging disabled at runtime.
>>>
>>> Opening USRP channels=2, args: type=n3xx,master_clock_rate=245.76e6
>>>
>>> [INFO] [MPMD] Initializing 1 device(s) in parallel with args:
>>> mgmt_addr=192.168.10.2,type=n3xx,product=n320,serial=31EABBA,claimed=
>>> F
>>> alse,addr=192.168.10.2,master_clock_rate=245.76e6
>>>
>>> [INFO] [MPM.PeriphManager] init() called with device args 
>>> `mgmt_addr=192.168.10.2,product=n320,time_source=internal,master_clock_rate=245.76e6,clock_source=internal'.
>>>
>>> [INFO] [MPM.Rhodium-0] init() called with args 
>>> `mgmt_addr=192.168.10.2,product=n320,time_source=internal,master_clock_rate=245.76e6,clock_source=internal'
>>>
>>> [INFO] [MPM.Rhodium-1] init() called with args 
>>> `mgmt_addr=192.168.10.2,product=n320,time_source=internal,master_clock_rate=245.76e6,clock_source=internal'
>>>
>>> [INFO] [0/Replay_0] Initializing block control (NOC ID: 
>>> 0x4E91A00000000004)
>>>
>>> [INFO] [0/Radio_0] Initializing block control (NOC ID: 
>>> 0x12AD100000000320)
>>>
>>> [INFO] [0/Radio_1] Initializing block control (NOC ID: 
>>> 0x12AD100000000320)
>>>
>>> [INFO] [0/DDC_0] Initializing block control (NOC ID: 
>>> 0xDDC0000000000001)
>>>
>>> [INFO] [0/DDC_1] Initializing block control (NOC ID: 
>>> 0xDDC0000000000001)
>>>
>>> [INFO] [0/DUC_0] Initializing block control (NOC ID: 
>>> 0xD0C0000000000000)
>>>
>>> [INFO] [0/DUC_1] Initializing block control (NOC ID: 
>>> 0xD0C0000000000000)
>>>
>>> [INFO] [0/FIFO_0] Initializing block control (NOC ID: 
>>> 0xF1F0000000000000)
>>>
>>> [INFO] [0/FIFO_1] Initializing block control (NOC ID: 
>>> 0xF1F0000000000000)
>>>
>>> [INFO] [MULTI_USRP]     1) catch time transition at pps edge
>>>
>>> [INFO] [MULTI_USRP]     2) set times next pps (synchronously)
>>>
>>> /home/ubuntu18-sdr/srsRAN/lib/src/phy/rf/rf_uhd_imp.cc.928: USRP 
>>> reported the following error: RuntimeError: Multiple sampling rates 
>>> upstream of RX Terminator 0: RuntimeError: Node 0/DDC_0 specifies 
>>> 1.536e+07, node 0/DDC_1 specifies 1.92e+06.
>>>
>>>  
>>>
>>> ==== eNodeB started ===
>>>
>>> Type <t> to view trace
>>>
>>> /home/ubuntu18-sdr/srsRAN/lib/src/phy/rf/rf_uhd_imp.cc.982: USRP 
>>> reported the following error: RuntimeError: Multiple sampling rates 
>>> upstream of RX Terminator 0: RuntimeError: Node 0/DDC_0 specifies 
>>> 1.536e+07, node 0/DDC_1 specifies 1.92e+06.
>>>
>>>  
>>>
>>> Setting frequency: DL=2680.0 Mhz, UL=2560.0 MHz for cc_idx=0
>>>
>>>
>>> _______________________________________________
>>> srslte-users mailing list
>>> srslte-users at lists.softwareradiosystems.com
>>> https://lists.softwareradiosystems.com/mailman/listinfo/srslte-users
>>>
>>
>>
>> --
>> Andre Puschmann
>>
>> Software Radio Systems (SRS)
>> https://www.srs.io
>> andre at srs.io
>>
>> PGP/GnuPG key: 7F4858D408EA231B
>> fingerprint: 62C4 EE1C 69CE 9086 FB75 168A 7F48 58D4 08EA 231B
>>
> 
> 
> --
> Andre Puschmann
> 
> Software Radio Systems (SRS)
> https://www.srs.io
> andre at srs.io
> 
> PGP/GnuPG key: 7F4858D408EA231B
> fingerprint: 62C4 EE1C 69CE 9086 FB75 168A 7F48 58D4 08EA 231B
> 


-- 
Andre Puschmann

Software Radio Systems (SRS)
https://www.srs.io
andre at srs.io

PGP/GnuPG key: 7F4858D408EA231B
fingerprint: 62C4 EE1C 69CE 9086 FB75 168A 7F48 58D4 08EA 231B



More information about the srsran-users mailing list