Consumer Electronics Control (CEC) is a feature of HDMI designed to control HDMI connected devices by using only one remote controller; individual CEC enabled devices can command and control each other without user intervention, for up to 15 devices. For example, a TV remote can also control a digital video recorder and a Blu-ray player. It is a single-wire bidirectional serial bus that is based on the CENELEC standard AV.link protocol to perform remote control functions. CEC wiring is mandatory, although implementation of CEC in a product is optional. It was defined in HDMI Specification 1.0 and updated in HDMI 1.2, HDMI 1.2a and HDMI 1.3a (which added timer and audio commands to the bus). USB-to-CEC adapters exist that allow a computer to control CEC-enabled devices. DisplayPort cables can also support CEC through CEC-Tunneling.
Trade names for CEC technology Trade names for CEC include:
CEC commands The following is a list of the most commonly used HDMI-CEC commands:
One Touch Play allows devices to switch the TV to use it as the active source when playback starts System Standby enables users to switch multiple devices to standby mode with the press of one button Preset Transfer transfers the tuner channel setup to another TV set One Touch Record allows users to record whatever is currently being shown on the HDTV screen on a selected recording device Timer Programming allows users to use the electronic program guides (EPGs) that are built into many HDTVs and set-top-boxes to program the timer in recording devices like PVRs and DVRs System Information checks all components for bus addresses and configuration Deck Control allows a component to interrogate and control the operation (play, pause, rewind etc.), of a playback component (Blu-ray or HD DVD player or a Camcorder, etc.) Tuner Control allows a component to control the tuner of another component OSD Display uses the on-screen display (OSD) of the TV set to display text Device Menu Control allows a component to control the menu system of another component by passing through the user interface (UI) commands Routing Control controls the switching of signal sources Remote Control Pass Through allows remote control commands to be passed through to other devices within the system Device OSD Name Transfer transfers the preferred device names to the TV set System Audio Control allows the volume of an AV receiver, integrated amplifier or preamplifier to be controlled using any remote control from a suitably equipped device(s) in the system
Protocol
CEC is a separate electrical signal from the other HDMI signals. This allows a device to disable its high-speed HDMI circuitry in sleep mode, but be woken up by CEC. It is a single shared bus, which is directly connected between all HDMI ports on a device, so it can flow through a device which is completely powered off (not just asleep). The bus is electrically identical to the AV.link protocol, but CEC adds a detailed higher-level message protocol. The bus is an open-collector line, somewhat like I²C, passively pulled up to +3.3 V, and driven low to transmit a bit. Similarities to I²C include:
Low-speed serial bus Open-collector with passive pull-up Speed limited by distributed capacitance Receiver can convert a transmitted 1 bit to a 0 Multiple masters allowed via arbitration: sending a 1 bit and observing a 0 indicates loss Byte-oriented protocol Each byte has an acknowledge bit appended Special start signal Differences from I²C:
… excerpt ends here. Continue reading the full article.