blog-logo

Tag Archives: CEC

HDMI and CEC, a guided tour

June 3, 2010 Uncategorized CEC, DDC, HDMI, kwikwai Certified Executive Chiefs

In a nutshell, an HDMI cable, through its 19 pins, carries:

  • On pins 1 to 12, audio and video (A/V) using 4 TMDS channels
  • On pin 13, the Consumer Electronic Control (CEC) serial connection
  • On pin 14, the HDMI Ethernet Channel (HEC), a 100Mbps Ethernet connection
  • On pins 15 and 16, the Display Data Channel (DDC), an I²C bus
  • Stuff (5V power, hot plug detection, grounds, etc.) on remaining pins

Display Data Channel

Believed by some to be the source of all evil, the Display Data Channel is a point to point connection between each device pair which allows the “HDMI source” to read the Extended Extended Display Identification Data (E-EDID) describing the capabilities of the “HDMI sink”.

In simpler terms, the DVD player (the source) figures out the resolution of the TV (the sink) by “downloading“ some information from the TV. DDC is the standard describing the “download” protocol and E-EDID the one describing the “file” format.

This may all sound new and exciting but in fact the first versions of these standards were published more than 15 years ago by the Video Electronics Standards Association (VESA). Plain old analog VGA connectors already carry a DDC channel, which is used by the graphics card to “auto-configure“ itself in most cases to the monitor resolution and refresh rate. It is also used by DVI.

The EDID standard allows for private extensions and one is defined in HDMI (hence the “Enhanced-EDID” moniker). The presence of this specific extension is in fact used by HDMI sources to detect if the sink is HDMI or DVI.

Consumer Electronic Control

Contrary to DDC which is point to point, CEC is shared between all devices in the HDMI “tree” (so it’s a bus), and should be interconnected between all inputs and one output of all devices, even those not implementing CEC.

Messages are exchanged over CEC using logical addresses (“TV”, “Player”, etc.) and physical addresses (obtained from a DDC-based sing and dance).

Features

CEC is well suited to home installations. Some very nice features are a single button press away:

  • System Standby: switches all devices to standby mode.
  • One Touch Play: allows a device to be played and become the active source.
  • One Touch Record: start a recording of the source that is being displayed on the TV
  • System Audio Control : allows the volume of an AV receiver or amplifier to be controlled using the remote control of any device

In theory, this should all work seamlessly across devices and brands, in a joyous worldwide universal harmony. In practice, there are discordances, some of them kwikwai can help diagnose and/or alleviate. More on this in future posts.

Home automation applications

In addition to the features above (which an HA system can exploit), the CEC spec defines some additional messages that could prove useful:

  • Status: query for the power status of a device
  • Timer Programming: program the timer in recording devices
  • OSD Display: transfer a text string to the TV for On Screen Display

Arguably, some of these are very difficult to provide reliably with infrared…

Stay tuned for more in future posts!

In the meantime, the reader with time to spare is encouraged to peruse the complete HDMI 1.3a specification, which is available for free on the HDMI website, once registered (and the source of the 2 diagrams above). The 1.4 spec is currently restricted to HDMI adopters, that is, paying members of the club.

QUICK-WHAT?

May 27, 2010 Open to discussion bridge, CEC, ethernet, HDMI, kwikwai, serial, usb Certified Executive Chiefs

It’s kwikwai. And in a single sentence, kwikwai augments the capabilities of HDMI CEC, the control channel that lurks into each and every HDMI connection out there.

Confused?

Some background

Similarly to what happened between Blu-ray and HD DVD, a strong leader emerged from the fierce battles between DVI, IEEE 1394 (a.k.a. FireWire), DisplayPort and HDMI. The force was with HDMI, which became the de-facto consumer high-definition digital interconnect.

For audio and video, things are working almost as well today between vendors with HDMI as they did during the golden age of RCA connectors and component connections.

For the CEC control channel however, things are less rosy. For one its support is not mandated by the standard, it’s only optional – so not all HDMI connections are CEC capable.

Second, marketers have seized the concept for each brand benefit. CE manufacturers have extended the standard with proprietary extensions and branded the result with some snappy brand-specific name (BRAVIA Theater, Viera Link, …). The extensions often arbitrarily limit interoperability and the naming obscures the fact some level of compatibility is probable  – but strongly denied in the manual.

How we fix the problem

The intention of kwikwai is to provide a device that:

  1. Allows to read the CEC messages exchanged between the connected AV devices. Now the home automation system can detect the TV is turned on or off and react, maybe by dimming lights.
  2. Allows to inject messages in the system from the outside, to enable, for example, the home automation system to turn off the TV via the HDMI CEC.
  3. Long term, fixes some of the incompatibility problems between devices, by enabling, say, to replace a message by another to make the Sony TV understand the Panasonic DVD player.

That’s the idea. It’s a bridge between HDMI CEC and home automation systems. Hence it’s name: movies, bridge, river…

Now, we’re not sure this helps making the world better, but at least it may help improve our living rooms !

Stay tuned.

  • Newer posts
June 2025
M T W T F S S
 1
2345678
9101112131415
16171819202122
23242526272829
30  
« Jun    
Back to kwikwai. © 2025 INCYMA, all rights reserved. Powered by WordPress and based on a customized version of the Bootpress theme