Update...
I figured it out. The conversation "Re: [USRP-users] GRC + RFNoC + Radio
Loopback" was kind of helpful.
On 04.10.2017 11:29, Daniel Rauschen via USRP-users wrote:
Hi,
I am trying to do a Rx / Tx loopback test and I am stuck for days with it.
For the sake of simplicity I altered the gain example [1] with the
approach 3 from [2] (find my noc_block_gain.v and the test bench
attached).
I connect the blocks like this (UHD):
*rx_graph->connect(m_radio_ctrl->get_block_id(),0,
split_ctrl->get_block_id(),0,1024);
rx_graph->connect(split_ctrl->get_block_id(),0,
fifo_ctrl->get_block_id(),0,***1024*);
rx_graph->connect(split_ctrl->get_block_id(),1,
gain_ctrl->get_block_id(),0,***1024*);
rx_graph->connect(gain_ctrl->get_block_id(),0,
dma_fifo_ctrl->get_block_id(),0,***1024*);
rx_graph->connect(dma_fifo_ctrl->get_block_id(),0,m_radio_ctrl->get_block_id(),1,***1024*);*
Which is some how wrong, because I get following error when running
the programm:*
*
*[32;1m[INFO] [UHDlinux; GNU C++ version 5.4.0 20160609; Boost_105800;
UHD_4.0.0.rfnoc-devel-369-g1908672f] [39;0m**
**[32;1m[INFO] [X300] [39;0mX300 initialization sequence...**
**[32;1m[INFO] [X300] [39;0mDetermining maximum frame size... **
**[32;1m[INFO] [X300] [39;0mMaximum frame size: 8000 bytes.**
**[32;1m[INFO] [X300] [39;0mSetup basic communication...**
**[32;1m[INFO] [X300] [39;0mLoading values from EEPROM...**
**[32;1m[INFO] [X300] [39;0mSetup RF frontend clocking...**
**[32;1m[INFO] [X300] [39;0mRadio 1x clock:120**
**[32;1m[INFO] [X300] [39;0mDetecting internal GPSDO.... **
**[32;1m[INFO] [GPS] [39;0mNo GPSDO found**
**[32;1m[INFO] [RFNOC] [39;0m[DMA FIFO] Running BIST for FIFO 0... **
**[32;1m[INFO] [RFNOC] [39;0mpass (Throughput: 1302.6MB/s)**
**[32;1m[INFO] [RFNOC] [39;0m[DMA FIFO] Running BIST for FIFO 1... **
**[32;1m[INFO] [RFNOC] [39;0mpass (Throughput: 1296.1MB/s)**
**[32;1m[INFO] [RFNOC RADIO] [39;0mRegister loopback test passed**
**[32;1m[INFO] [RFNOC RADIO] [39;0mRegister loopback test passed**
**[32;1m[INFO] [RFNOC RADIO] [39;0mRegister loopback test passed**
**[32;1m[INFO] [RFNOC RADIO] [39;0mRegister loopback test passed**
**[33;1m[WARNING] [RFNOC] [39;0m[0/SplitStream_0] defines 2 input
buffer sizes, but 1 input ports**
**[32;1m[INFO] [CORES] [39;0mPerforming timer loopback test... **
**[32;1m[INFO] [CORES] [39;0mTimer loopback test passed**
**[32;1m[INFO] [CORES] [39;0mPerforming timer loopback test... **
**[32;1m[INFO] [CORES] [39;0mTimer loopback test passed**
**
**____________________________________**
**
**Radio0 Params:**
**Device Address:**
** spp: 1024**
**
**____________________________________**
**
**SplitStream Params:**
**Empty Device Address**
**____________________________________**
**
**FIFO Params:**
**Empty Device Address**
**____________________________________**
**
**DmaFIFO Params:**
**Device Address:**
** base_addr: 0**
** depth: 65536**
**
**____________________________________**
**
**gain Params:**
**Device Address:**
** gain: 10**
** delaytime: 3600**
**
**____________________________________**
**Setting RX Freq: 2450.000000 MHz...**
**Actual RX Freq: 2450.000000 MHz...**
**
**Actual TX Freq: 2450.000000 MHz...**
**
**Actual RX Gain: 0.000000 dB...**
**
**Actual TX Gain: 0.000000 dB...**
**
**Connecting blocks...**
**terminate called after throwing an instance of 'uhd::runtime_error'**
** what(): RuntimeError: Input FIFO for block 0/Radio_0 is too small
(0 kiB) for packets of size 1 kiB**
**coming from block 0/DmaFIFO_0.**
*
Is there anyone who did a Rx/Tx loop with a similar flow graph as
shown in grc_block.png?
What am I doing wrong?
Best regards,
Daniel
[1] https://kb.ettus.com/Getting_Started_with_RFNoC_Development
[2] https://corvid.io/2017/04/22/stupid-rfnoc-tricks-loopback/
--
M.Sc. Daniel Rauschen
Communication Systems
Fraunhofer Institute for Communication, Information Processing and Ergonomics
FKIE
Fraunhoferstr. 20 | 53343 Wachtberg | Germany
Phone +49 (0)228 9435-404
mailto:[email protected]
http://www.fkie.fraunhofer.de
_______________________________________________
USRP-users mailing list
[email protected]
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
_______________________________________________
USRP-users mailing list
[email protected]
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com