Fill HDMI CEC electrical from HDMI Specification 1.3 (2.79.0).

27 kΩ pull-up, VOL/VOH, 200 pF device / 700 pF cable, 5 Ω interconnect. TMDS/FRL Zdiff stays UNKNOWN.
This commit is contained in:
2026-09-22 18:07:52 +02:00
parent d32af5627a
commit 25aa608052
6 changed files with 889 additions and 148 deletions
+4
View File
@@ -218,6 +218,10 @@ def test_ethernet_hdmi_skeletons_unknown_needed_document():
assert all(p.incomplete for p in ifaces)
for p in ifaces:
for c in p.constraints:
if lid.startswith("hdmi") and (
c.parameter == "cec" or c.parameter.startswith("cec_")
):
continue
assert c.value is None
assert c.value_kind != "NUMERIC"
if c.value_kind in {"UNKNOWN", "MISSING_SOURCE"}:
+23
View File
@@ -152,6 +152,29 @@ def test_dvi_not_hdmi_numeric_from_dvi_10():
hdmi = next(p for p in cat.physical_interfaces if p.id == "hdmi-1.4-tmds-type-a")
hz = next(c for c in hdmi.constraints if c.parameter == "differential_impedance")
assert hz.value_kind == "UNKNOWN"
assert hz.value is None
hby = {c.parameter: c for c in hdmi.constraints}
_cite_ok(hby["cec"])
assert hby["cec"].value == 27000.0
assert hby["cec"].source.table == "CEC Table 2"
assert "1.3" in hby["cec"].source.revision
assert hby["cec"].source_type == "PCB"
_cite_ok(hby["cec_device_capacitance"])
assert hby["cec_device_capacitance"].value == 200.0
assert hby["cec_device_capacitance"].source.table == "Table 4-27"
_cite_ok(hby["cec_cable_capacitance"])
assert hby["cec_cable_capacitance"].value == 700.0
assert hby["cec_cable_capacitance"].source_type == "CABLE"
_cite_ok(hby["cec_vol_max"])
assert hby["cec_vol_max"].value == 0.6
_cite_ok(hby["cec_voh_min"])
assert hby["cec_voh_min"].value == 2.5
_cite_ok(hby["cec_interconnect_resistance"])
assert hby["cec_interconnect_resistance"].value == 5.0
frl = next(p for p in cat.physical_interfaces if p.id == "hdmi-frl-pcb")
fz = next(c for c in frl.constraints if c.parameter == "differential_impedance")
assert fz.value_kind == "UNKNOWN"
assert fz.value is None
g = DesignGraph(
components={
"J3": Component(