srsRAN_4G icon indicating copy to clipboard operation
srsRAN_4G copied to clipboard

OTA NSA with USRP X300 fails on SRSUE

Open JelleB-2055020 opened this issue 7 months ago • 0 comments

Hi, I'm trying to run a test using srsUE in 5G NSA operating mode, connecting to a commercial NSA network. I used the setup note given in https://docs.srsran.com/projects/4g/en/latest/app_notes/source/5g_nsa_amari/source/index.html to determine the configuration for my UE, but i get the following errors using an USRP X300:

  1. Running with the exact setup as in the tutorial:
Opening 2 channels in RF device=uhd with args=type=x300,clock=internal,sampling_rate=11.52e6,lo_freq_offset_hz=11.52e6
Supported RF device list: UHD soapy bladeRF zmq file
[INFO] [UHD] linux; GNU C++ version 9.4.0; Boost_107100; UHD_4.8.0.0-0ubuntu1~focal1
[INFO] [LOGGING] Fastpath logging disabled at runtime.
Opening USRP channels=2, args: type=x300,lo_freq_offset_hz=11.52e6,master_clock_rate=184.32e6
[INFO] [UHD RF] RF UHD Generic instance constructed
[INFO] [X300] X300 initialization sequence...
[INFO] [X300] Maximum frame size: 1472 bytes.
[INFO] [X300] Radio 1x clock: 184.32 MHz
[INFO] [MULTI_USRP]     1) catch time transition at pps edge
[INFO] [MULTI_USRP]     2) set times next pps (synchronously)
[WARNING] [0/Radio#0] Attempting to set tick rate to 0. Skipping.
[WARNING] [0/Radio#1] Attempting to set tick rate to 0. Skipping.
[WARNING] [0/Radio#1] Attempting to set tick rate to 0. Skipping.
[WARNING] [0/Radio#0] Attempting to set tick rate to 0. Skipping.
Waiting PHY to initialize ... done!
Attaching UE...
./srsRAN_4G/lib/src/phy/ue/ue_sync.c:772: Error receiving samples
/srsRAN_4G/lib/src/phy/ue/ue_cell_search.c:317: Error calling srsran_ue_sync_work()
/srsRAN_4G/lib/src/phy/ue/ue_cell_search.c:277: Error searching cell
./srsRAN_4G/lib/src/phy/ue/ue_sync.c:772: Error receiving samples
  1. Running with a setup that seems to function a bit better (UE sends an attach request but doesn't receive a response):
[INFO] [UHD] linux; GNU C++ version 9.4.0; Boost_107100; UHD_4.8.0.0-0ubuntu1~focal1
[INFO] [LOGGING] Fastpath logging disabled at runtime.
Opening USRP channels=2, args: type=x300,master_clock_rate=184.32e6
[INFO] [UHD RF] RF UHD Generic instance constructed
[INFO] [X300] X300 initialization sequence...
[INFO] [X300] Maximum frame size: 1472 bytes.
[INFO] [X300] Radio 1x clock: 184.32 MHz
[INFO] [MULTI_USRP]     1) catch time transition at pps edge
[INFO] [MULTI_USRP]     2) set times next pps (synchronously)
[WARNING] [0/Radio#0] Attempting to set tick rate to 0. Skipping.
[WARNING] [0/Radio#1] Attempting to set tick rate to 0. Skipping.
[WARNING] [0/Radio#1] Attempting to set tick rate to 0. Skipping.
[WARNING] [0/Radio#0] Attempting to set tick rate to 0. Skipping.
RF device 'UHD' successfully opened
Waiting PHY to initialize ... done!
Attaching UE...
.
Found Cell:  Mode=FDD, PCI=301, PRB=50, Ports=2, CP=Normal, CFO=0.2 KHz
[ERROR] [UHD RF] std::bad_alloc
.
Found Cell:  Mode=FDD, PCI=301, PRB=50, Ports=2, CP=Normal, CFO=0.1 KHz
[ERROR] [UHD RF] std::bad_alloc
Found PLMN:  Id=20620, TAC=262
Could not find Home PLMN Id=20610, trying to connect to PLMN Id=20620
Random Access Transmission: seq=32, tti=2414, ra-rnti=0x5
RRC Connected
Random Access Complete.     c-rnti=0x1281, ta=7
Scheduling request failed: releasing RRC connection...
Random Access Transmission: seq=36, tti=5444, ra-rnti=0x5
Random Access Transmission: seq=45, tti=5524, ra-rnti=0x5
Random Access Transmission: seq=1, tti=5604, ra-rnti=0x5
/srsRAN_4G/lib/src/phy/phch/ra_dl.c:199: Invalid RBG subset=3 for nof_prb=50 where P=3
/srsRAN_4G/lib/src/phy/phch/ra_dl.c:641: Configuring resource allocation
Random Access Transmission: seq=11, tti=5684, ra-rnti=0x5
Random Access Transmission: seq=2, tti=5764, ra-rnti=0x5
Random Access Transmission: seq=35, tti=5844, ra-rnti=0x5
Random Access Transmission: seq=6, tti=5924, ra-rnti=0x5
Random Access Transmission: seq=33, tti=6004, ra-rnti=0x5
Random Access Transmission: seq=21, tti=6084, ra-rnti=0x5
^CStopping ..
Random Access Transmission: seq=45, tti=6164, ra-rnti=0x5
Warning: Detected Radio-Link Failure
Random Access Transmission: seq=45, tti=6244, ra-rnti=0x5
RRC IDLE

I attached the logs, as well as the conf file that was used: custom_conf.log tutorial_conf.log ue_5g_ota_test.txt

JelleB-2055020 avatar Apr 16 '25 08:04 JelleB-2055020