Consumer Electronics Control
   HOME

TheInfoList



OR:

Consumer Electronics Control (CEC) is a feature of
HDMI High-Definition Multimedia Interface (HDMI) is a proprietary audio/video interface for transmitting uncompressed video data and compressed or uncompressed digital audio data from an HDMI-compliant source device, such as a display controlle ...
designed to control HDMI connected devices by using only one
remote controller In electronics, a remote control (also known as a remote or clicker) is an electronic device used to operate another device from a distance, usually wirelessly. In consumer electronics, a remote control can be used to operate devices such as ...
; so, individual CEC enabled devices can command and control each other without user intervention, for up to 15 devices. For example, a
television set A television set or television receiver, more commonly called the television, TV, TV set, telly, tele, or tube, is a device that combines a tuner, display, and loudspeakers, for the purpose of viewing and hearing television broadcasts, or using ...
remote controller can also control a
set-top box A set-top box (STB), also colloquially known as a cable box and historically television decoder, is an information appliance device that generally contains a TV-tuner input and displays output to a television set and an external source of s ...
and a
DVD player A DVD player is a device that plays DVDs produced under both the DVD-Video and DVD-Audio technical standards, two different and incompatible standards. Some DVD players will also play audio CDs. DVD players are connected to a television to ...
. It is a one-wire bidirectional serial bus that is based on the
CENELEC CENELEC (french: Comité Européen de Normalisation Électrotechnique; en, European Committee for Electrotechnical Standardization) is responsible for European standardization in the area of electrical engineering. Together with ETSI (telecommun ...
standard
AV.link AV.link, also known under the trade names nexTViewLink, SmartLink, Q-Link, EasyLink, etc., is a protocol to carry control information between audio-visual devices connected via the SCART (EIA Multiport) connector. It is standardised as CENELEC EN ...
protocol to perform
remote control In electronics, a remote control (also known as a remote or clicker) is an electronic device used to operate another device from a distance, usually wirelessly. In consumer electronics, a remote control can be used to operate devices such ...
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.


Trade names for CEC technology

Trade name A trade name, trading name, or business name, is a pseudonym used by companies that do not operate under their registered company name. The term for this type of alternative name is a "fictitious" business name. Registering the fictitious name w ...
s for CEC are: * 1-Touch Play (
Roku Roku ( ) is a brand of hardware digital media players manufactured by American company Roku, Inc. They offer access to streaming media content from online services. The first Roku model, developed in collaboration with Netflix, was introduced ...
) * Anynet+ (
Samsung The Samsung Group (or simply Samsung) ( ko, 삼성 ) is a South Korean multinational manufacturing conglomerate headquartered in Samsung Town, Seoul, South Korea. It comprises numerous affiliated businesses, most of them united under the ...
) * Aquos Link (
Sharp Sharp or SHARP may refer to: Acronyms * SHARP (helmet ratings) (Safety Helmet Assessment and Rating Programme), a British motorcycle helmet safety rating scheme * Self Help Addiction Recovery Program, a charitable organisation founded in 199 ...
) * BRAVIA Link, BRAVIA Sync, Control for HDMI (
Sony , commonly stylized as SONY, is a Japanese multinational conglomerate corporation headquartered in Minato, Tokyo, Japan. As a major technology company, it operates as one of the world's largest manufacturers of consumer and professional ...
) * CEC (
Hisense Hisense Group is a Chinese multinational major appliance and electronics manufacturer headquartered in Qingdao, Shandong Province, China. Televisions are the main products of Hisense, and it is the largest TV manufacturer in China by market ...
,
Vizio Vizio Inc. (stylized as VIZIO) is an American publicly traded company that designs and sells televisions, sound bars, viewer data, and advertising. The company was founded in 2002 and is based in Irvine, California.Lawton, Christopher, Iwatani ...
) * CE-Link, Regza Link (
Toshiba , commonly known as Toshiba and stylized as TOSHIBA, is a Japanese multinational conglomerate corporation headquartered in Minato, Tokyo, Japan. Its diversified products and services include power, industrial and social infrastructure systems, ...
) * E-link (
AOC Alexandria Ocasio-Cortez (; ; born October 13, 1989), also known by her initials AOC, is an American politician and activist. She has served as the U.S. representative for New York's 14th congressional district since 2019, as a member of ...
) * EasyLink (
Philips Koninklijke Philips N.V. (), commonly shortened to Philips, is a Dutch multinational conglomerate corporation that was founded in Eindhoven in 1891. Since 1997, it has been mostly headquartered in Amsterdam, though the Benelux headquarters is ...
) * Fun-Link (
Funai is a Japanese consumer electronics company headquartered in Daitō, Osaka. Apart from producing its own branded electronic products, it is also an OEM providing assembled televisions and video players/recorders to major corporations such as S ...
, Sylvania, Emerson,
Magnavox Magnavox (Latin for "great voice", stylized as MAGNAVOX) is an American electronics company that since 1974 has been a subsidiary of the Dutch electronics corporation Philips. The predecessor to Magnavox was founded in 1911 by Edwin Pridham and ...
,
Philips Koninklijke Philips N.V. (), commonly shortened to Philips, is a Dutch multinational conglomerate corporation that was founded in Eindhoven in 1891. Since 1997, it has been mostly headquartered in Amsterdam, though the Benelux headquarters is ...
) * HDMI-CEC (
Hitachi () is a Japanese multinational conglomerate corporation headquartered in Chiyoda, Tokyo, Japan. It is the parent company of the Hitachi Group (''Hitachi Gurūpu'') and had formed part of the Nissan ''zaibatsu'' and later DKB Group and Fuyo G ...
) * INlink (
Insignia An insignia () is a sign or mark distinguishing a group, grade, rank, or function. It can be a symbol of personal power or that of an official group or governing body. On its own, an insignia is a sign of a specific or general authority and is ...
, Westinghouse) * Kuro Link ( Pioneer) * NetCommand for HDMI, Realink for HDMI (
Mitsubishi The is a group of autonomous Japanese multinational companies in a variety of industries. Founded by Yatarō Iwasaki in 1870, the Mitsubishi Group historically descended from the Mitsubishi zaibatsu, a unified company which existed from 1870 ...
) * RIHD (Remote Interactive over HDMI) (
Onkyo is a Japanese consumer electronics company, specializing in premium home cinema and audio equipment, including AV receivers, surround sound speakers and portable devices. The word ''Onkyo'' translates as "sound resonance". ''On'' () is from ...
) * RuncoLink (
Runco International Runco International is a subsidiary of Planar Systems, Inc., an American multinational corporation headquartered in Beaverton, Oregon, that manufactures a wide range of display devices. History Runco International was founded by Sam Runco with wif ...
) * SimpLink ( LG) * T-Link (
ITT ITT may refer to: Communication * Infantry-Tank Telephone, a device allowing infantrymen to speak to the occupants of armoured vehicles. Mathematics *Intuitionistic type theory, other name of Martin-Löf Type Theory *Intensional type theory B ...
, Thomson) * VIERA Link, HDAVI Control, EZ-Sync (
Panasonic formerly between 1935 and 2008 and the first incarnation of between 2008 and 2022, is a major Japanese multinational conglomerate corporation, headquartered in Kadoma, Osaka. It was founded by Kōnosuke Matsushita in 1918 as a lightbulb ...
)


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 guide Electronic programming guides (EPGs) and interactive programming guides (IPGs) are menu-based systems that provide users of television, radio and other media applications with continuously updated menus that display scheduling information for ...
s (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 An on-screen display (OSD) is an image superimposed on a screen picture, commonly used by modern television sets, VCRs, and DVD players to display information such as volume, channel, and time. History In the past, most adjustments on TV sets ...
(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 AV.link, also known under the trade names nexTViewLink, SmartLink, Q-Link, EasyLink, etc., is a protocol to carry control information between audio-visual devices connected via the SCART (EIA Multiport) connector. It is standardised as CENELEC EN ...
protocol, but CEC adds a detailed higher-level message protocol. The bus is an
open-collector An open collector is a common type of output found on many integrated circuits (IC), which behaves like a switch that is either connected to ground or disconnected. Instead of outputting a signal of a specific voltage or current, the output sig ...
line, somewhat like
I²C I2C (Inter-Integrated Circuit, ), alternatively known as I2C or IIC, is a synchronous, multi-controller/multi-target (master/slave), packet switched, single-ended, serial communication bus invented in 1982 by Philips Semiconductors. It is wid ...
, 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 Capacitance is the capability of a material object or device to store electric charge. It is measured by the change in charge in response to a difference in electric potential, expressed as the ratio of those quantities. Commonly recognized are ...
* 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: * Single wire rather than two wires * Bits sent with fixed timing rather than separate clock * 1000× lower speed (417 bit/s instead of 400 kbit/s) * Four address bits rather than seven * Defined protocol for dynamic address allocation * Header includes both initiator and recipient address * No special stop signal; instead, each byte has an end of message flag appended * No "read" operations; all data bytes in a frame are sent from transmitter * Instead, "get" requests solicit response frames * Every device must be able to transmit * Detailed specification of meaning of bytes after the address Each bit begins with the line pulled low (falling edge), a delay indicating the bit value, a rising edge, and further delay until the start of the following bit. Normal data bits are long. A logic 1 is held low for , while a logic 0 is held low for . The receiver samples the line at after the falling edge, then begins watching for the following bit after the falling edge. A receiver can convert a transmitted 1 bit to a 0 bit by pulling the line low within 0.35 ms of the falling edge, and holding it until the 0 bit time. The transmitter observes the bus during its own transmissions to detect this condition. This is used to acknowledge a transmission. Each frame begins with a special
start bit Asynchronous serial communication is a form of serial communication in which the communicating endpoints' interfaces are not continuously synchronized by a common clock signal. Instead of a common synchronization signal, the data stream contai ...
, held low for and then allowed to rise, for a total duration of . Any device may send a start bit after observing the bus idle for a suitable number of bit times. (Normally, 5 bit times, but 7 bit times immediately after a successful transmission to facilitate fair sharing of the bus, and 3 bit times between a failed transmission and its retransmission.) This is followed by up to 16 bytes. Each byte consists of ten bits: eight data bits (transmitted msbit-first, in
big-endian In computing, endianness, also known as byte sex, is the order or sequence of bytes of a word of digital data in computer memory. Endianness is primarily expressed as big-endian (BE) or little-endian (LE). A big-endian system stores the most si ...
order), an "end of message" bit (set to 1 after the last byte of a frame), and an "acknowledge" bit. For single-recipient messages, the acknowledge bit operates similarly to I²C: it is transmitted as a 1 bit, and the receiver pulls it down to a 0 bit to acknowledge the byte. For broadcast messages, the acknowledge bit is inverted: it is still transmitted as a 1 bit, but is pulled down to a 0 bit by any receiver which ''rejects'' the byte. The first byte of each CEC frame is a header containing the 4-bit source and destination addresses. If the addressed destination exists, it acknowledges the byte. A frame consisting of nothing but the header is a
ping Ping may refer to: Arts and entertainment Fictional characters * Ping, a domesticated Chinese duck in the illustrated book '' The Story about Ping'', first published in 1933 * Ping, a minor character in ''Seinfeld'', an NBC sitcom * Ping, a c ...
which simply checks for the presence of another device. The address 15 (1111) is used for the broadcast address (as a destination) and unregistered devices (as a source) which have not yet chosen a different address. Some devices do not need to receive non-broadcast messages and so may use address 15 permanently, notably remote control receivers and HDMI switches. Devices which need to receive addressed messages need their own address. A device obtains an address by attempting to ping it. If the ping is unacknowledged, the device claims it. If the ping is acknowledged, the device tries another address. The second byte is an opcode which specifies the operation to be performed, and the number and meaning of following parameter bytes. For example, a user press on a remote control will generate a 3-byte frame: a header byte, a opcode (0x44), and an operand byte identifying the button. Including the initial idle time and extra-long start bit, this takes 88.5 ms (37 bit times). A later opcode (0x45) has no operands.


See also

*
Consumer IR Consumer IR, consumer infrared, or CIR is a class of devices employing the infrared portion of the electromagnetic spectrum for wireless communications. CIR ports are commonly found in consumer electronics devices such as television remote contr ...
*
Media controls In digital electronics, analogue electronics and entertainment, the user interface may include media controls or player controls, to enact and change or adjust the process of video playback, audio playback, and alike. These controls are commonl ...


References


External links

* HDMI.org FAQ entry for CEC
USB CEC adapter communication library
{{Digital audio and video protocols Electronics standards Film and video technology Remote control Television technology Video signal