discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] Re: USRP2 rx handler chunk size


From: Gaetano Mendola
Subject: [Discuss-gnuradio] Re: USRP2 rx handler chunk size
Date: Sat, 18 Sep 2010 00:25:56 +0200

On Fri, Sep 17, 2010 at 9:14 PM, Gaetano Mendola <address@hidden> wrote:
> Hi all,
> I'm observing that rx handlers are called when 371 samples are ready,
> I thought (I don't remember why
> I have 370 hard coded in my code) the chunks where 370 samples. Has
> this changed lately or it has been
> always like this?

So I have dig in it, and it seems that in the past:

usrp2/firmware/include/usrp2_eth_packet.h:#define U2_MAX_SAMPLES        370

but at same time:

gr-usrp2/src/usrp2_base.h:#define USRP2_MIN_RX_SAMPLES 371
usrp2/host/apps/tx_samples.cc:#define   MAX_SAMPLES (371)
usrp2/host/apps/test_mimo_tx.cc:#define MAX_SAMPLES (371)

and now on last version:

usrp2/firmware/include/usrp2_eth_packet.h:#define U2_MAX_SAMPLES        371
gr-usrp2/src/usrp2_base.h:#define USRP2_MIN_RX_SAMPLES 371
usrp2/host/apps/test_mimo_tx.cc:#define MAX_SAMPLES (371)
usrp2/host/apps/tx_samples.cc:#define   MAX_SAMPLES (371)

so I guess it was an old bug in the firmware code ?

Regards
Gaetano Mendola

-- 
cpp-today.blogspot.com



reply via email to

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