srsUE connection with srsRAN gNB fails on Msg3 #274
-
Hello, I'm following the tutorial on connecting an srsRAN gNB with srsUE, but I keep getting stuck at the Random Access. The log files tell me that Msg3 is not received by the gNB, for whatever reason. I've tried numerous configurations (described below) but without success and I'm running out of ideas what the reason could be. At the beginning I was quite sure that it would be a timing or frequency offset issue (that the Msg3 does not hit the targeted PRB with sufficient accuracy) but I could more or less rule that out by now, as I have very low reported CFO and TA values. Anyhow, the gNB ceases to even see the signal from Msg3. Any help is welcome. Regards, Edit:
Note the particularly low TX gains, which were the key "trick" - my working assumption is that there is a cross-coupling between the TX and RX chain through the cables. The impact of changing the gains can be observed on the SNR value reported in the gnb log file during PRACH attempt. My Setup:
gnb_x300_10MHz_FDD_band3.txt Result:
Things I've tried so far:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
Hey Markus,
You have to adjust the gain settings. Since you're using a X300 I suspect your Rx gains are too high. But definitely increase the Tx gain on the UE to e.g. 80. The B210 required high gains while the X300 rather low values. You need to play a bit around to find good values. Hope that helps. |
Beta Was this translation helpful? Give feedback.
-
Andre, Thank you for the quick response. I reduced the rx gain and indeed got a short glimpse of RRC connected, which is a good sign. What is the SNR range that typically should be received? I had played with the gains before as well but did not want to go into the 80's regime for TX because I don't have any attenuators in my setup. The tx gains are such that signal peaks reach ~-20dBm power level, which I verified with the spectrum analyzer (see attached images with black lines in max-hold mode). Can you give a short comment whether such signal powers are sufficient? Another option could of course be that the RX path of the X300 is broken. I wanted to rule this out before, as I don't fully trust the device, but found no way to map the gNB to the second subdevice. Is there a way to do it? Thanks & Regards, |
Beta Was this translation helpful? Give feedback.
Hey Markus,
your issue is a signal power issues - please note the very low snr of even the PRACH. It is very difficult to decode the PUSCH in such conditions.
2023-10-27T06:32:34.970118 [UL-PHY0 ] [I] [ 289.4] PRACH: rssi=+23.2dB detected_preambles=[{idx=0 ta=13.28us power=+1.6dB snr=1.6dB}] t=126.9us
You have to adjust the gain settings. Since you're using a X300 I suspect your Rx gains are too high. But definitely increase the Tx gain on the UE to e.g. 80. The B210 required high gains while the X300 rather low values. You need to play a bit around to find good values.
Hope that helps.