discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Modifying gr-air-modes to work with Nutaq's Zepto


From: tristan.martin
Subject: Re: [Discuss-gnuradio] Modifying gr-air-modes to work with Nutaq's Zepto/Pico
Date: Mon, 3 Mar 2014 04:30:27 -0800 (PST)

Hello Adrien,

You can simply replace the UHD functions invoked by their Nutaq equivalent.
This is very easy and straight forward.

There are two blogs on the subject, one for C language, one for GRC flow
graphs.
http://nutaq.com/en/blog/comparison-nutaq-api-and-usrp-hardware-driver
http://nutaq.com/en/blog/how-port-existing-gnu-radio-waveform-picosdr-less-2-minutes

I had a quick look to gr-air-modes-master, it doesn’t seem to have a .grc,
so you will do the UHD->Nutaq replacements in the Python implementation
(gr-air-modes-master\python\radio.py). The Nutaq API and FPGA cores come
with in-depth documentation that explains each function (“doc” folder). But
one quick way to get started is by comparing (using diff or Beyond Compare)
the Pyton generated form a basic GRC example (eg: uhd_rx_dpsk.uhd.py from
basic GR install) where you replace the UHD blocks with Nutaq blocks. The
delta obtained is the list of UHD python function along with their Nutaq
equivalent.

In Radio.py (gr-air-modes-master), copy the UHD implementation starting at
line 144 and paste it into a new “elsif” at line 177:
elif options.source == "zeptosdr":  #using Nutaq ZeptoSDR
Then replace the “from gnuradio import uhd” and “uhd.usrp_source()” by their
Nutaq equivalent: “import Nutaq” and “nutaq.rtdex_source()” respectively.

Repeat with all the RTDEx and Radio420x configuration functions listed
earlier with diff or Beyond Compare (set_center_freq , set_samp_rate,
set_gain, etc…).

Then, remake the proper connexions by replacing 
self.connect((self.uhd_usrp_source_0, 0), (…))
with
self.connect((self.nutaq_rtdex_source_0, 0), (…))

Finally, do not hesitate to connect our tech support helpdesk if you run
into problems understanding an API function when working on your code.

http://nutaq.com/en/support

Tristan




--
View this message in context: 
http://gnuradio.4.n7.nabble.com/Modifying-gr-air-modes-to-work-with-Nutaq-s-Zepto-Pico-tp46634p46671.html
Sent from the GnuRadio mailing list archive at Nabble.com.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]