|
From: | Marcus D. Leech |
Subject: | Re: [Discuss-gnuradio] half duplex set_auto_tx timing problems |
Date: | Mon, 03 Jun 2013 21:15:34 -0400 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111108 Fedora/3.1.16-1.fc14 Thunderbird/3.1.16 |
You say that it switch from TX to RX if the next timestamp is in the future and switch from RX to TX just when the timestamp is triggered.You see "L" because you are sending your bursts far enough advance. In my applications, the bursts are sent to the USRP about ~5ms before the actual transmission.Ok, I will try to send them 5ms before transmit time, that should work. But then synchronizing the FPGA clock with the PC clock will be more trouble.
You can use set_time_now() to set the FPGA clock to whatever you want.In fact, without such synchronization of ideas of time, it's pretty hard to build a TDMA-type system. The USRP and the host delivering time-stamped samples have to agree on what time it is. If you have 1PPS pulses going in, you can use set_time_next_pps() to align times on the next PPS pulse.
-- Marcus Leech Principal Investigator Shirleys Bay Radio Astronomy Consortium http://www.sbrac.org
[Prev in Thread] | Current Thread | [Next in Thread] |