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:52:58 +0200

On Sat, Sep 18, 2010 at 12:25 AM, Gaetano Mendola <address@hidden> wrote:
> 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)

I meant the opposite, on last version (3.3.0) is equal to 370, on
previous versions (3.2.2) it was 371.  Given the fact is now defined
as 370 has the USRP2_MIN_RX_SAMPLES put equal to 370 as well ?

Regards
Gaetano Mendola

-- 
cpp-today.blogspot.com



reply via email to

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