aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Chemeris <Alexander.Chemeris@gmail.com>2015-05-24 20:16:51 -0400
committerTom Tsou <tom.tsou@ettus.com>2015-06-01 16:06:11 -0700
commit351fd7670649cafd5344cf6fc746f63729df97cb (patch)
treedb531cac4588324ec341365fce794043147aa270
parent6a2bf0d87b215860e76d1866885ae552b0ba63fe (diff)
sigProcLib: Fix burst start phase.
R&S CMD57 complains about the start phase of bursts, particularly it shows -15 to -30 deg of error for the bit 0.5 position (start tail bit). This patch makes it happy. ETSI TS 145 004 section 2.2 describes this: "Before the first bit of the bursts as defined in 3GPP TS 45.002 enters the modulator, the modulator has an internal state as if a modulating bit stream consisting of consecutive ones (di = 1) had entered the differential encoder." Signed-off-by: Tom Tsou <tom.tsou@ettus.com>
-rw-r--r--Transceiver52M/sigProcLib.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Transceiver52M/sigProcLib.cpp b/Transceiver52M/sigProcLib.cpp
index 4501a13..9d8410b 100644
--- a/Transceiver52M/sigProcLib.cpp
+++ b/Transceiver52M/sigProcLib.cpp
@@ -726,7 +726,7 @@ static signalVector *modulateBurstLaurent(const BitVector &bits,
c1_itr = c1_burst->begin();
/* Padded differential start bits */
- *c0_itr = 2.0 * (0x00 & 0x01) - 1.0;
+ *c0_itr = 2.0 * (0x01 & 0x01) - 1.0;
c0_itr += sps;
/* Main burst bits */