[USRP-users] OFDM on E310 using RFNoC

Ramazan Çetin ramazan.cetin at gohm.com.tr
Thu Feb 21 02:35:44 EST 2019


Hello,

I am trying to implement OFDM on E310 using RFNoC. My software versions:

UHD: v3.14.0.0-rc1

gnuradio: 3.7.13.4

gr-ettus: master branch

FPGA: e57dfe0

I followed the FG in below that shown in GRCon15.

https://static1.squarespace.com/static/543ae9afe4b0c3b808d72acd/t/55f85aaee4b02e1b84d8ff51/1442339502956/7-pendlum_johathan-OFDM_RFNoC-2015-08-27.pdf

But FPGA of E310 is small so i just can place 3 RFNoC blocks in it. I 
thought using some blocks from RFNoC and others from GNURadio.

Q1. Can you suggest a way to implement OFDM in E310? (Because i could 
not find a OFDM implementation that includes both RFNoC and gnuradio 
blocks. There is a example in gr-ettus which is rfnoc_ofdm, but its OFDM 
receiver is also done with full of RFNoC blocks.)

Q2. For example, i can compile FPGA image using eq, schmidl_cox and 
constellation_demap blocks. ( FFT dont fit) So i thought using FFT from 
gnuradio. I created a FG which includes;

RFNoC: Radio --> RFNoC: OFDM Sync --> FFT --> RFNoC: OFDM Eq --> RFNoC: 
OFDM constellation demap --> File Sink

When i run this it gives that error;

root at ettus-e3xx-sg3:~# ./rfnoc_ofdm_test.py
[INFO] [UHD] linux; GNU C++ version 4.9.2; Boost_105700; 
UHD_3.14.0.HEAD-0-gc7941e05
[INFO] [E300] Loading FPGA image: 
/home/root/usrp_e310_eq_sch_const_RFNOC_sg3.bit...
[INFO] [E300] FPGA image loaded
[INFO] [E300] Initializing core control (global registers)...

[INFO] [E300] Performing register loopback test...
[INFO] [E300] Register loopback test passed
[INFO] [0/Radio_0] Initializing block control (NOC ID: 0x12AD100000000000)
[WARNING] [RFNOC] Can't find a block controller for key OFDMEq, using 
default block controller!
[INFO] [0/OFDMEq_0] Initializing block control (NOC ID: 0xFF42000000000000)
[WARNING] [RFNOC] Can't find a block controller for key OFDMDemap, using 
default block controller!
[INFO] [0/OFDMDemap_0] Initializing block control (NOC ID: 
0x0FCD000000000000)
[WARNING] [RFNOC] Can't find a block controller for key SchmidlCox, 
using default block controller!
[INFO] [0/SchmidlCox_0] Initializing block control (NOC ID: 
0x5CC0000000000000)
Traceback (most recent call last):
   File "./rfnoc_ofdm_test.py", line 184, in <module>
     main()
   File "./rfnoc_ofdm_test.py", line 173, in main
     tb = top_block_cls()
   File "./rfnoc_ofdm_test.py", line 129, in __init__
     self.connect((self.uhd_rfnoc_ofdm_demap_0, 0), 
(self.blocks_file_sink_0, 0))
   File 
"/home/root/localinstall/usr/lib/python2.7/site-packages/gnuradio/gr/hier_block2.py", 
line 47, in wrapped
     func(self, src, src_port, dst, dst_port)
   File 
"/home/root/localinstall/usr/lib/python2.7/site-packages/gnuradio/gr/hier_block2.py", 
line 110, in connect
     self.primitive_connect(*args)
   File 
"/home/root/localinstall/usr/lib/python2.7/site-packages/gnuradio/gr/runtime_swig.py", 
line 3482, in primitive_connect
     return _runtime_swig.top_block_sptr_primitive_connect(self, *args)
ValueError: itemsize mismatch: uhd_rfnoc_OFDMDemap0:0 using 8, 
file_sink0:0 using 64
[INFO] [E300] Loading FPGA image: 
/home/root/localinstall/usr/share/uhd/images/usrp_e3xx_fpga_idle_sg3.bit...
[INFO] [E300] FPGA image loaded

What is the problem in there?


Best regards.

Ramazan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: rfnoc_ofdm_test.grc
Type: text/xml
Size: 14228 bytes
Desc: not available
URL: <http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/attachments/20190221/f9f77412/attachment.grc>


More information about the USRP-users mailing list