Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

connect usrp with usb2 #1381

Open
faratell opened this issue Sep 8, 2024 · 1 comment
Open

connect usrp with usb2 #1381

faratell opened this issue Sep 8, 2024 · 1 comment

Comments

@faratell
Copy link

faratell commented Sep 8, 2024

Hello.
I have installed srsran_4G (with B210) on my office PC and Open5GS VoLTE in a VM on there. My SIM card is connected to the deployed network and has a good internet connection. I attempted to transfer the eNB to my home PC. I had to connect the B210 to a USB 2.0 port because it does not work well on the USB 3.0 port. To prevent overflow and underflow, I also had to decrease the nPRB to 15. To connect the eNB to the core, which is in my office, I used SoftEther VPN on my eNB PC at home. Now, the eNB is correctly connected to the core, but my phone's SIM card cannot find the ANP. Is this related to the decrease in nPRB? Can anyone help me identify the problem?
this is My enb log:
sudo ./srsenb /root/.config/srsran/enb.conf
Active RF plugins: libsrsran_rf_uhd.so
Inactive RF plugins:
--- Software Radio Systems LTE eNodeB ---

Reading configuration file /root/.config/srsran/enb.conf...

Built in Release mode using commit ec29b0c on branch master.

Opening 1 channels in RF device=default with args=clock=gpsdo,otw_format=sc12,time=gpsdo
Supported RF device list: UHD file
Trying to open RF device 'UHD'
[INFO] [UHD] linux; GNU C++ version 11.4.0; Boost_107400; UHD_4.7.0.0-0ubuntu1~jammy1
[INFO] [LOGGING] Fastpath logging disabled at runtime.
Opening USRP channels=1, args: otw_format=sc12,time=gpsdo,type=b200,master_clock_rate=23.04e6
[INFO] [UHD RF] RF UHD Generic instance constructed
[INFO] [B200] Detected Device: B210
[INFO] [B200] Operating over USB 2.
[INFO] [B200] Detecting internal GPSDO....
[INFO] [GPS] Found an internal GPSDO: GPSTCXO, Firmware Rev 0.929b
[INFO] [B200] Initialize CODEC control...
[INFO] [B200] Initialize Radio control...
[INFO] [B200] Performing register loopback test...
[INFO] [B200] Register loopback test passed
[INFO] [B200] Performing register loopback test...
[INFO] [B200] Register loopback test passed
[INFO] [B200] Asking for clock rate 23.040000 MHz...
[INFO] [B200] Actually got clock rate 23.040000 MHz.
Setting USRP time to 1725793642.000000s
[INFO] [MULTI_USRP] 1) catch time transition at pps edge
[INFO] [MULTI_USRP] 2) set times next pps (synchronously)
RF device 'UHD' successfully opened

==== eNodeB started ===
Type to view trace
Setting frequency: DL=2685.0 Mhz, UL=2565.0 MHz for cc_idx=0 nof_prb=15
t
Enter t to stop trace.

@faratell
Copy link
Author

My problem is solved. I set:
n_prb=25
base_srate=7.68e6, master_clock_rate=7.68e6
Conclusion: srsRAN_4G with usrp b210 can work over usb2 but need to set rates correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant