Hi. Unfortunately I'm unable to make it work yet: sudo chrt 20 ./Transceiver52M/osmo-trx -m -c 2 -g linux; GNU C++ version 4.8.2; Boost_105400; UHD_003.008.004-0-unknown opening configuration table from path :memory: Config Settings Log Level............... NOTICE Device args............. TRX Base Port........... 5700 TRX Address............. 127.0.0.1 Channels................ 2 Tx Samples-per-Symbol... 4 Rx Samples-per-Symbol... 4 EDGE support............ Disabled Reference............... GPS C0 Filler Table......... Disabled Multi-Carrier........... Enabled Diversity............... Disabled Tuning offset........... 0 RSSI to dBm offset...... 0 Swap channels........... 0 -- Operating over USB 2. -- Initialize CODEC control... -- Initialize Radio control... -- Performing register loopback test... pass -- Performing register loopback test... pass -- Performing CODEC loopback test... pass -- Performing CODEC loopback test... pass -- Asking for clock rate 32.000000 MHz -- Actually got clock rate 32.000000 MHz -- Performing timer loopback test... pass -- Performing timer loopback test... pass -- Asking for clock rate 3.200000 MHz UHD Warning: The requested master_clock_rate 3.200000 MHz exceeds bounds imposed by UHD. The master_clock_rate has been forced to 5.000000 MHz. -- Actually got clock rate 5.000000 MHz -- Performing timer loopback test... pass -- Performing timer loopback test... pass ALERT 3036182272 15:41:43.1 UHDDevice.cpp:546:set_master_clk: Failed to set master clock rate ALERT 3036182272 15:41:43.1 UHDDevice.cpp:546:set_master_clk: Failed to set master clock rate ALERT 3036182272 15:41:43.1 UHDDevice.cpp:547:set_master_clk: Requested clock rate 3.2e+06 ALERT 3036182272 15:41:43.1 UHDDevice.cpp:547:set_master_clk: Requested clock rate 3.2e+06 ALERT 3036182272 15:41:43.1 UHDDevice.cpp:548:set_master_clk: Actual clock rate 5e+06 ALERT 3036182272 15:41:43.1 UHDDevice.cpp:548:set_master_clk: Actual clock rate 5e+06 ALERT 3036182272 15:41:43.1 osmo-trx.cpp:530:main: Failed to create radio device ALERT 3036182272 15:41:43.1 osmo-trx.cpp:530:main: Failed to create radio device Shutting down transceiver... On 08/02/2016 12:39 AM, Tom Tsou wrote:
Hi Max,
On Mon, Aug 1, 2016 at 7:57 AM, Max <msuraev@sysmocom.de> wrote:
I've asked about it before but this seems to have been lost in communication. I do not recall this discussion. My apologies.
The question is basically how to enable multi-TRX support for osmo-bts-trx using phy/instance infrastructure similar to other bts? I use the following configuration.
phy 0 instance 0 instance 1 osmotrx rx-gain 25
bts 0 band 900 ipa unit-id 1234 0 oml remote-ip 127.0.0.1 settsc gsmtap-sapi ccch gsmtap-sapi pdtch trx 0 phy 0 instance 0 trx 1 phy 0 instance 1
$ osmo-bts-trx -c osmo-bts.cfg -t 2
In short, I'd like to configure OpenBSC with 1 BTS with 2 TRX, each with its own arfcn and set of channels. I'm running "osmo-bts-trx -t 2" and correspondingly "osmo-trx -c 2" on usrp b210. Any ideas on what's missing to make this actually work are greatly appreciated. You can use "osmo-trx -c 2" or "osmo-trx -m -c 2" to use dual-channels of the B210 or multi-ARFCN on one channel respectively.
Note that there are ARFCN restrictions for both cases. Due to a shared local oscillator for both B210 channels, ARFCN separation can be up about 25 MHz.
With multi-TRX, ARFCN spacing is fixed at 800 kHz or 4 GSM channels. So if TRX-0 is set to ARFCN 51, TRX-1 _must_ be set to 55. Up to three ARFCN's is supported for multi-TRX.
-TT
-- Max Suraev <msuraev@sysmocom.de> http://www.sysmocom.de/ ======================================================================= * sysmocom - systems for mobile communications GmbH * Alt-Moabit 93 * 10559 Berlin, Germany * Sitz / Registered office: Berlin, HRB 134158 B * Geschaeftsfuehrer / Managing Director: Harald Welte