(See at the bottom firmware gurus: I think the "CWX" condition in the
firmware needs correction)
OK, in addition, I added debug code to old_protocol.c that logs
all *changes* in the PTT/DASH/DOT states *received* from the HL2
and the MOX state *sent* to the HL2.
a) mode=SSB
b) ground PTT connector of Jack
==> PTT bit goes HIGH, pihpsdr goes TX, MOX bit set
c) ground CW connector of Jack
==> CW carrrier sent, DOT bit goes high
d) disconnet CW connector of Jack
==> CW carrier stops (!), DOT bit goes low, pihpsdr stays TX
e) disconnect PTT connector of Jack
==> PTT goes low, pihpsdr goes RX, MOX bit cleared
This is as it should be. I should add that I have no Mic connected for the
test, so there was "silence". Possibly the least significant bit of
the IQ samples are interpreted as CWX?
To check this, I repeat the experiment but use a "local microphone"
that is actually connected and picks up the background noise in my lab.
a) go SSB
b) go "MOX" manually. A very weak signal is transmitted (no deflection
on the dummy load/watt meter), but when I whistle into the
microphone, I can see the watt meter needle moving
c) remove manual mox
d) ground PTT input
==> PTT bit goes HIGH, pihpsdr goes TX, MOX bit set
e) ground CW input
==> CW carrier sent
e) release CW input
==> CW carrier stays although DOT becomes LOW
f) disconnect MOX input
==> CW carrier stays, PTT bit stays high
g) hit MOX manually
==> back to normal operation
So the diagnosis is clear: When triggering CW, the HL2 goes to "CWX" mode and keeps interpreting the
least significant IQ bits as the key-up/down info. Note this happens no matter if the "internal CW"
bit (C1 bit 0 when C0=0001 111x) is set or not (I added test code).
So your "constant carrier" is caused by mis-interpreting the Mic noise floor as CWX data.
If this problem does not occur with other radios, perhaps the firmware should do the
following
if (cw_internal bit set) {
look at CWX
} else {
// do noting
}
Yours,
Christoph
> To view this discussion on the web visit
https://groups.google.com/d/msgid/hermes-lite/2902aa34-ab20-43ca-90fe-e57056f4ffa5n%40googlegroups.com.