mirror of https://github.com/pvnis/srsRAN_4G.git
uhd: do not stop rx_stream when setting rx_rate for the B210
with the B210 and 2 RF ports, i.e. MIMO mode, we have stopped the Rx stream after changing the rx_samp_rate but didn't start it again. Either the issue doesn't exist in SISO mode or we never saw it but for MIMO it can be reproduced easily with rate changes during streaming, i.e.: $ ./lib/src/radio/test/benchmark_radio -p 2 -t 10 -x -y -s 23.04e6 Instantiating objects and allocating memory... Initialising instances... Opening 2 channels in RF device= with args=default [INFO] [UHD] linux; GNU C++ version 9.2.1 20200304; Boost_107100; UHD_3.15.0.0-2build5 [INFO] [LOGGING] Fastpath logging disabled at runtime. Opening USRP channels=2, args: type=b200,master_clock_rate=23.04e6 [INFO] [B200] Detected Device: B210 [INFO] [B200] Operating over USB 3. [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. [INFO] [MULTI_USRP] 1) catch time transition at pps edge [INFO] [MULTI_USRP] 2) set times next pps (synchronously) Warning: TX gain was not set. Using open-loop power control (not working properly) Setting manual TX/RX offset to 0 samples Start capturing 10000 frames of 23040 samples... Changing sampling rate to 23.04 Msamps/s Setting manual TX/RX offset to 0 samples Changing sampling rate to 1.92 Msamps/s Setting manual TX/RX offset to 0 samples /home/anpu/src/srsLTE/lib/src/phy/rf/rf_uhd_imp.cc.1211: Error timed out while receiving samples from UHD. /home/anpu/src/srsLTE/lib/src/phy/rf/rf_uhd_imp.cc.1211: Error timed out while receiving samples from UHD. /home/anpu/src/srsLTE/lib/src/phy/rf/rf_uhd_imp.cc.1211: Error timed out while receiving samples from UHD. /home/anpu/src/srsLTE/lib/src/phy/rf/rf_uhd_imp.cc.1211: Error timed out while receiving samples from UHD. /home/anpu/src/srsLTE/lib/src/phy/rf/rf_uhd_imp.cc.1211: Error timed out while receiving samples from UHD.master
parent
7253efe17e
commit
3f02e56a1e
Loading…
Reference in New Issue