Hi All,
I've tested the new tuner enable on Quisk 4.1.76 and it is working. I'd like to assign bit 17 as the bypass tuner bit. Bit 17 is originally assigned as the "Metis/Penelope or PennyLane Mic/Line-in (0 = mic, 1 = Line-in)" selection.If there are no objections, I will add it to the protocol.
In summary, the behavior of Quisk that I have tested as working is:
* Enable the ATU autotune during spot via Config-><Radio Name>->Antenna tuner set to Tune.
* For spot levels greater than 0, the tune command will be sent to the tuner during spot. Usually you need power levels close to 5W to trigger the tuner.
* If the external tuner succeeds, you will continue to see the TX spot signal when full duplex is enabled and should see a reasonable SWR
* If the external tuner fails (sends back failure), you will no longer see the TX spot signal in full duplex after several seconds, but still must turn spot off via the Quisk spot button.
* For spot levels equal to 0, the tune bypass command will be sent to the tuner during spot. You should see a corresponding increase in signal bandwidth on the bandscope as well as a reduction in current draw as all relays are disengaged.
Here are my tested changes to Quisk to enable tuner bypass. Ideally we should not send a command to the HL2 for each call of SetControlBit, but merge all changes to address 0x09 into a single command.
def OnSpot(self, level):
# level is -1 for Spot button Off; else the Spot level 0 to 1000.
if level >= 0 and self.conf.hermes_antenna_tuner == "Tune":
self.SetControlBit(0x09, 20, 1)
if level == 0: self.SetControlBit(0x09, 17, 1) ## Bypass tuner if bit 17 set
if DEBUG: print("OnSpot antenna tuner: On")
else:
self.SetControlBit(0x09, 20, 0)
self.SetControlBit(0x09, 17, 0)
if DEBUG: print("OnSpot antenna tuner: Off")
73,
Steve
kf7o