srsran / srsRAN_4G

Open source SDR 4G software suite from Software Radio Systems (SRS) https://docs.srsran.com/projects/4g
https://www.srsran.com
GNU Affero General Public License v3.0
3.49k stars 1.15k forks source link

Could not set RX rate to 11.520 MHz. Actual rate is 11.703 MHz #1341

Open zhuangyufan opened 6 months ago

zhuangyufan commented 6 months ago

When I ran srsenb, I encountered the following warning and the srsenb cannot start.

[WARNING] [MULTI_USRP] Could not set RX rate to 11.520 MHz. Actual rate is 11.703 MHz [WARNING] [0/DDC#0] The requested decimation is odd; the user should expect passband CIC rolloff. Select an even decimation to ensure that a halfband filter is enabled. Decimations factorable by 4 will enable 2 halfbands, those factorable by 8 will enable 3 halfbands. decimation = dsp_rate/samp_rate -> 21

I have added "-DUSE_LTE_RATES=ON" when building srsran, and added "base_srate=30.72e6" in the enb configuration file. My device is USRP X410.

It seems that my srsenb does not use standard LTE rate. How to set this?

I highly appreciate your help. Looking forward to your reply. enb.log epc.log

zhuangyufan commented 6 months ago

Using an old version of srsran, release_20_10, solves the problem. Maybe it is because there is no sample rate conversion in version release_20_10.

zhuangyufan commented 5 months ago

If your srsRAN is newer than release_20_10, you can add -D_USE_LTE_RATES=ON when building and add --expert.lte_sample_rates=true when running. That is

cmake ../ -DUSE_LTE_RATES=ON

./srsenb --expert.lte_sample_rates=true