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

Underflow issues when using Rpi 4 #912

Open
faratell opened this issue Nov 5, 2024 · 4 comments
Open

Underflow issues when using Rpi 4 #912

faratell opened this issue Nov 5, 2024 · 4 comments

Comments

@faratell
Copy link

faratell commented Nov 5, 2024

Hello.
I have installed the srsRAN project on a Raspberry Pi 4 with a 32GB SD card , 8G RAM and Ubuntu 22 as the operating system. I am using a USRP B210 and a GPS antenna for synchronization.
I have set the CPU governor to "performance," allowing the CPU to operate at the maximum frequency of the Raspberry Pi (1.8 GHz).
I have attached my gNB configuration file:
gnb.txt
When I run the gNB, it shows an underflow error. I have tried it with both bandwidth settings: 20 MHz and 10 MHz.
sudo ./gnb -c gnb1.yml

--== srsRAN gNB (commit ee1d86c) ==--

The PRACH detector will not meet the performance requirements with the configuration {Format B4, ZCZ 0, SCS 30kHz, Rx ports 1}.
Lower PHY in dual executor mode.
Available radio types: uhd.
[INFO] [UHD] linux; GNU C++ version 11.2.0; Boost_107400; UHD_4.1.0.5-3
[INFO] [LOGGING] Fastpath logging disabled at runtime.
Making USRP object with args 'type=b200,num_recv_frames=64,num_send_frames=64'
[INFO] [B200] Detected Device: B210
[INFO] [B200] Operating over USB 3.
[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] Setting master clock rate selection to 'automatic'.
[INFO] [B200] Asking for clock rate 16.000000 MHz...
[INFO] [B200] Actually got clock rate 16.000000 MHz.
[INFO] [MULTI_USRP] Setting master clock rate selection to 'manual'.
[INFO] [B200] Asking for clock rate 23.040000 MHz...
[INFO] [B200] Actually got clock rate 23.040000 MHz.
Cell pci=1, bw=10 MHz, 1T1R, dl_arfcn=632628 (n78), dl_freq=3489.42 MHz, dl_ssb_arfcn=632640, ul_freq=3489.42 MHz

N2: Connection to AMF on 192.168.75.181:38412 completed
==== gNB started ===
Type to view help
Late: 13; Underflow: 69; Overflow: 0;
tLate: 0; Underflow: 108; Overflow: 0;

Late: 21; Underflow: 75; Overflow: 0;
Late: 9; Underflow: 66; Overflow: 0;
Late: 4; Underflow: 129; Overflow: 0;
Late: 13; Underflow: 73; Overflow: 0;

@pgawlowicz
Copy link
Collaborator

You can try with BW=5MHz, but I am not sure if it works. We run 5MHz cell with RPi5.
Also see the comment here:
#349 (comment) and #339 (comment)

@faratell
Copy link
Author

faratell commented Nov 5, 2024

Thanks for your reply. I also set this config but also have underflow.
cell_cfg:
dl_arfcn: 361000
band: 3
channel_bandwidth_MHz: 5
common_scs: 15
plmn: "00101"
tac: 1
pci: 1

@pgawlowicz
Copy link
Collaborator

@faratell any update on this issue?

@faratell
Copy link
Author

faratell commented Dec 7, 2024

@faratell any update on this issue?
Hi.
No any update. I am waiting for Rpi5 to be prepared and tested on it.

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

2 participants