lulala
Posts: 2
Joined: Sat Aug 20, 2016 2:40 am

How to fix RaspberryPi HDMI-DDC/CEC issue while keeping ESD

Sat Nov 12, 2016 6:13 am

The RaspberryPi (Type B, all revisions before B+) shows a more or less well known issue with the CEC/DDC of connected HDMI devices. When powered down CEC between the connected TV set and other devices fails to work.

The schematics, pages 2 respectively, show ESD protection by pairs of dual-rail clamping diodes (BAV99). Guesses are that the clamping to +5V0_HDMI (that is essentially +5V0 supply voltage of the Pi decoupled by a BAT54) at the powerless RaspberryPi pulls down SCL and SDA lines of the serial interface.

There are discussions buzzing around to remove the clamping diodes to get CEC working again. Obviously this also removes all ESD protection from those ports. Some people report issues with erratic behaviour due to suspected static effects.

After checking some other protective circuits of HDMI like the TI TPD5S115 (warning opens *.pdf) or the TI TPD12S016 (same warning) my question would be how to best fix the issue while maintaining a "certain degree" of ESD protection. The TI design shows just clamping to ground and the mandatory pull-up resistor (1K75 for SDA/SCL) and a pull-up resistor for the CEC line (26k at the connector, 10k at the controller).

Variant I:

Besides completely removing the BAV99's one could just disconnect the upper half, keeping clamping to GND intact. A low-resistance connection to +5V0 is there anyway for SDA/SCL. For the CEC line I think of adding a pull-up resistor too (around 10k to 27k). So the idea being to cut open the connections of the cathodes of the upper halfes of D13 through 15 and +5V0_HDMI and adding one pull-up resistor to D13 and +5V0_HDMI.

Variant II:

Dedicated HDMI control line ESD protection circuits are also available, such as the ST HDMI05-CL01F3 (warning opens *.pdf) and ON Semi ESD5384 (same warning) with the later actually being incorporated in the new RaspberryPi B+ designs. While these parts may be hard to come by and complicated to be made fit the given PCB, the ideas could still be used for the relevant data lines using discrete parts (essentially zener diodes and resistors). The benefit of this solution would be a symmetrical clipping.

Any issues to be expected with those solutions? Any better ideas or improvements?
Image
Figure: HDMI circuit of RaspberryPi (top) and TI TPD5S115 protective internals (bottom).
Image
Figure: HDMI control line ESD protection circuits HDMI05-CL01F3(top) and ESD5384 (bottom).

Return to “Beginners”