I recently got an USRP B100 to do DAB trials.
I followed this link to install UHD drivers : https://kb.ettus.com/Building_and_Installing_the_USRP_Open-Source_Toolchain_(UHD_and_GNU_Radio)_on_Linux
I have done the trials with a local ODR-DabMux instance and a hosted one on our server.
The tests have been done on 2 PC with Ubuntu 18.04.2 LTS :
- Intel Atom x5-z8300 (4 x 1.6 Ghz)
- Intel Pentium 4 HT (3.2 Hhz)
The results are the same on both. I got some underruns and the ZMQ input buffer become overfull.
Here is the result of the execution of one instance of ODR-DabMod with the USRP B100 :
lexoradio@LR-DAB:~$ odr-dabmod dab/modUHD.ini
ODR-DabMod version v2.3.0, compiled at Feb 18 2019, 07:02:15
Compiled with features: zeromq output_uhd output_soapysdr fast-math SSE
Warning:setting type in [uhd] device is deprecated !
Input
Type: zeromq
Source: tcp://lexoradio.fr:8085
Output
UHD
Device: type=b100
Subdevice:
master_clock_rate: 32768000
refclk: internal
pps source: none
Sampling rate: 2.0480 MHz
Configuration parsed. Starting up version v2.3.0
OutputUHD:Creating the usrp device with: type=b100,master_clock_rate=32768000...
UHD Message (2) UHD: linux; GNU C++ version 7.3.0; Boost_106501; UHD_3.11.0.HEAD-0-ga06eaad1
UHD Message (2) B100: USRP-B100 clock control: 2 r_counter: 25
a_counter: 0
b_counter: 256
prescaler: 8
vco_divider: 2
chan_divider: 25
vco_rate: 1638.400000MHz
chan_rate: 819.200000MHz
out_rate: 32.768000MHz
UHD Message (3) CORES: The requested decimation is odd; the user should expect CIC rolloff.
Select an even decimation to ensure that a halfband filter is enabled.
decimation = dsp_rate/samp_rate -> 33 = (32.768000 MHz)/(1.000000 MHz)
UHD Message (3) CORES: The requested interpolation is odd; the user should expect CIC rolloff.
Select an even interpolation to ensure that a halfband filter is enabled.
interpolation = dsp_rate/samp_rate -> 33 = (32.768000 MHz)/(1.000000 MHz)
OutputUHD:Using device: Single USRP:
Device: B-Series Device
Mboard 0: B100
RX Channel: 0
RX DSP: 0
RX Dboard: A
RX Subdev: WBXv2 RX+GDB
TX Channel: 0
TX DSP: 0
TX Dboard: A
TX Subdev: WBXv2 TX+GDB
...
OutputUHD:Checking master clock rate: 32768000.000000...
UHD clock source is internal
UHD time source is none
OutputUHD: Setting USRP time to 1550486802.481000
OutputUHD:Set rate to 2048000. Actual TX Rate: 2048000.000000 sps...
OutputUHD:Setting freq to 229072000.000...
OutputUHD:Actual TX frequency: 229071999.997
OutputUHD:Actual RX frequency: 229071999.997
OutputUHD:Actual TX Gain: 15.000000
OutputUHD:Mute on missing timestamps: disabled
OutputUHD:Actual RX Rate: 2048000.000000 sps.
OutputUHD:Actual RX Antenna: RX2
OutputUHD:Actual TX Antenna: TX/RX
OutputUHD:Actual RX Gain: 0.000000
Setting up timestamp decoder with 0 offset
Input ZeroMQ: Receiving from tcp://lexoradio.fr:8085
FIRFilter: Reading 45 taps...
UU OutputUHD status (usrp time: 1550486825.015031): 2 underruns and 0 late packets since last status.
U OutputUHD status (usrp time: 1550486836.629505): 1 underruns and 0 late packets since last status.
UU OutputUHD status (usrp time: 1550486853.856852): 2 underruns and 0 late packets since last status.
U OutputUHD status (usrp time: 1550486856.597194): 1 underruns and 0 late packets since last status.
U OutputUHD status (usrp time: 1550486941.077801): 1 underruns and 0 late packets since last status.
U OutputUHD status (usrp time: 1550486983.896219): 1 underruns and 0 late packets since last status.
U OutputUHD status (usrp time: 1550487020.738767): 1 underruns and 0 late packets since last status.
UUU OutputUHD status (usrp time: 1550487022.071092): 3 underruns and 0 late packets since last status.
U OutputUHD status (usrp time: 1550487062.766433): 1 underruns and 0 late packets since last status.
UU OutputUHD status (usrp time: 1550487064.596521): 2 underruns and 0 late packets since last status.
U OutputUHD status (usrp time: 1550487145.719287): 1 underruns and 0 late packets since last status.
U OutputUHD status (usrp time: 1550487149.392290): 1 underruns and 0 late packets since last status.
U OutputUHD status (usrp time: 1550487186.955055): 1 underruns and 0 late packets since last status.
U OutputUHD status (usrp time: 1550487188.700555): 1 underruns and 0 late packets since last status.
U OutputUHD status (usrp time: 1550487394.060933): 1 underruns and 0 late packets since last status.
UU OutputUHD status (usrp time: 1550487399.080809): 2 underruns and 0 late packets since last status.
WARN ZeroMQ buffer overfull !
ERROR Exception during receive: 'ZMQ input full'
ZeroMQ input worker terminated
UUU OutputUHD status (usrp time: 1550487402.683549): 3 underruns and 0 late packets since last status.
I followed all the tutorials and mux examples, everything runs well with the HackRF One i've got.
I also noticed that when the ZMQ input full message appears, the ODR-DabMod process gets 100% of CPU.
Here is my mod.ini :
;Sample configuration file for ODR-DabMod
;[remotecontrol]
; The RC feature is described in detail in doc/README-RC.md
; enable the telnet remote control on localhost:2121
telnet=1
telnetport=2121
; Enable zmq remote control.
zmqctrl=1
zmqctrlendpoint=tcp://127.0.0.1:9400
[log]
syslog=0
filelog=0
filename=odr-dabmod.log
[input]
transport=zeromq
source=zmq+tcp://lexoradio.fr:8085
;zmq-buffer=2048
;zmq-prebuffer=64
;max_frames_queued=10
loop=0
[modulator]
gainmode=var
digital_gain=0.8
rate=2048000
[cfr]
enable=0
clip=50.0
error_clip=0.1
[firfilter]
enabled=1
filtertapsfile=/home/lexoradio/ODR-DabMod/doc/fir-filter/filtertaps.txt
[poly]
enabled=0
polycoeffile=polyCoefs
[output]
output=uhd
[uhdoutput]
device=
master_clock_rate=32768000
type=b100
txgain=15.0
channel=12D
lo_offset=2048000
refclk_source=internal
What i'm missing ?
Thank you for your help
Fabien
--
You received this message because you are subscribed to the Google Groups "mmbtools" group.
To unsubscribe from this group and stop receiving emails from it, send an email to crc-mmbtools...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
> <mailto:crc-mmbtools+unsub...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to the Google
> Groups "mmbtools" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to crc-mmbtools...@googlegroups.com
> <mailto:crc-mmbtools+unsub...@googlegroups.com>.
; possible values : internal, external, MIMO
refclk_source=external
; possible values : none, external, MIMO
pps_source=external
[delaymanagement]
synchronous=1
OutputUHD:Using device: Single USRP:
Device: B-Series Device
Mboard 0: B100
RX Channel: 0
RX DSP: 0
RX Dboard: A
RX Subdev: WBXv2 RX+GDB
TX Channel: 0
TX DSP: 0
TX Dboard: A
TX Subdev: WBXv2 TX+GDB
...
OutputUHD:Checking master clock rate: 32768000.000000...
UHD clock source is external
UHD time source is external
Modulator runtime error: USRPTime not implemented yet: external
whatthemux@odr-wtm-debian:~/dab$ sudo uhd_usrp_probe[INFO] [UHD] linux; GNU C++ version 8.3.0; Boost_106700; UHD_3.15.0.0-0-unknown_____________________________________________________/| Device: B-Series Device| _____________________________________________________| /| | Mboard: B100| | revision: 8192| | serial: E6R10Z0B1| | FW Version: 4.0| | FPGA Version: 11.4| || | Time sources: none, external, _external_| | Clock sources: internal, external, auto| | Sensors: ref_locked
OutputUHD:Checking master clock rate: 32768000.000000...
UHD clock source is external
UHD time source is external
OutputUHD:Set rate to 2048000. Actual TX Rate: 2048000.000000 sps...
OutputUHD:Setting freq to 230784000.000...
OutputUHD:Actual TX frequency: 230784000.000
OutputUHD:Actual RX frequency: 230784000.000
OutputUHD:Actual TX Gain: 20.000000
OutputUHD:Mute on missing timestamps: disabled
OutputUHD:Actual RX Rate: 2048000.000000 sps.
OutputUHD:Actual RX Antenna: RX2
OutputUHD:Actual TX Antenna: TX/RX
OutputUHD:Actual RX Gain: 0.000000
Setting up timestamp decoder with 1000 offset
Input ZeroMQ: Receiving from tcp://127.0.0.1:19086
WARN ZeroMQ buffer low: 4 elements !
FIRFilter: Reading 45 taps...
ERROR OutputSDR: Timestamp way too far in the future at FCT=100 offset: 1579130001.900974
ERROR SDR output thread caught runtime error: Timestamp error. Aborted.
ERROR Exception caught: SDR thread failed
ERROR Modulator failure.
44 DAB frames encoded
1.056 seconds encoded> an email to crc-mm...@googlegroups.com
> <mailto:crc-mmbtools+unsub...@googlegroups.com>.
> > <mailto:crc-mmbtools+unsub...@googlegroups.com <javascript:>>.
> > To view this discussion on the web visit
> >
> https://groups.google.com/d/msgid/crc-mmbtools/fc3e3bbd-efbf-48f1-8b64-7470506fd953%40googlegroups.com
> <https://groups.google.com/d/msgid/crc-mmbtools/fc3e3bbd-efbf-48f1-8b64-7470506fd953%40googlegroups.com>
>
> >
> <https://groups.google.com/d/msgid/crc-mmbtools/fc3e3bbd-efbf-48f1-8b64-7470506fd953%40googlegroups.com?utm_medium=email&utm_source=footer
> <https://groups.google.com/d/msgid/crc-mmbtools/fc3e3bbd-efbf-48f1-8b64-7470506fd953%40googlegroups.com?utm_medium=email&utm_source=footer>>.
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "mmbtools" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to crc-mm...@googlegroups.com
> <mailto:crc-mmbtools+unsub...@googlegroups.com>.
WARN Timeout WARN Restart modulator.
> > > <mailto:crc-mmbtools+unsub...@googlegroups.com
> <javascript:> <javascript:>>.
> > > To view this discussion on the web visit
> > >
> >
> https://groups.google.com/d/msgid/crc-mmbtools/fc3e3bbd-efbf-48f1-8b64-7470506fd953%40googlegroups.com
> <https://groups.google.com/d/msgid/crc-mmbtools/fc3e3bbd-efbf-48f1-8b64-7470506fd953%40googlegroups.com>
>
> >
> <https://groups.google.com/d/msgid/crc-mmbtools/fc3e3bbd-efbf-48f1-8b64-7470506fd953%40googlegroups.com
> <https://groups.google.com/d/msgid/crc-mmbtools/fc3e3bbd-efbf-48f1-8b64-7470506fd953%40googlegroups.com>>
>
> >
> > >
> >
> <https://groups.google.com/d/msgid/crc-mmbtools/fc3e3bbd-efbf-48f1-8b64-7470506fd953%40googlegroups.com?utm_medium=email&utm_source=footer
> <https://groups.google.com/d/msgid/crc-mmbtools/fc3e3bbd-efbf-48f1-8b64-7470506fd953%40googlegroups.com?utm_medium=email&utm_source=footer>
>
> >
> <https://groups.google.com/d/msgid/crc-mmbtools/fc3e3bbd-efbf-48f1-8b64-7470506fd953%40googlegroups.com?utm_medium=email&utm_source=footer
> <https://groups.google.com/d/msgid/crc-mmbtools/fc3e3bbd-efbf-48f1-8b64-7470506fd953%40googlegroups.com?utm_medium=email&utm_source=footer>>>.
>
> >
> >
> > --
> > You received this message because you are subscribed to the Google
> > Groups "mmbtools" group.
> > To unsubscribe from this group and stop receiving emails from it,
> send
> > an email to crc-mm...@googlegroups.com <javascript:>
> > <mailto:crc-mmbtools+unsub...@googlegroups.com <javascript:>>.
> > To view this discussion on the web visit
> >
> https://groups.google.com/d/msgid/crc-mmbtools/99e5b8f8-2ed7-4ada-ad32-11417769484b%40googlegroups.com
> <https://groups.google.com/d/msgid/crc-mmbtools/99e5b8f8-2ed7-4ada-ad32-11417769484b%40googlegroups.com>
>
> >
> <https://groups.google.com/d/msgid/crc-mmbtools/99e5b8f8-2ed7-4ada-ad32-11417769484b%40googlegroups.com?utm_medium=email&utm_source=footer
> <https://groups.google.com/d/msgid/crc-mmbtools/99e5b8f8-2ed7-4ada-ad32-11417769484b%40googlegroups.com?utm_medium=email&utm_source=footer>>.
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "mmbtools" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to crc-mm...@googlegroups.com
> <mailto:crc-mmbtools+unsub...@googlegroups.com>.