]> git.rkrishnan.org Git - pihpsdr.git/commitdiff
"Silence first RX samples after TR/RX" feature: added HERMES into the list
authorc vw <dl1ycf@darc.de>
Wed, 5 Jan 2022 09:33:50 +0000 (10:33 +0100)
committerc vw <dl1ycf@darc.de>
Wed, 5 Jan 2022 09:33:50 +0000 (10:33 +0100)
of radios which require this (since many RedPitaya's show up as a HERMES) and
also added the original HermesLite which should behave similar to its successor.

radio.c

diff --git a/radio.c b/radio.c
index 92c2430fb18465816430e2f226a4ab15dd3d2a0b..8b5961a694a7e34d88c9a000f2ce7eca28ddcd80 100644 (file)
--- a/radio.c
+++ b/radio.c
@@ -1544,10 +1544,18 @@ static void rxtx(int state) {
     if(!duplex) {
       //
       // Set parameters for the "silence first RXIQ samples after TX/RX transition" feature
-      // the default is "no silence", that is, fastest turnaround
+      // the default is "no silence", that is, fastest turnaround.
+      // Seeing "tails" of the own TX signal (from crosstalk at the T/R relay) has been observed
+      // for RedPitayas (the identify themself as STEMlab or HERMES) and HermesLite2 devices,
+      // we also include the original HermesLite in this list (which can be enlarged if necessary).
       //
       int do_silence=0;
-      if (protocol == ORIGINAL_PROTOCOL && (device == DEVICE_HERMES_LITE2 || device == DEVICE_STEMLAB)) {
+      if (protocol == ORIGINAL_PROTOCOL && (
+                 device == DEVICE_HERMES_LITE2 || 
+                 device == DEVICE_HERMES_LITE ||
+                 device == DEVICE_HERMES ||
+                 device == DEVICE_STEMLAB
+                )) {
         //
         // These systems get a significant "tail" of the RX feedback signal into the RX after TX/RX,
         // leading to AGC pumping. The problem is most severe if there is a carrier until the end of