srsRAN_4G
srsRAN_4G copied to clipboard
LimeSDR + LimeRFE + srsRAN
Issue Description
Hello everyone. I would like to run srsRAN on LimeSDR v1.4s using LimeRFE amplifier. How to do it? I use this documentation. When I use LimeSuite GUI, following the instructions, the ports open.
LimeSDR
INFO: Disconnected control port
INFO: Reference clock 30.72 MHz
INFO: Connected Control port: LimeSDR-USB FW:4 HW:4 Protocol:1 GW:2.23 Ref Clk: 30.72 MHz
LimeRFE
Port opened
Firmware version: 1
Hardware version: 0x10
But since the device is already busy, I can not be able to connect srsRAN.
srsRAN
[ERROR] Cannot claim interface - Resource busy
[ERROR] Failed to open device
[ERROR] connection is not open
[ERROR] TransferPacket: Write failed (ret=0)
[ERROR] connection is not open
[ERROR] TransferPacket: Write failed (ret=0)
[ERROR] Failed to open. Device is busy.
Failed to create Soapy object
Error initializing radio.
Technology stack
Ubuntu 22.04 (Intel® Core™ i7-7700 CPU @ 3.60GHz × 8) srsRAN 22.04 (open5gs) LimeSDR v1.4s (LimeSuite v20.10.0, SoapySDR 0.7.2) LimeRFE 1v31
I am not sure how their interfacing works, but that's a Lime issue rather than srsRAN I'd say. Have you checked their pages yet?
It looks like LimeSuite is connected to your LimeSDR, causing contention when SRSRAN is trying to claim the SDR interface. Or possibly it is mistakenly detecting LimeRFE as a LimeSDR - which you can avoid by explicitly adding the "id=n" option to your soapy device args string. If using the LimeRFE, you'll also want to ensure that you're using the "Direct (USB)" connection as opposed to the SDR connection and disconnect the LimeSDR from LimeSuite so that the SDR interface remains available to SRSRAN. Keep in mind that SRSRAN is somewhat hardware-agnostic, so it won't have builtin support for hardware like the LimeRFE - you'll need to configure the LimeRFE frequency and power levels manually to match what you have configured SRSRAN to operate on.
Closing this ticket as not feedback has been provided by the original author.