--
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/af8472df-a649-4b16-b932-aa79bb6dc977n%40googlegroups.com.
Hi Reid and Christoff,
Thanks for the input, sorry to be a bit long in getting back to this.
What I haven't been able to find is a definition of how the HL2 handles this state in the protocol. As I said in the first post, the version I am using (bit old but ...) certainly stops the RF out, but Quisk doesn't seem to react in any way. Maybe I need to get a protocol analyser SW to see whats going on.
Do either of you know if there is any definition of how HL2 handles the bits in this case ?
Regarding your suggestion Reid, that is more or less what I am doing in my hardware/software interface card. I designed this card a couple of years back, it has an Arduino Micro on it, plus all the interface circuitry for 6 half-duplex + 1 full-duplex transverters plus optical encoder (which has a HID mouse wheel interface to the SDR program) and lots of I/O to various other devices. It is monitoring the state of the Rb Oscillator reference and PLL locked state, and feedback from each transverter as to its operational state when in transmit mode. It immediately turns off the Tx command to the selected transverter when an error is noticed. The card is bigger than the HL2 !
By the way maybe I can't find the right info., but does Thetis run on Linux ? I can only see info about Windows usage. My SW must run on Raspberry Pi environment, its integrated into my equipment.
To view this discussion on the web visit https://groups.google.com/d/msgid/hermes-lite/9fe36be8-b2b5-479c-beee-69b06d588678n%40googlegroups.com.
Thanks for the input regarding the CN8 input and confirmation that there is no way to get this information externally through the current implementation in the HL2. I looked at the two references you gave me, but I have to say that I have no experience in Verilog RTL or any other way of programming FPGA's.
I guess you are talking about the bits that are assembled (in line 472) to report status as in the previous answer that Christof mentioned ( C&C packets C0=0 C1 bit 2,3,4,5). I will look at this a bit more over the next few days, and at least try to understand the correspondence between the two.
Hamish, OH2GAQHamish,I have been studying the HL2 code and Verilog RTL , and can answer some of your questions, confirming Reid’s answer.CN8 connects to pin 25 of the FPGA, where the signal is known as io_tx_inhibit. This signal is debounced and reappears as ext_txinhibit, which is only used in one place in the code, to inhibit the Tx, here:https://github.com/softerhardware/Hermes-Lite2/blob/0a6e07c37a23cd3a8721b6c3089e28721c378883/gateware/rtl/control.v#L357So I can say that no SDR software is able to read the state of this input, because the signal isn’t used elsewhere.Note that in the absence of any of three inhibit signals, the Tx is enabled either by protocol requirements (Tx data to send) or by PTT. I haven’t chased where the other two inhibit signals come from.The synchronous response to a command received by the FPGA is assembled here, so perhaps a change as simple as replacing one of the zero’s by ext_txinhibit would allow SDR software to read the state of CN8:Clifford Heath.On 21 Nov 2023, at 2:57 am, 'Hamish Kellock OH2GAQ' via Hermes-Lite <herme...@googlegroups.com> wrote:I have been investigating how the Tx Inhibit input (CN8) works on the HL2 board, and how it is reflected in Quisk SDR SW (version 4.1.93). When CN8 is grounded, the RF output is inhibited from the HL2, but there does not seem to be any indication in the Quisk screen that this has happened. When the ground to CN8 is removed, the RF returns.
Does anybody know if any of the popular SDR software suites supporting the HL2 read the status of this CN8 / Inhibit Transmit (or any other external logic input), and then internally move the PTT state from Transmit to Receive ? I also tried to find reference to this in the Protocol document on the Wiki, and it didn't seem to be covered, so there may be no way for the SDR SW to find the state of this input.
The reason I ask this is that in a complete system (in my case with microwave transverters) it may be necessary to protect the (very expensive) high power microwave transmitter parts should high VSWR or RF relay failure etc. occur. In my case this is done anyway, completely independently of the low power transceiver function, but it would be nice to get feedback that a failure had occurred on the SDR screen as well, and for the PTT Transmit status to be de-activated in the SDR SW or other hi-level SW.(Using a hardware generated PTT command fed to the HL2 via the CN1 pin 10 is fine, as the external controller can provide this functionality so that an external PTT input is inhibited / dropped should such an error occur. But it still leaves an internally (in the SW by screen button push) generated PTT potentially showing the incorrect state. Makes it potentially incomplete for remote operation).Hamish, OH2GAQ--
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/af8472df-a649-4b16-b932-aa79bb6dc977n%40googlegroups.com.--
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/899e0518-82e9-4bf5-b043-79da347ec1e9n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hermes-lite/63018AFA-10D0-4BCA-9698-277327F0F7DB%40gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hermes-lite/3edb9e7e-2f77-4718-a4d0-6a47c6c85f9cn%40googlegroups.com.
As a VHF/microwave operator, I normally associate TXInhibit with sequencing. Prohibit RF transmission until all the downstream T/R related switching has completed through a chain of external transverter, amp, and remote mounted LNA (may leverage indicator contacts) to guarantee I do not blow up a mast mounted LNA for example. This approach lets PTT flow through the whole system, RF only flowing after all has settled. In this usage, TxInhibit is a just normal brief signal holding off RF. This can be easier than trying to insert timing into the PTT chain and can help ensure a PTT chain failure does not cause damage.
To view this discussion on the web visit https://groups.google.com/d/msgid/hermes-lite/088fcb5e-76b2-4148-b75a-45f801914675n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hermes-lite/088fcb5e-76b2-4148-b75a-45f801914675n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hermes-lite/MW4PR10MB5728B9B3EB06380678F248EEF6BFA%40MW4PR10MB5728.namprd10.prod.outlook.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hermes-lite/4e9967d2-4415-410b-b27c-026602a31519%40gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hermes-lite/f60f75c7-89f6-45a3-b4ca-dfa0bfd35a32n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hermes-lite/CAPnXPY1Z0o_s2RkhFd2AvfRYKaQcQH7yYEWRXQEcys%2B3qz7F%3DA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hermes-lite/f60f75c7-89f6-45a3-b4ca-dfa0bfd35a32n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hermes-lite/8dd3b432-52e6-467b-a7cf-30bde420578dn%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hermes-lite/CAD3moXwFCrHVO0mgUj7JB7juL1WzpF86n%3DKJMzht04tYbtXBFw%40mail.gmail.com.
If you need TxInhibit to protect your hardware, forget about handling it in the SDR program, but rather have the protection built into the FPGA.
On 29 Nov 2023, at 5:09 am, 'Hamish Kellock OH2GAQ' via Hermes-Lite <herme...@googlegroups.com> wrote:I guess it's clear what I was asking about and proposing now ? I think Clifford described the situation pretty well.
TxInhibit is (in my mind) a separate signal from PTT and prevents RF from flowing and does not interfere directly with PTT signaling. When conditions are right (externally decided) the TXInhibit will be released. If PTT was applied, and all devices downstream successfully changed over to the TX state, and any other items in the TxInhibit chain (PLL Lock is popular) are good, then when the TxInhibit is released and PTT is still applied, RF flows and a transmitted signal is radiated.
The HL2 FPGA would do 2 things here. Stop RF signal when TxInhibit is applied and notify the SDR app that TxInhibit is active.
The SDR App upon receiving the TxInhibit signal for the HL2 would at minimum simply light and indicator. It has no way of knowing why the TxInhibit signal is active, could be normal sequencing or a brief or long term fault. If the operator sees this indicator on for too long, then the op would release PTT (if on) and need to investigate the equipment for the reason it is on and resolve it. In general, leaving the PTT on with no RF flowing will likely cause no harm, assuming no major TX mode catastrophe and magic smoke.
Several radios on the market provide good examples of TxInhibit including the FT-817 and K3. I do not think any of these radios indicate TxInhibit is applied, they just stop RF flowing while it is active. For me, my FT-817 driving a microwave transverter is held in TxInhibit for every R-T transition until all is lined up. The circuitry inside the transverter is responsible for aggregating the causes such as relay states, amp negative bias power interlock, and PLL lock state.
In summary: The SDR app does nothing but optionally light an indicator. The operator uses that indicator to make a decision about looking at the equipment and/or releasing PTT if it is ON. The FPGA just stops RF, leaves PTT alone. A nice to have: The HL2 would light a TXInhibit LED. No radio I have owned does this though, my Xvtr does instead as the source of the signal.
From: herme...@googlegroups.com <herme...@googlegroups.com>
On Behalf Of Clifford Heath
Sent: Tuesday, November 28, 2023 3:46 PM
To: Hamish Kellock OH2GAQ <hamish....@pp.inet.fi>
Cc: Hermes-Lite <herme...@googlegroups.com>
Subject: Re: Tx Inhibit input (CN8) on HL2
On 29 Nov 2023, at 5:09 am, 'Hamish Kellock OH2GAQ' via Hermes-Lite <herme...@googlegroups.com> wrote:
--
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/1C1C14F1-7975-43AC-931A-DA9D55CB4895%40gmail.com.
--
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/2175f3da-84d5-4d83-a732-b23cc751eb7fn%40googlegroups.com.
I have updated the gateware in my HL2 to have the test SW released by Clifford last night. I made a very short functionality test (checking Rx and Tx operation) with both Quisk and your test version of pihpsdr (with the Tx Inhibit Input disabled) and both seem to work fine.
However when I enable the operation of the Tx
Inhibit Input in pihpsdr, the Red message "TX Inhibit" immediately
appears in the Rx screen area (when the Tx Inhibit input on the HL2 is not low), and the MOX button does not operate. If I bring the Tx Inhibit input on the HL2 to the low state,
the Red "Tx Inhibit" message is removed from the Rx screen area and
the MOX button operates as expected. Removing the low input from the Tx
Inhibit input on the HL2 results in the pihpsdr dropping out of transmit
mode.
Conclusion: There is a mismatch in the assumption of the active state of the Tx Inhibit bit sent from the HL2 and the pihpsdr SW (I couldn't see anywhere to select the active state in pihpsdr, only the place to enable the function).
Apart from this minor glitch, it would seem that the operation is exactly as I would hope.
Quickfix would be to invert how pihpsdr interprets the bit from the HL2.
( Betterfix would be to make the state selectable.)
(of course the gateware can be changed rather than pihpsdr !)
73,
Hamish, OH2GAQ
To view this discussion on the web visit https://groups.google.com/d/msgid/hermes-lite/A061A3CB-5599-4A57-9F03-8D9E5AD4610A%40gmail.com.
RADDR | RDATA | Description |
---|---|---|
0x00 | [25] | Tx Inhibited (Active Low) |
0x00 | [24] | RF ADC Overload (Active High) |
0x00 | [15] | Under/overflow Recovery** |
0x00 | [14:8] | TX IQ FIFO Count MSBs |
0x00 | [7:0] | Firmware Version |
0x01 | [31:16] | Temperature |
0x01 | [15:0] | Forward Power |
0x02 | [31:16] | Reverse Power |
0x02 | [15:0] | Current |
To view this discussion on the web visit https://groups.google.com/d/msgid/hermes-lite/9bafc2e2-9300-4ca5-a565-a2f319d4d55an%40googlegroups.com.
Does PTT stay asserted while TxInhibit is active? This would be desirable for a brief time to let a device chain settle, then releasing TxInhibit permits the RF to flow. This requires RF flow (I/Q data not 0) and PTT states to be separate things. That may not be how SDR apps are built today. I think MOX controls both TX data and PTT in same action inside the app.
From: 'Hamish Kellock OH2GAQ' via Hermes-Lite <herme...@googlegroups.com>
Sent: Thursday, December 7, 2023 9:07 AM
To: Hermes-Lite <herme...@googlegroups.com>
Subject: Re: Tx Inhibit input (CN8) on HL2
Hi,
To view this discussion on the web visit https://groups.google.com/d/msgid/hermes-lite/c79249fb-0492-4e06-9389-ccaf4fa40e60n%40googlegroups.com.
--
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/43278bbf-ac5c-43d3-b8f8-d8b1f0ff7bc5n%40googlegroups.com.