laforge
/
openbts-osmo
Archived
1
0
Fork 0

uhd: set hardware side delay offset for e100

The value is used to align transmit and receive time slots within
a sample. This oscilloscope measured value is close, but may
need minor tweaking.

Signed-off-by: Thomas Tsou <ttsou@vt.edu>
This commit is contained in:
Thomas Tsou 2011-05-06 13:16:36 -04:00
parent 39f0bcfd18
commit 0ff69c95ff
2 changed files with 3 additions and 1 deletions

View File

@ -36,6 +36,7 @@
rx_smpl_offset - Timing correction in seconds between receive and
transmit timestamps. This value corrects for delays on
on the RF side of the timestamping point of the device.
This value is generally empirically measured.
smpl_buf_sz - The receive sample buffer size in bytes.
*/

View File

@ -36,12 +36,13 @@
rx_smpl_offset - Timing correction in seconds between receive and
transmit timestamps. This value corrects for delays on
on the RF side of the timestamping point of the device.
This value is generally empirically measured.
smpl_buf_sz - The receive sample buffer size in bytes.
*/
const bool use_ext_ref = false;
const double master_clk_rt = 52e6;
const double rx_smpl_offset = .00005;
const double rx_smpl_offset = .0000869;
const size_t smpl_buf_sz = (1 << 20);
/** Timestamp conversion