[srsran-users] srsRAN 4G with Soapy SDR when EPC and eNB are Separated

Chao-Hwa Chen chaohwa at gmail.com
Wed Apr 5 14:31:25 UTC 2023


Hi all,

After working with ZMQ and my ADI PackRF, my next step is to connect
between eNB and UE using RF and Soapy SDR. eNB is the ADI PackRF with
AD9361 and Z7035. You can look at the PackRF is the multi-channel version
of Pluto and I also installed Soapy Pluto SDR.

At the EPC side, I type
./srsepc/src/srsepc --mme.mme_bind_addr=(EPC host IP)
--spgw.gtpu_bind_addr=(EPC host IP)

At the eNB side, I type
./srsenb/src/srsenb --rf.device_name=soapy --rf.dl_earfcn=1800
--rf.device_args="driver=plutosdr,fail_on_disconnect=true,tx_port=tcp://*:2000,rx_port=tcp://(UE
host IP):2001,id=enb,base_srate=23.04e6" --enb.mme_addr=(EPC host IP)
--enb.gtp_bind_addr=(eNB host IP) --enb.s1c_bind_addr=(eNB host IP)
--enb.n_prb=6

And it showed the following:
Active RF plugins: libsrsran_rf_soapy.so libsrsran_rf_zmq.so
Inactive RF plugins:
---  Software Radio Systems LTE eNodeB  ---

Couldn't open , trying /root/.config/srsran/enb.conf
Reading configuration file /root/.config/srsran/enb.conf...
Couldn't open sib.conf, trying /root/.config/srsran/sib.conf
Couldn't open rr.conf, trying /root/.config/srsran/rr.conf
Couldn't open rb.conf, trying /root/.config/srsran/rb.conf
WARNING: Could not verify cpu0 scaling governor
WARNING: Could not verify cpu1 scaling governor

Built in Release mode using commit 00c972ac4 on branch master.

/root/srsRAN_4G/srsenb/src/enb_cfg_parser.cc:1877: Force DL EARFCN for cell
PCI=1 to 1800
ERROR: Invalid PRACH configuration - prach=(4, 10) does not fit into the
eNB PRBs=(0, 6).
       Consider changing the "prach_freq_offset" value to 0 in the sib.conf
file when using 6 PRBs.
Opening 1 channels in RF device=soapy with
args=driver=plutosdr,fail_on_disconnect=true,tx_port=tcp://*:2000,rx_port=tcp://(UE
host IP):2001,id=enb,base_srate=23.04e6
Supported RF device list: soapy zmq file
Soapy has found device #0: device=PlutoSDR, driver=plutosdr, label=PlutoSDR
#0 local:, uri=local:,
Soapy has found device #1: device=PlutoSDR, driver=plutosdr, label=PlutoSDR
#0 ip:analog-2.local, uri=ip:analog-2.local,
Soapy has found device #2: device=PlutoSDR, driver=plutosdr, label=PlutoSDR
#1 ip:analog-2.local, uri=ip:analog-2.local,
Soapy has found device #3: device=PlutoSDR, driver=plutosdr, label=PlutoSDR
#2 ip:analog.local, uri=ip:analog.local,
Soapy has found device #4: device=PlutoSDR, driver=plutosdr, label=PlutoSDR
#3 ip:analog.local, uri=ip:analog.local,
Selecting Soapy device: 0
[INFO] Opening PlutoSDR #0 local:...
Setting up Rx stream with 1 channel(s)
[INFO] Using format CF32.
[INFO] Auto setting Buffer Size: 32768
[INFO] Set MTU Size: 32768
Setting up Tx stream with 1 channel(s)
[INFO] Using format CF32.
[INFO] Has direct TX copy: 1
[INFO] Auto setting Buffer Size: 32768
[INFO] Set MTU Size: 32768
Available device sensors:
 - xadc_temp0
 - xadc_voltage0
 - xadc_voltage1
 - xadc_voltage2
 - xadc_voltage3
 - xadc_voltage4
 - xadc_voltage5
 - xadc_voltage6
 - xadc_voltage7
 - xadc_voltage8
 - adm1177_current0
 - adm1177_voltage0
 - ad9361-phy_temp0
 - ad9361-phy_voltage2
Available sensors for Rx channel 0:
State of gain elements for Rx channel 0 (AGC supported):
 - PGA: 40.00 dB
State of gain elements for Tx channel 0 (AGC not supported):
 - PGA: 80.00 dB
Rx antenna set to A_BALANCED
Tx antenna set to A

==== eNodeB started ===
Type <t> to view trace
[INFO] Auto setting Buffer Size: 32768
[INFO] Set MTU Size: 32768
Setting frequency: DL=1865.0 Mhz, UL=1770.0 MHz for cc_idx=0 nof_prb=6
[INFO] Has direct RX copy: 1
Error - buffer pool is empty
Error - buffer pool is empty

In order to look at the 4G signal from the spectrum analyzer where the
maximum carrier frequency is 2.1 GHz, I set the carrier frequency in this
test at 1.8 GHz. However, the RF signal did not show up.

How can I change the configurations so that it can work?

Thanks a lot in advance.

-- 
Best Regards,

Chao-Hwa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.srsran.com/pipermail/srsran-users/attachments/20230405/4b2d176a/attachment.htm>


More information about the srsran-users mailing list