Zektor HDMI5 User Manual

Home theater solutions digital video switch
Hide thumbs Also See for HDMI5:

Advertisement

Quick Links

Home Theater Solutions
HDMI5
1
2
3
4
5
SEL
A1
A2
(Supplement to the HDMI5 User Guide)
Digital Video Switch
Rev 1
06/28/2007

Advertisement

Table of Contents
loading

Summary of Contents for Zektor HDMI5

  • Page 1 Home Theater Solutions HDMI5 (Supplement to the HDMI5 User Guide) Digital Video Switch Rev 1 06/28/2007...
  • Page 2: Table Of Contents

    9 8 7 6 The HDMI5 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- HDMI5 Component Video Switch HDMI5 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 HDMI5 Component Video Switch HDMI5 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 HDMI5 Component Video Switch HDMI5 Component Video Switch...
  • Page 9: Hdmi5 Command Ref

    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 HDMI5. when the HDMI5 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 HDMI5 new IR codes over the serial port. (See the “Set Learnable IR Command Codes” command).
  • Page 11: Set Learnable Ir Command Codes

    HDMI5 Command Ref. (Cont’d) HDMI5 Command Ref. (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 HDMI5 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

    When issue by the controller, it acts like an Exit key, used to exit In the Master / Slave mode, only the last 16 button presses will be logged between queries, setup modes, similar to pressing the Power Button, but it will be ignored if the HDMI5 is not in after that, new button presses overwrite the old ones in the internal buffer and will be lost to the the setup mode.
  • Page 13: Control Settings

    “IR ?” command. Disabling the IR sensor (IRS) and enabling IR control (IRE), allows the HDMI5 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 HDMI5 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 HDMI5 allows control over the following states:...
  • Page 15: Switching Delays

    The four modes are: Response String: Mode 1 = Toggle Mode. =RL rly_n,state Mode 2 = Momentary Mode. Mode 3 = Channel Select. Mode 4 = Channel Select Momentary Mode. 26 HDMI5 Component Video Switch HDMI5 Component Video Switch...
  • Page 16 The following examples set Relay ‘1’ to the four different modes: RLS 1,0,,0,0 Set to “Mode 0”, ‘timing’ values are ignored RLS 1,1,time,0,0 Set to “Mode 1”, time not set to 0 RLS 1,0,time,vid_msk,aud_msk Set to “Mode 3”, at least one mask not set to 0 RLS 1,1,time,vid_msk,aud_msk Set to “Mode 4”, at least one mask not set to 0 28 HDMI5 Component Video Switch HDMI5 Component Video Switch...
  • Page 17 Z E K T O R 1267 Danielson Ct Suite 01 Poway, CA 206 88•78•820 www.zektor.com...

Table of Contents