umtrx: set timing offset and clocking frequency
Measured offset and set to zero based on Nokia 3120 handset. Signed-off-by: Thomas Tsou <tom@tsou.cc>
This commit is contained in:
parent
9e5e208b6e
commit
635e34239c
|
@ -48,14 +48,14 @@
|
||||||
|
|
||||||
tx_ampl - Transmit amplitude must be between 0 and 1.0
|
tx_ampl - Transmit amplitude must be between 0 and 1.0
|
||||||
*/
|
*/
|
||||||
const double master_clk_rt = 52e6;
|
const double master_clk_rt = 13e6;
|
||||||
const size_t smpl_buf_sz = (1 << 20);
|
const size_t smpl_buf_sz = (1 << 20);
|
||||||
const float tx_ampl = .3;
|
const float tx_ampl = .3;
|
||||||
|
|
||||||
#ifdef RESAMPLE
|
#ifdef RESAMPLE
|
||||||
const double rx_smpl_offset = .00005;
|
const double rx_smpl_offset = .00005;
|
||||||
#else
|
#else
|
||||||
const double rx_smpl_offset = .0000869;
|
const double rx_smpl_offset = 9.4457e-5;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static TIMESTAMP init_rd_ts = 0;
|
static TIMESTAMP init_rd_ts = 0;
|
||||||
|
|
Loading…
Reference in New Issue