# Again on the FPGA to antenna latency

**URL:** <https://www.ruby-forum.com/t/again-on-the-fpga-to-antenna-latency/228675>\
**Category:** GNU Radio\
**Created:** [May 2, 2013, 7:07pm UTC](https://www.ruby-forum.com/t/again-on-the-fpga-to-antenna-latency/228675 "2013-05-02T19:07:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![naeo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/57b2e6/32.png) [@naeo](https://www.ruby-forum.com/u/naeo)\
**Post date:** [May 2, 2013, 7:07pm UTC](https://www.ruby-forum.com/t/again-on-the-fpga-to-antenna-latency/228675/1 "2013-05-02T19:07:54Z")

</div>

Hi all,

- Is it a correct to estimate by an ICMP echo-reply the latency between  
a  
host and the USRP N210 at a giving instant.

- To estimate the delay in the Digital portion from the FPGA till the  
signal  
is outputted by the antenna, is it a good way to fed the USRP by a  
signal  
(similar as am going to test) from a signal generator into the Rx input,  
and  
get it re conducted as is from the USRP  
(I will have to write a code to read samples from input and write them  
to  
output: will that add extra latency ?)  
My purpose is to isolate the latency caused by “FPGA to Antenna” and get  
a  
rough estimate of it (tens, hundreds of microseconds or what range)

Thank you in advance.

–  
View this message in context:  
[http://gnuradio.4.n7.nabble.com/Again-on-the-FPGA-to-antenna-latency-tp41106.html](http://gnuradio.4.n7.nabble.com/Again-on-the-FPGA-to-antenna-latency-tp41106.html)  
Sent from the GnuRadio mailing list archive at [Nabble.com](http://Nabble.com).

---

<div class="post-metadata">

**Author:** ![naeo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/57b2e6/32.png) [@naeo](https://www.ruby-forum.com/u/naeo)\
**Post date:** [May 2, 2013, 7:21pm UTC](https://www.ruby-forum.com/t/again-on-the-fpga-to-antenna-latency/228675/2 "2013-05-02T19:21:21Z")

</div>

On 05/02/2013 12:06 PM, NaceurElOuni wrote:

> Hi all,
> 
> - Is it a correct to estimate by an ICMP echo-reply the latency between a  
> host and the USRP N210 at a giving instant.

That wouldnt work. There is a soft micro in the FPGA fabric for the  
purposes of network bring-up and some setup functions. This micro  
controller is responsible for implementing ICMP so you can ping the  
device. But its not in the fast path for baseband samples or anything  
like that.

> - To estimate the delay in the Digital portion from the FPGA till the signal  
> is outputted by the antenna, is it a good way to fed the USRP by a signal  
> (similar as am going to test) from a signal generator into the Rx input, and  
> get it re conducted as is from the USRP  
> (I will have to write a code to read samples from input and write them to  
> output: will that add extra latency ?)  
> My purpose is to isolate the latency caused by “FPGA to Antenna” and get a  
> rough estimate of it (tens, hundreds of microseconds or what range)

You may find lot of helpful advice, and charts here:  
[http://code.ettus.com/redmine/ettus/projects/public/wiki/Latency](http://code.ettus.com/redmine/ettus/projects/public/wiki/Latency)

-josh

---

<div class="post-metadata">

**Author:** ![naeo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/57b2e6/32.png) [@naeo](https://www.ruby-forum.com/u/naeo)\
**Post date:** [May 2, 2013, 7:53pm UTC](https://www.ruby-forum.com/t/again-on-the-fpga-to-antenna-latency/228675/3 "2013-05-02T19:53:29Z")

</div>

thank you

–  
View this message in context:  
[http://gnuradio.4.n7.nabble.com/Again-on-the-FPGA-to-antenna-latency-tp41106p41108.html](http://gnuradio.4.n7.nabble.com/Again-on-the-FPGA-to-antenna-latency-tp41106p41108.html)  
Sent from the GnuRadio mailing list archive at [Nabble.com](http://Nabble.com).
