Zektor HDVI5 User Manual

Home theater switches, digital video / component video / multichannel audio high definition component video switch
Hide thumbs Also See for HDVI5:

Advertisement

Quick Links

Z E K T O R
H o m e T he at e r Swi tc he s
Digital Video / Component Video / Multichannel Audio
HDVI5
(Supplement to the HDVI5 User Guide)
1
2
3
4
5
SEL
A1
A2
High Definition Component Video Switch
Rev 2
08/14/2006

Advertisement

Table of Contents
loading

Summary of Contents for Zektor HDVI5

  • Page 1 Z E K T O R H o m e T he at e r Swi tc he s Digital Video / Component Video / Multichannel Audio HDVI5 (Supplement to the HDVI5 User Guide) High Definition Component Video Switch Rev 2 08/14/2006...
  • Page 2: Table Of Contents

    9 8 7 6 The HDVI5 K.I.S.S.™ Command Reference....... 14 Error Response Codes .
  • Page 3: Keep It Simple Serialâ„¢)

    P 1<CR> An example of a command that uses a bitmapped parameter is the CVS4’s “XS settings<CR>” will turn on the power of most Zektor devices. The spaces between the ‘P’ and ‘1’ are optional. command, which is defined like this: Since commands consist of alpha characters only, there can never be a ‘P1’ command and ‘P1’...
  • Page 4: Command Checksums And Crc-8 Checkcodes

    XS +4<CR> This is useful when communications with the Zektor device is being initialized and the state of the device is unknown. An <ESC> will clear the command buffer and reset all checksums and The will set the ‘IR’ bit, and have no affect on the others, and the new “XS” value would be: 13 CRC-8 checkcodes.
  • Page 5: Response String Checksums And Crc-8 Checkcodes

    Acknowledgement Response, or an Error Response, followed by (if a query command LI?<CR> was issued) the Query Response. For instance: +<CR><LF> LI ?<CR> Sent: Controller issues a query command. =LI 2,13;239<CR><LF> +<CR><LF> Received: Acknowledgment (or possible Error) Response. =LI 2,13<CR><LF> Received: Query Response. In the Master / Slave mode, the Acknowledgement or Error Response will always be the next re- HDVI5 Component Video Switch HDVI5 Component Video Switch...
  • Page 6: The Asynchronous Mode Of Operation

    Query Response internally (by looking for the ‘=’ character), and only passing through non-query responses. By using such a routine the above scenario becomes: LI?<CR> Sent: Controller issues command +<CR><LF> Received: Acknowledgement (or Error) Response HDVI5 Component Video Switch HDVI5 Component Video Switch...
  • Page 7: Checksums And Crc-8'S

    Checksums and CRC-8’s (Cont’d) For comparison, here are the same examples and their associated CRC-8 checkcodes: Checksums and CRC-8 Checkcodes Defined LI 2,3:16 The use of a checksums or CRC-8 checkcodes can increase the reliability of communications LI 3,2:114 between the controller and any Zektor device. IL 2,3:22 A checksum is calculated by using an unsigned byte as an accumulator, and adding together all KJ 2,3:145 the ASCII characters of a command string, up to and including the ‘;’ character, while ignoring The CRC-8 checkcode easily catches these errors.
  • Page 8: Source Code Example Of Calculating A Crc-8 Checkcode

    // polynomial mask printf( "%s%c%u", TestString, token, (unsigned char)crc8); #define CRC8_INIT 0xFF // initial value return (0); void crcByte( unsigned char *crc8, char cc) unsigned char lcrc8; // local copy of CRC-8 value int bitcount; lcrc8 = *crc8; // get local copy of CRC-8 // update CRC-8 with 8 new bits lcrc8 ^= cc; // test each bit against CRC-8 for (bitcount = 0; bitcount < 8; bitcount++) // if resultant bit was a 1, shift and xor in mask // else, just shift if (lcrc8 & 0x01) lcrc8 = ((lcrc8 >> 1) & 0x7F) ^ CRC8_POLY; else lcrc8 = (lcrc8 >> 1) & 0x7F; *crc8 = lcrc8; // return new CRC8 12 HDVI5 Component Video Switch HDVI5 Component Video Switch...
  • Page 9: Hdvi5 Command Reference

    Error 5: The number of parameters given does not match the number allowed by this command. Power Control Error 6: To prevent conflicts between the front panel Setup Mode and the serial port settings, Turn on / off, or toggle the power state of the HDVI5. when the HDVI5 is in the Setup Mode, many parameters become read only and any attempt at P 0 writing them will return Error 6. The “Front Panel Button Emulation” command with button code Turn off power.
  • Page 10: Output Mapping

    The uses for this command are two fold: Query for current settings. 1) The value returned from this command are the same values used to teach the HDVI5 new IR codes over the serial port. (See the “Set Learnable IR Command Codes” command).
  • Page 11: Set Learnable Ir Command Codes

    HDVI5 Command Reference (Cont’d) HDVI5 Command Reference (Cont’d) keep the size of the IR response small, this command sends the 72 bit IR code as an 18 digit The value ‘ircmd’ refers to the IR commands that the HDVI5 is able to learn, they are: hexadecimal value. IRCmd Description IR ? Query for the IR code of the last IR command received.
  • Page 12: Query Status

    Power Button, but it will be ignored if the HDVI5 is not in the controller.
  • Page 13: Control Settings

    “IR ?” command. Disabling the IR sensor (IRS) and enabling IR control (IRE), allows the HDVI5 to respond to IR signals through the IR jack, any signal received by the IR sensor will be This command allows control over the following: ignored.
  • Page 14: Extended Control Settings

    Response String: Extended Control Settings =XE settings In the Asynchronous mode of operation, the HDVI5 will transmit state changes as they occur. This command allows individual control over which state changes will be sent. Where ‘settings’ is a bitmapped parameter: This HDVI5 allows control over the following states:...
  • Page 15: Switching Delays

    HDVI5 Command Reference (Cont’d) HDVI5 Command Reference (Cont’d) ‘clt’ is a bitmapped parameter, mapped as follows: Where: Decimal Value +128 +64 +32 +16 rly_n = Relay number (1 or 2). Bit Position state = State of relay (0=Off, 1=On, 2=Toggle). Name DJT HEN VEN = If present, settings are backed up in EEPROM.
  • Page 16 HDVI5 Command Reference (Cont’d) HDVI5 Command Reference (Cont’d) Mode 1 Relays toggle when activated by button press, or RS-232 command. Selecting inputs has no affect on the relays, and any ‘time’ value given is ignored. Mode 2 Relays stay on for a momentary amount of time when activated by a button press, or RS-232 command. The value ‘time’ indicates the amount of time the relay stays on (in 15.626ms incre-...
  • Page 17 Z E K T O R Z E K T O R 126 Danielson Ct Suite 401 Poway, CA 2064 88•48•820 www.zektor.com...

Table of Contents