usrp-users@lists.ettus.com

Discussion and technical support related to USRP, UHD, RFNoC

View all threads

Modifying the fpga code in B210

mehtap özkan
Thu, Dec 21, 2017 7:26 PM

Dear All,
I have just received a B210 and want to implement a demodulator on the
FPGA. I am using GNU RADIO. I can get the IQ data using the USRP source
block. Is there a way to get the demodulated data in GNU RADIO?
Thank you in advance.

Dear All, I have just received a B210 and want to implement a demodulator on the FPGA. I am using GNU RADIO. I can get the IQ data using the USRP source block. Is there a way to get the demodulated data in GNU RADIO? Thank you in advance.
NC
Nicolas Cuervo
Fri, Dec 22, 2017 2:04 PM

Dear Mehtap,

The FPGA part of this process is completely independent of GNURadio. In
order to modify the FPGA code, you need a full ISE license from Xilinx.
Depending on how many features you plan to introduce in the FPGA, you have
to take into account the utilization that it would require (for what we
provide a "free-space" estimate here
https://kb.ettus.com/B200/B210/B200mini/B205mini#FPGA). After you manage
to get the demodulated samples from the FPGA (and what continues here
depends on the type of samples that you are planning to send from the
device into the host machine), you might have to tweak UHD as well in order
to play nicely with the samples you are providing - if they are IQ samples
(that represent the demodulated signals), it is probable that they go
transparently into GNURadio via the USRP source block. Up to here, GNU
Radio plays no role. Thereafter you can use GNU Radio for further signal
processing.

Regards,

  • Nicolas

PS: just in case you were wondering, the B210 does not support RFNoC.

On Thu, Dec 21, 2017 at 2:26 PM, mehtap özkan via USRP-users <
usrp-users@lists.ettus.com> wrote:

Dear All,
I have just received a B210 and want to implement a demodulator on the
FPGA. I am using GNU RADIO. I can get the IQ data using the USRP source
block. Is there a way to get the demodulated data in GNU RADIO?
Thank you in advance.


USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Dear Mehtap, The FPGA part of this process is completely independent of GNURadio. In order to modify the FPGA code, you need a full ISE license from Xilinx. Depending on how many features you plan to introduce in the FPGA, you have to take into account the utilization that it would require (for what we provide a "free-space" estimate here <https://kb.ettus.com/B200/B210/B200mini/B205mini#FPGA>). After you manage to get the demodulated samples from the FPGA (and what continues here depends on the type of samples that you are planning to send from the device into the host machine), you might have to tweak UHD as well in order to play nicely with the samples you are providing - if they are IQ samples (that represent the demodulated signals), it is probable that they go transparently into GNURadio via the USRP source block. Up to here, GNU Radio plays no role. Thereafter you can use GNU Radio for further signal processing. Regards, - Nicolas PS: just in case you were wondering, the B210 does not support RFNoC. On Thu, Dec 21, 2017 at 2:26 PM, mehtap özkan via USRP-users < usrp-users@lists.ettus.com> wrote: > Dear All, > I have just received a B210 and want to implement a demodulator on the > FPGA. I am using GNU RADIO. I can get the IQ data using the USRP source > block. Is there a way to get the demodulated data in GNU RADIO? > Thank you in advance. > > _______________________________________________ > USRP-users mailing list > USRP-users@lists.ettus.com > http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com > >
mehtap özkan
Fri, Dec 22, 2017 3:06 PM

Thats what i feared, modifying the UHD. Is there a way to get the
demodulated samples except  the USRP source block?

2017-12-22 17:04 GMT+03:00 Nicolas Cuervo nicolas.cuervo@ettus.com:

Dear Mehtap,

The FPGA part of this process is completely independent of GNURadio. In
order to modify the FPGA code, you need a full ISE license from Xilinx.
Depending on how many features you plan to introduce in the FPGA, you have
to take into account the utilization that it would require (for what we
provide a "free-space" estimate here
https://kb.ettus.com/B200/B210/B200mini/B205mini#FPGA). After you
manage to get the demodulated samples from the FPGA (and what continues
here depends on the type of samples that you are planning to send from the
device into the host machine), you might have to tweak UHD as well in order
to play nicely with the samples you are providing - if they are IQ samples
(that represent the demodulated signals), it is probable that they go
transparently into GNURadio via the USRP source block. Up to here, GNU
Radio plays no role. Thereafter you can use GNU Radio for further signal
processing.

Regards,

  • Nicolas

PS: just in case you were wondering, the B210 does not support RFNoC.

On Thu, Dec 21, 2017 at 2:26 PM, mehtap özkan via USRP-users <
usrp-users@lists.ettus.com> wrote:

Dear All,
I have just received a B210 and want to implement a demodulator on the
FPGA. I am using GNU RADIO. I can get the IQ data using the USRP source
block. Is there a way to get the demodulated data in GNU RADIO?
Thank you in advance.


USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Thats what i feared, modifying the UHD. Is there a way to get the demodulated samples except the USRP source block? 2017-12-22 17:04 GMT+03:00 Nicolas Cuervo <nicolas.cuervo@ettus.com>: > Dear Mehtap, > > The FPGA part of this process is completely independent of GNURadio. In > order to modify the FPGA code, you need a full ISE license from Xilinx. > Depending on how many features you plan to introduce in the FPGA, you have > to take into account the utilization that it would require (for what we > provide a "free-space" estimate here > <https://kb.ettus.com/B200/B210/B200mini/B205mini#FPGA>). After you > manage to get the demodulated samples from the FPGA (and what continues > here depends on the type of samples that you are planning to send from the > device into the host machine), you might have to tweak UHD as well in order > to play nicely with the samples you are providing - if they are IQ samples > (that represent the demodulated signals), it is probable that they go > transparently into GNURadio via the USRP source block. Up to here, GNU > Radio plays no role. Thereafter you can use GNU Radio for further signal > processing. > > Regards, > - Nicolas > > PS: just in case you were wondering, the B210 does not support RFNoC. > > On Thu, Dec 21, 2017 at 2:26 PM, mehtap özkan via USRP-users < > usrp-users@lists.ettus.com> wrote: > >> Dear All, >> I have just received a B210 and want to implement a demodulator on the >> FPGA. I am using GNU RADIO. I can get the IQ data using the USRP source >> block. Is there a way to get the demodulated data in GNU RADIO? >> Thank you in advance. >> >> _______________________________________________ >> USRP-users mailing list >> USRP-users@lists.ettus.com >> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com >> >> >
NC
Nicolas Cuervo
Fri, Dec 22, 2017 10:25 PM

Hi Mehtap,

you don't specifically need GNU Radio in order to get data from the USRP,
as you can set up a receiver using the UHD API. We provide examples of how
to do this, such as the rx_samples_to_file
https://github.com/EttusResearch/uhd/blob/maint/host/examples/rx_samples_to_file.cpp,
that sets the receiver streamers and saves them in a file. Notice that UHD
doesn't really know that the samples are demodulated or not (or anything
about the samples), but it is only set to pass to the host IQ samples from
the B210. If you set the demodulator in FPGA to pass samples with the same
structure, it is possible that modifications in the host part of UHD are
not necessary.  Our manual includes a quick read about device streaming
https://files.ettus.com/manual/page_stream.html that might be interesting
for you.

-N

On Fri, Dec 22, 2017 at 10:06 AM, mehtap özkan kurtulmehtap@gmail.com
wrote:

Thats what i feared, modifying the UHD. Is there a way to get the
demodulated samples except  the USRP source block?

2017-12-22 17:04 GMT+03:00 Nicolas Cuervo nicolas.cuervo@ettus.com:

Dear Mehtap,

The FPGA part of this process is completely independent of GNURadio. In
order to modify the FPGA code, you need a full ISE license from Xilinx.
Depending on how many features you plan to introduce in the FPGA, you have
to take into account the utilization that it would require (for what we
provide a "free-space" estimate here
https://kb.ettus.com/B200/B210/B200mini/B205mini#FPGA). After you
manage to get the demodulated samples from the FPGA (and what continues
here depends on the type of samples that you are planning to send from the
device into the host machine), you might have to tweak UHD as well in order
to play nicely with the samples you are providing - if they are IQ samples
(that represent the demodulated signals), it is probable that they go
transparently into GNURadio via the USRP source block. Up to here, GNU
Radio plays no role. Thereafter you can use GNU Radio for further signal
processing.

Regards,

  • Nicolas

PS: just in case you were wondering, the B210 does not support RFNoC.

On Thu, Dec 21, 2017 at 2:26 PM, mehtap özkan via USRP-users <
usrp-users@lists.ettus.com> wrote:

Dear All,
I have just received a B210 and want to implement a demodulator on the
FPGA. I am using GNU RADIO. I can get the IQ data using the USRP source
block. Is there a way to get the demodulated data in GNU RADIO?
Thank you in advance.


USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Hi Mehtap, you don't specifically need GNU Radio in order to get data from the USRP, as you can set up a receiver using the UHD API. We provide examples of how to do this, such as the rx_samples_to_file <https://github.com/EttusResearch/uhd/blob/maint/host/examples/rx_samples_to_file.cpp>, that sets the receiver streamers and saves them in a file. Notice that UHD doesn't really know that the samples are demodulated or not (or anything about the samples), but it is only set to pass to the host IQ samples from the B210. If you set the demodulator in FPGA to pass samples with the same structure, it is possible that modifications in the host part of UHD are not necessary. Our manual includes a quick read about device streaming <https://files.ettus.com/manual/page_stream.html> that might be interesting for you. -N On Fri, Dec 22, 2017 at 10:06 AM, mehtap özkan <kurtulmehtap@gmail.com> wrote: > Thats what i feared, modifying the UHD. Is there a way to get the > demodulated samples except the USRP source block? > > 2017-12-22 17:04 GMT+03:00 Nicolas Cuervo <nicolas.cuervo@ettus.com>: > >> Dear Mehtap, >> >> The FPGA part of this process is completely independent of GNURadio. In >> order to modify the FPGA code, you need a full ISE license from Xilinx. >> Depending on how many features you plan to introduce in the FPGA, you have >> to take into account the utilization that it would require (for what we >> provide a "free-space" estimate here >> <https://kb.ettus.com/B200/B210/B200mini/B205mini#FPGA>). After you >> manage to get the demodulated samples from the FPGA (and what continues >> here depends on the type of samples that you are planning to send from the >> device into the host machine), you might have to tweak UHD as well in order >> to play nicely with the samples you are providing - if they are IQ samples >> (that represent the demodulated signals), it is probable that they go >> transparently into GNURadio via the USRP source block. Up to here, GNU >> Radio plays no role. Thereafter you can use GNU Radio for further signal >> processing. >> >> Regards, >> - Nicolas >> >> PS: just in case you were wondering, the B210 does not support RFNoC. >> >> On Thu, Dec 21, 2017 at 2:26 PM, mehtap özkan via USRP-users < >> usrp-users@lists.ettus.com> wrote: >> >>> Dear All, >>> I have just received a B210 and want to implement a demodulator on the >>> FPGA. I am using GNU RADIO. I can get the IQ data using the USRP source >>> block. Is there a way to get the demodulated data in GNU RADIO? >>> Thank you in advance. >>> >>> _______________________________________________ >>> USRP-users mailing list >>> USRP-users@lists.ettus.com >>> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com >>> >>> >> >