TTY-Connect Firmware (Part 2)
Monday, 13 October 2008Data Regeneration Since the ports are connected via sampling software, data-regeneration is inherent in the design, That is, incoming codes are sampled and interpreted, and outgoing codes are generated with perfect framing and bit times (within the 250-us resolution of the software's sampling mechanism). Programmable Features All customizable features in TTY-Connect are stored in non-volatile memory (eeprom). This includes the current connection (TU to HV1 loop, PC to LV loop...), current port parameters (60-wpm...), selcal sequences, which, if any, selcals are enabled, etc. In addition to the primary connection features of TTY-Connect, there are two categories of programmable options: General-Options and RX-Stream-Options. General-Options These general options are applied regardless of the baudot-specific RX-Stream-Options (discussed next). These features may be independently enabled/disabled. The factory setting is disabled. 1: Unconnected-TTY-Loops-Mark: If enabled, tty loops NOT involved in the current connection will be set to the mark state (loop current flowing). Enable this if you need to provide loop current for an attached tty machine; disable this to minimize power/heat in unused loop circuitry. 2: TU-Data-Inversion: If enabled, will invert the TU data for connection to TUs having MIL-188 ports. Standard RS-232 signals use mark < -3V, and space > +3V. Some TUs use MIL-188 signals, in which case mark = +5V, and space = -5V. 3: Auto-CRLF-RX-Insertion, if enabled: a- After a CR is detected, reaching a max char trigger count (default: 72) forces return/linefeed string. b- For a baudot connection (modes 1,4,6), the default string to be inserted is CR CR LF LTRS LTRS c- For an ascii connection (modes 2,5), the default string to be inserted is CR LF NUL NUL NUL 4: Motor-Power-Mode provides Autostart or Selcal motor powering. All modes are valid for baudot operation, but only a subset of modes are valid for ascii use. The modes are discussed in the following section. 5: TX-Diddle Insertion: If enabled, constantly send LTRS chars when TX stream is idle (modes 1,4,6).