[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Padding for USRP
From: |
Josh Blum |
Subject: |
Re: [Discuss-gnuradio] Padding for USRP |
Date: |
Tue, 26 Feb 2013 20:12:31 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130106 Thunderbird/17.0.2 |
On 02/26/2013 08:03 PM, Manu T S wrote:
> In gnuradio/digital/packet_utils, the packets are padded to make it a
> multiple of 512 bytes to be sent across the USB(As per the comment there).
>
> USRP2 and N210 uses ethernet connection. Is it important to have padding
> for USRP in for these devices? If so is it the same number? ( 512 bytes to
> be sent across ethernet )
>
You should not need any padding. All of the devices (except usrp1) send
samples encapsulated in a packet format so the boundaries of the samples
are known by the device.
I dont think you need the padding for USRP1 either, since UHD will flush
out the buffer to a 512 byte multiple if it sees the EOB specified.
-josh
> Thank you in advance.
>
>
>
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>