diff --git a/__pycache__/csv_preprocessor.cpython-312.pyc b/__pycache__/csv_preprocessor.cpython-312.pyc index d7624f7..91776f4 100644 Binary files a/__pycache__/csv_preprocessor.cpython-312.pyc and b/__pycache__/csv_preprocessor.cpython-312.pyc differ diff --git a/reports/20260416_153729_interactive.html b/reports/20260416_153729_interactive.html new file mode 100644 index 0000000..3b4a607 --- /dev/null +++ b/reports/20260416_153729_interactive.html @@ -0,0 +1,136 @@ + + +
+ ++ Pixel clock: 72.0 MHz | + Bit rate: 432.0 Mbit/s per lane | + Byte clock: 54.000 MHz + (18.519 ns/byte) | + UI: 2.315 ns +
+ +| Field | Spec (ns) | Rnd Best | Rnd Up | +Extra | Final | Actual (ns) | Status | +
|---|---|---|---|---|---|---|---|
lpx | ≥ 50.0 | 3 | 3 | +0 | 3 | 55.56 | ✓ |
hs_prepare | 49.3 – 98.9 | 3 | 3 | +0 | 3 | 55.56 | ✓ |
hs_zero | ≥ 112.6 | 6 | 7 | +0 | 7 | 129.63 | ✓ |
hs_trail | ≥ 69.3 | 4 | 4 | +0 | 4 | 74.07 | ✓ |
hs_exit | ≥ 100.0 | 5 | 6 | +0 | 6 | 111.11 | ✓ |
clk_prepare | 38.0 – 95.0 | 2 | 3 | +0 | 3 | 55.56 | ✓ |
clk_zero | ≥ 244.4 | 13 | 14 | +0 | 14 | 259.26 | ✓ |
clk_post | ≥ 180.4 | 10 | 10 | +0 | 10 | 185.19 | ✓ |
clk_trail | ≥ 60.0 | 3 | 4 | +0 | 4 | 74.07 | ✓ |
✓ All D-PHY v1.1 Table 14 constraints satisfied.
+ +| Register | Address | Value | Field breakdown |
|---|---|---|---|
| PHY_TIMING | 0xb4 |
+ 0x00000306 |
+ lpx=3 hs_exit=6 | +
| PHY_TIMING1 | 0xb8 |
+ 0x030e0a04 |
+ clk_prepare=3 clk_zero=14 + clk_post=10 clk_trail=4 | +
| PHY_TIMING2 | 0xbc |
+ 0x00030704 |
+ hs_prepare=3 hs_zero=7 + hs_trail=4 | +
# D-PHY PHY timing registers (pixel clock 72.0 MHz, 432.0 Mbit/s, byte clock 54.000 MHz)
+#
+# PHY_TIMING (0xb4) = 0x00000306 lpx=3 hs_exit=6
+# PHY_TIMING1 (0xb8) = 0x030e0a04 clk_prepare=3 clk_zero=14 clk_post=10 clk_trail=4
+# PHY_TIMING2 (0xbc) = 0x00030704 hs_prepare=3 hs_zero=7 hs_trail=4
+
+# Enable Round-Up rounding (dsi-tweak bit 2)
+setenv flb_dtovar "${flb_dtovar} dsi-tweak=4"
+
+saveenv
+boot
+
+| Capture | Timestamp | Channel | +LP-low plateau | LP exit→HS | LP-11 voltage | +Claude: flicker? | Outcome | +
|---|---|---|---|---|---|---|---|
| 0002 | 20260416_120916 | dat | 342.7 ns | 347.7 ns | 1.017 V | NO | Claude said NO — user not asked |
| 0019 | 20260416_121548 | dat | 342.3 ns | 347.5 ns | 1.017 V | NO | Claude said NO — user not asked |
| 0079 | 20260416_123835 | dat | 49.6 ns | 1.2 ns | 1.016 V | YES | ✓ FALSE ALARM |
| 0084 | 20260416_124741 | dat | 108.1 ns | 113.2 ns | 1.016 V | NO | Claude said NO — user not asked |
| 0110 | 20260416_125738 | dat | 46.6 ns | 2.9 ns | 1.016 V | YES | ✓ FALSE ALARM |
| 0119 | 20260416_130120 | dat | 342.6 ns | 347.8 ns | 1.016 V | NO | Claude said NO — user not asked |
| 0120 | 20260416_130151 | dat | 108.2 ns | 113.3 ns | 1.015 V | NO | Claude said NO — user not asked |
| 0136 | 20260416_130807 | dat | 342.7 ns | 347.8 ns | 1.015 V | NO | Claude said NO — user not asked |
| 0158 | 20260416_131640 | dat | 27.2 ns | 2.4 ns | 1.016 V | YES | ✓ FALSE ALARM |
| 0164 | 20260416_131918 | dat | 342.4 ns | 347.8 ns | 1.016 V | NO | Claude said NO — user not asked |
| 0170 | 20260416_132143 | dat | 108.0 ns | 113.0 ns | 1.016 V | NO | Claude said NO — user not asked |
| 0172 | 20260416_132237 | dat | 342.6 ns | 347.5 ns | 1.016 V | NO | Claude said NO — user not asked |
| 0191 | 20260416_133001 | dat | 342.4 ns | 347.6 ns | 1.015 V | NO | Claude said NO — user not asked |
| 0206 | 20260416_133554 | dat | 44.6 ns | 1.8 ns | 1.015 V | YES | ✓ FALSE ALARM |
| 0261 | 20260416_135714 | dat | 49.3 ns | 0.8 ns | 1.016 V | YES | ✓ FALSE ALARM |
| 0274 | 20260416_140229 | dat | 342.7 ns | 347.8 ns | 1.016 V | NO | Claude said NO — user not asked |
| 0279 | 20260416_140431 | dat | 107.8 ns | 113.0 ns | 1.016 V | NO | Claude said NO — user not asked |
| 0280 | 20260416_140501 | dat | 342.8 ns | 347.9 ns | 1.012 V | NO | Claude said NO — user not asked |
| 0281 | 20260416_140531 | dat | 342.6 ns | 347.5 ns | 1.016 V | NO | Claude said NO — user not asked |
| 0293 | 20260416_141016 | dat | 25.6 ns | 1.9 ns | 1.016 V | YES | ✓ FALSE ALARM |
| 0309 | 20260416_141640 | dat | 342.8 ns | 347.6 ns | 1.015 V | NO | Claude said NO — user not asked |
| 0322 | 20260416_142146 | dat | 342.7 ns | 347.8 ns | 1.015 V | NO | Claude said NO — user not asked |
| 0338 | 20260416_142759 | dat | None ns | None ns | 1.015 V | YES | ✓ FALSE ALARM |
YES + +The LP-low plateau measured at 49.6–50 ns is right at the absolute edge of the SN65DSI83's 50 ns minimum detection threshold, and the pre-processor flag reports 49.6 ns which falls below spec. More critically, the LP exit → HS transition duration of only 1–1.2 ns is drastically below the 50 ns minimum, indicating the LP-01/LP-00 preamble states are essentially absent or compressed beyond what the bridge can reliably sample. With the SoT entry sequence this severely truncated, the SN65DSI83 would very likely miss the start-of-transmission, causing it to lose synchronization on this HS burst and produce visible flicker.
YES + +The LP-low plateau of 46.6–47 ns is below the SN65DSI83's required ≥ 50 ns minimum for reliable SoT detection, falling short by approximately 3–3.4 ns. Additionally, the LP exit-to-HS transition time of only 2.9–3 ns is drastically below the 50 ns spec minimum, confirming that the LP-01/LP-00 preamble states are too brief for the bridge's LP receiver to properly recognize the start-of-transmission sequence. With both critical timing parameters violated, the SN65DSI83 will almost certainly miss this SoT event, resulting in a lost HS burst and visible display flicker.
YES + +The LP-low plateau of 27.2 ns is well below the SN65DSI83's required 50 ns minimum for reliable SoT detection. Additionally, the LP exit-to-HS transition time of only 2.4 ns is far too brief (spec ≥ 50 ns), meaning the LP-01/LP-00 states were essentially absent or unresolvable by the bridge's receiver. The HS amplitude of 37 mV is also critically low—below the 50 mV threshold indicating a near-absent or severely attenuated HS burst—which strongly suggests the bridge failed to lock onto the data stream. All three anomalies together make it virtually certain the SN65DSI83 missed this SoT, resulting in a dropped frame and visible flicker.
YES + +The LP-low plateau of 44.6 ns is below the SN65DSI83's required ≥ 50 ns minimum for reliable SoT detection, and the LP exit-to-HS transition time of only 1.8–2 ns is drastically shorter than the 50 ns spec minimum, meaning the LP-01/LP-00 preamble states are essentially absent from the bridge's perspective. With both timing parameters failing spec by significant margins, the SN65DSI83 will almost certainly miss this SoT entry, causing it to lose synchronization on this HS burst and produce a visible flicker event. The HS amplitude at 122 mV and LP-11 voltage at 1.015 V are within normal bounds, confirming the root cause is purely the truncated LP-low preamble timing rather than a signal amplitude issue.
YES + +The LP-low plateau of 49.3 ns is below the SN65DSI83's required 50 ns minimum for reliable SoT detection, and the LP exit-to-HS transition of only ~1 ns confirms the LP-01/LP-00 preamble states were essentially absent or far too brief (spec ≥ 50 ns). Additionally, the HS amplitude of ~30 mV is dramatically below the normal 105–122 mV range and falls below the 50 mV "absent" threshold, indicating the bridge almost certainly failed to lock onto the HS data burst. Taken together — a marginal/sub-spec LP-low plateau, a virtually nonexistent LP exit duration, and an abnormally low HS amplitude — this capture strongly indicates a missed SoT event that would produce visible flicker.
YES + +The LP-low plateau of 25.6–26 ns is roughly half the 50 ns minimum required by the SN65DSI83 to reliably detect the Start-of-Transmission sequence, and the LP-exit-to-HS transition of only 1.9–2 ns confirms the LP-01/LP-00 states were far too brief for the bridge's input comparators to register. Additionally, the HS amplitude of ~44 mV is well below the normal 105–122 mV range and sits under the 50 mV threshold, indicating the bridge almost certainly did not lock onto the HS data burst even if it had detected the SoT. Together, a failed SoT detection combined with sub-threshold HS signaling makes it virtually certain this capture corresponds to a missed video line or frame, producing visible flicker.
YES + +The LP-low plateau is reported as `None` (absent), meaning the DAT0 lane never presented a valid LP-01/LP-00 preamble long enough to be measured — far below the SN65DSI83's required ≥ 50 ns detection threshold. Additionally, the HS amplitude of only 3.1 mV is essentially absent (normal range 105–122 mV, with < 50 mV classified as absent), confirming the bridge never locked onto a valid HS burst. Together, the missing SoT preamble and negligible HS swing mean the SN65DSI83 could not detect start-of-transmission, virtually guaranteeing a missed frame and visible flicker.+ + + diff --git a/reports/flicker_log.csv b/reports/flicker_log.csv index a52abfa..5a7695c 100644 --- a/reports/flicker_log.csv +++ b/reports/flicker_log.csv @@ -100,3 +100,26 @@ logged_at,capture_ts,capture_num,channel,lp_low_duration_ns,lp11_to_hs_ns,lp11_v 2026-04-16 11:24:53,20260416_112431,0002,dat,342.6,3.7,1.016 2026-04-16 11:25:52,20260416_112531,0004,dat,342.6,3.8,1.016 2026-04-16 11:26:51,20260416_112630,0006,dat,108.0,3.3,1.017 +2026-04-16 12:09:37,20260416_120916,0002,dat,342.7,347.7,1.017 +2026-04-16 12:16:09,20260416_121548,0019,dat,342.3,347.5,1.017 +2026-04-16 12:38:57,20260416_123835,0079,dat,49.6,1.2,1.016 +2026-04-16 12:48:03,20260416_124741,0084,dat,108.1,113.2,1.016 +2026-04-16 12:57:59,20260416_125738,0110,dat,46.6,2.9,1.016 +2026-04-16 13:01:42,20260416_130120,0119,dat,342.6,347.8,1.016 +2026-04-16 13:02:15,20260416_130151,0120,dat,108.2,113.3,1.015 +2026-04-16 13:08:29,20260416_130807,0136,dat,342.7,347.8,1.015 +2026-04-16 13:17:01,20260416_131640,0158,dat,27.2,2.4,1.016 +2026-04-16 13:19:40,20260416_131918,0164,dat,342.4,347.8,1.016 +2026-04-16 13:22:06,20260416_132143,0170,dat,108.0,113.0,1.016 +2026-04-16 13:22:58,20260416_132237,0172,dat,342.6,347.5,1.016 +2026-04-16 13:30:23,20260416_133001,0191,dat,342.4,347.6,1.015 +2026-04-16 13:36:15,20260416_133554,0206,dat,44.6,1.8,1.015 +2026-04-16 13:57:35,20260416_135714,0261,dat,49.3,0.8,1.016 +2026-04-16 14:02:50,20260416_140229,0274,dat,342.7,347.8,1.016 +2026-04-16 14:04:53,20260416_140431,0279,dat,107.8,113.0,1.016 +2026-04-16 14:05:22,20260416_140501,0280,dat,342.8,347.9,1.012 +2026-04-16 14:05:52,20260416_140531,0281,dat,342.6,347.5,1.016 +2026-04-16 14:10:37,20260416_141016,0293,dat,25.6,1.9,1.016 +2026-04-16 14:17:02,20260416_141640,0309,dat,342.8,347.6,1.015 +2026-04-16 14:22:07,20260416_142146,0322,dat,342.7,347.8,1.015 +2026-04-16 14:28:21,20260416_142759,0338,dat,,,1.015 diff --git a/reports/interactive_log.csv b/reports/interactive_log.csv index 717781b..bc7ec8b 100644 --- a/reports/interactive_log.csv +++ b/reports/interactive_log.csv @@ -30,3 +30,26 @@ logged_at,capture_ts,capture_num,claude_said_flicker,user_confirmed,lp_low_ns,re 2026-04-16 11:25:07,20260416_112431,0002,YES,NO,342.6,"YES The LP-low plateau at 343 ns is well above the 50 ns SN65DSI83 detection threshold, so the SoT preamble timing itself is not the problem here. Ho" 2026-04-16 11:26:06,20260416_112531,0004,YES,NO,342.6,"YES Although the LP-low plateau itself is 343 ns (well above the 50 ns minimum), the critical failure here is the HS amplitude of only 17 mV, far bel" 2026-04-16 11:27:06,20260416_112630,0006,YES,NO,108.0,"YES Although the LP-low plateau itself measures 108 ns (above the 50 ns minimum), the critical failure here is the **LP exit → HS transition of only " +2026-04-16 12:09:44,20260416_120916,0002,NO,NOT_ASKED,342.7,NO The LP-low plateau of 342.7 ns and the LP-11-to-HS transition time of 347.7 ns both comfortably exceed the SN65DSI83's 50 ns minimum requirement f +2026-04-16 12:16:16,20260416_121548,0019,NO,NOT_ASKED,342.3,NO The LP-low plateau of 342.3 ns and LP-11→HS transition time of 347.5 ns both comfortably exceed the SN65DSI83's 50 ns minimum requirement for SoT +2026-04-16 12:46:09,20260416_123835,0079,YES,NO,49.6,"YES The LP-low plateau measured at 49.6–50 ns is right at the absolute edge of the SN65DSI83's 50 ns minimum detection threshold, and the pre-process" +2026-04-16 12:48:09,20260416_124741,0084,NO,NOT_ASKED,108.1,"NO The LP-low plateau of 108.1 ns and the LP-11-to-HS transition time of 113.2 ns both comfortably exceed the SN65DSI83's 50 ns minimum requirement, " +2026-04-16 12:58:17,20260416_125738,0110,YES,NO,46.6,"YES The LP-low plateau of 46.6–47 ns is below the SN65DSI83's required ≥ 50 ns minimum for reliable SoT detection, falling short by approximately 3–3" +2026-04-16 13:01:50,20260416_130120,0119,NO,NOT_ASKED,342.6,"NO The LP-low plateau of 342.6 ns far exceeds the SN65DSI83's 50 ns minimum requirement for SoT detection, and the LP→HS transition timing of 347.8 n" +2026-04-16 13:02:22,20260416_130151,0120,NO,NOT_ASKED,108.2,"NO The LP-low plateau of 108.2 ns and the LP-11→HS transition time of 113.3 ns both comfortably exceed the SN65DSI83's 50 ns minimum requirement, so " +2026-04-16 13:08:35,20260416_130807,0136,NO,NOT_ASKED,342.7,"NO The LP-low plateau of 342.7 ns and the LP-11-to-HS transition time of 347.8 ns both comfortably exceed the SN65DSI83's 50 ns minimum requirement, " +2026-04-16 13:17:22,20260416_131640,0158,YES,NO,27.2,"YES The LP-low plateau of 27.2 ns is well below the SN65DSI83's required 50 ns minimum for reliable SoT detection. Additionally, the LP exit-to-HS tr" +2026-04-16 13:19:47,20260416_131918,0164,NO,NOT_ASKED,342.4,NO The LP-low plateau of 342.4 ns and LP-11→HS transition time of 347.8 ns both comfortably exceed the SN65DSI83's 50 ns minimum requirement for SoT +2026-04-16 13:22:12,20260416_132143,0170,NO,NOT_ASKED,108.0,"NO The LP-low plateau of 108.0 ns comfortably exceeds the SN65DSI83's 50 ns minimum requirement, and the LP-11 voltage (1.016 V) and LP-exit-to-HS ti" +2026-04-16 13:23:07,20260416_132237,0172,NO,NOT_ASKED,342.6,"NO The LP-low plateau of 342.6 ns far exceeds the SN65DSI83's 50 ns minimum requirement for SoT detection, and the LP→HS transition timing of 348 ns " +2026-04-16 13:30:31,20260416_133001,0191,NO,NOT_ASKED,342.4,NO The LP-low plateau of 342.4 ns and the LP-11-to-HS transition time of 347.6 ns both comfortably exceed the SN65DSI83's 50 ns minimum requirement f +2026-04-16 13:36:31,20260416_133554,0206,YES,NO,44.6,"YES The LP-low plateau of 44.6 ns is below the SN65DSI83's required ≥ 50 ns minimum for reliable SoT detection, and the LP exit-to-HS transition time" +2026-04-16 13:57:51,20260416_135714,0261,YES,NO,49.3,"YES The LP-low plateau of 49.3 ns is below the SN65DSI83's required 50 ns minimum for reliable SoT detection, and the LP exit-to-HS transition of onl" +2026-04-16 14:02:58,20260416_140229,0274,NO,NOT_ASKED,342.7,NO The LP-low plateau of 342.7 ns and the LP-11-to-HS transition time of 347.8 ns both comfortably exceed the SN65DSI83's 50 ns minimum requirement f +2026-04-16 14:05:00,20260416_140431,0279,NO,NOT_ASKED,107.8,"NO The LP-low plateau measures 107.8 ns, which comfortably exceeds the SN65DSI83's 50 ns minimum requirement for SoT detection, and the LP-11 voltage" +2026-04-16 14:05:29,20260416_140501,0280,NO,NOT_ASKED,342.8,NO The LP-low plateau of 342.8 ns and the LP-11→HS transition time of 347.9 ns both comfortably exceed the SN65DSI83's 50 ns minimum requirement for +2026-04-16 14:06:00,20260416_140531,0281,NO,NOT_ASKED,342.6,"NO The LP-low plateau of 342.6 ns and the LP-11→HS transition time of 347.5 ns both comfortably exceed the SN65DSI83's 50 ns minimum requirement, so " +2026-04-16 14:10:54,20260416_141016,0293,YES,NO,25.6,YES The LP-low plateau of 25.6–26 ns is roughly half the 50 ns minimum required by the SN65DSI83 to reliably detect the Start-of-Transmission sequenc +2026-04-16 14:17:09,20260416_141640,0309,NO,NOT_ASKED,342.8,NO The LP-low plateau of 342.8 ns and the LP-11→HS transition time of 347.6 ns both comfortably exceed the SN65DSI83's 50 ns minimum requirement for +2026-04-16 14:22:13,20260416_142146,0322,NO,NOT_ASKED,342.7,"NO The LP-low plateau of 342.7 ns and the LP-11-to-HS transition time of 347.8 ns both comfortably exceed the SN65DSI83's 50 ns minimum requirement, " +2026-04-16 15:36:49,20260416_142759,0338,YES,NO,,"YES The LP-low plateau is reported as `None` (absent), meaning the DAT0 lane never presented a valid LP-01/LP-00 preamble long enough to be measured "