piHPSDR and tx latency

216 views
Skip to first unread message

"Christoph v. Wüllen"

unread,
Jan 27, 2021, 2:00:05 PM1/27/21
to herme...@googlegroups.com
Dear HL2/pihpsdr users,


Now I have also encountered the problem, that TX occasionally looses PTT
(„tx relay chatter“). I only saw this with WSJTX, never with CW. The
PA temp was way below critical values, so I suspect a TX-IQ-FIFO
underrun.

To address this, I have updated my version of piHPSDR (github.com/dl1ycf)
to set the „PTT hang“ and „TX latency“ times to fixed values
(PTT: 5 msec, TXlatency: 30 msec) and did not see the problem again.

Note before piHPSDR did never set these values so the default ones
were active.

Still no support in the GUI to adapt these values, but this is
seemingly better than the default values.

If others have seen the problem as well, does it improve?

Yours,

Christoph DL1YCF.

ron.ni...@gmail.com

unread,
Jan 27, 2021, 3:43:54 PM1/27/21
to Hermes-Lite
I you run a long sequence of network Pings from your PC to your HL2, what's the peak variation in Ping round trip latencies you see?  If your network's max UDP latency variation is greater than the HL2's default latency, that can cause Tx relay chatter.  I see that problem on a lot of WiFi network connections.
73,
Ron
n6ywu

Steve Haynal

unread,
Jan 28, 2021, 1:49:24 AM1/28/21
to Hermes-Lite
Hi Christoph,

Did you see this problem with the latest stable gateware, 20201212_72p8? That gateware increased the TX buffer latency to 20ms and PTT to 12ms based on some feedback from SDR Console users.

73,

Steve
kf7o


On Wednesday, January 27, 2021 at 11:00:05 AM UTC-8 "Christoph v. Wüllen" wrote:

"Christoph v. Wüllen"

unread,
Jan 28, 2021, 3:32:22 AM1/28/21
to Steve Haynal, herme...@googlegroups.com
No it was the gateware installed when I got the device, AFIK 7.1

But I shall try to use these values (20 msec / 12 msec) in pihpsdr
and see if they also work. Probably a good idea anyway to set
these values in piHPSDR since this makes it work independently
on the gateware default settings.

I did not dare to increase beyond 30 msec because I faintly remember
that there is a 5-bit-overflow with older gatewares.
> --
> You received this message because you are subscribed to the Google Groups "Hermes-Lite" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to hermes-lite...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/hermes-lite/447d495c-4447-4923-b473-c87e900da5bfn%40googlegroups.com.

Steve Haynal

unread,
Jan 28, 2021, 3:14:04 PM1/28/21
to Hermes-Lite
Hi Chistoph,

The newer gateware also doubles the buffer size, you can go up to I think 70-80ms if I remember correctly.

73,

Steve
kf7o

Erwin

unread,
Mar 3, 2026, 12:43:27 AM (5 days ago) Mar 3
to Hermes-Lite
Dear Christoph,

By chance I saw your post. Currently, I am experiencing "tx relay chatter" with deskHPSDR. Could you reveal where in the code I can adjust the "PTT hang" and "TX latency" times? I assume this will not be very different in deskHPSDR compared to piHPSDR.

Thanks in advance.

Best ragards,
Erwin



Op woensdag 27 januari 2021 om 20:00:05 UTC+1 schreef "Christoph v. Wüllen":

Darek Zarzycki

unread,
Mar 3, 2026, 1:52:09 AM (5 days ago) Mar 3
to Erwin, Hermes-Lite
I solv this problem by hardware 

--
You received this message because you are subscribed to the Google Groups "Hermes-Lite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hermes-lite...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages