From be57cd8fec126c77a5289ccab86f3398af1d488a Mon Sep 17 00:00:00 2001 From: david rice Date: Thu, 16 Apr 2026 15:38:15 +0100 Subject: [PATCH] Changes --- __pycache__/csv_preprocessor.cpython-312.pyc | Bin 41062 -> 41190 bytes reports/20260416_153729_interactive.html | 136 +++++++++++++++++++ reports/flicker_log.csv | 23 ++++ reports/interactive_log.csv | 23 ++++ 4 files changed, 182 insertions(+) create mode 100644 reports/20260416_153729_interactive.html diff --git a/__pycache__/csv_preprocessor.cpython-312.pyc b/__pycache__/csv_preprocessor.cpython-312.pyc index d7624f71afa81174c8bd8b5f8e3cf2197ddee221..91776f4c77603fb5140bac8374a066194df15664 100644 GIT binary patch delta 554 zcmaEMfa%#mCce|Wyj%=Gz_s^5ro^m`e9Q6}eKv2+JHpJ^KbfysjHxjbL``16$IZsX zz)%!cGkK!8D08D1n4X+fz{gZ%KDn<@d@^sb?qmfgadyGkEGdd}*(ci+D+?->D1pod zffSIq^5lYIM{$)J*4YemnN~AGWEdHGBv=?yR3|Ug6`8Cn&BYSTps6Rh2(5FeWl8-B41yu4Hmi$z((D1x3pp5+7KZM4cJGGP4K@ec;)=xiXBA zLzh)yhVT~#-OYm4o0u4PZaz{g&&+sy@{@*x92bCr)UH3BVX{HG{N#P=lQzdS-QzHp zVq~ZhEwO?4gMlF%7(x|{Mf^ZfffUYCMj)FL#4fRdtBBd`+s(ql_;GVkKQ}Ae1)zpv zkIl(b*jcSL7&s+nlw9CY{=~q{segk<`ih+SMIQ4{%s}1)9?1nF7kE@Zu>v_C*cf=F zuE^?L%MGMEG~7V`jYJi^Q$DkF4~nKx8v^TJua zEaEKF{Z|75H)!LA2%Bl z14EHV&E!INQRYTrFfCA`1kwuv*)c#_&B=X*;*)ucb(!X}PL3#67F0wiND-XPlA<)Z zr`Sk)|KXB31-k#oqWN`c(Y~64Mr9Yh1{^s z>SdvfjN3NXmWwh;Ny=WAG`J{fa6!`IhK#~>8RLsG##hXJF3I>zUQ?+ma3LY%12dy& z7UNfDWra$4Nrk-j2lev!xg11kfo$Oo>;9JBt&7BVyN8vXq2#>ik2z*x)! zH1r5Fe<-)mNoL+q!Oe=ZeObi485tEmFo4L<%nVH2ADF-bF_T;8JBnp6F|y52`M?08 R7g&D=(;vb%- + + + +MIPI Interactive Flicker Test — 2026-04-16 15:37:29 + + + + +

MIPI Interactive Flicker Test Report

+

+ Generated: 2026-04-16 15:37:29  |  + Model: claude-opus-4-6 +

+ +
+ Stop reason: Test interrupted by operator (Ctrl+C) +
+ +
+
0 confirmed flicker(s)
+
7 false alarm(s)
+
16 Claude said no
+
+ +

D-PHY Configuration

+

+ 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 +

+ + + + + + + + + + + + + + + + +
FieldSpec (ns)Rnd BestRnd UpExtraFinalActual (ns)Status
lpx≥ 50.033+0355.56
hs_prepare49.3 – 98.933+0355.56
hs_zero≥ 112.667+07129.63
hs_trail≥ 69.344+0474.07
hs_exit≥ 100.056+06111.11
clk_prepare38.0 – 95.023+0355.56
clk_zero≥ 244.41314+014259.26
clk_post≥ 180.41010+010185.19
clk_trail≥ 60.034+0474.07
+ +

✓ All D-PHY v1.1 Table 14 constraints satisfied.

+ +

Samsung DSIM Registers

+ + + + + + + + + + + + + + + + + +
RegisterAddressValueField breakdown
PHY_TIMING0xb40x00000306lpx=3   hs_exit=6
PHY_TIMING10xb80x030e0a04clk_prepare=3   clk_zero=14   + clk_post=10   clk_trail=4
PHY_TIMING20xbc0x00030704hs_prepare=3   hs_zero=7   + hs_trail=4
+ +

u-boot Commands

+
# 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
+ +

Event Log

+ + + + + + + +
CaptureTimestampChannelLP-low plateauLP exit→HSLP-11 voltageClaude: flicker?Outcome
000220260416_120916dat342.7 ns347.7 ns1.017 VNOClaude said NO — user not asked
001920260416_121548dat342.3 ns347.5 ns1.017 VNOClaude said NO — user not asked
007920260416_123835dat49.6 ns1.2 ns1.016 VYES✓ FALSE ALARM
008420260416_124741dat108.1 ns113.2 ns1.016 VNOClaude said NO — user not asked
011020260416_125738dat46.6 ns2.9 ns1.016 VYES✓ FALSE ALARM
011920260416_130120dat342.6 ns347.8 ns1.016 VNOClaude said NO — user not asked
012020260416_130151dat108.2 ns113.3 ns1.015 VNOClaude said NO — user not asked
013620260416_130807dat342.7 ns347.8 ns1.015 VNOClaude said NO — user not asked
015820260416_131640dat27.2 ns2.4 ns1.016 VYES✓ FALSE ALARM
016420260416_131918dat342.4 ns347.8 ns1.016 VNOClaude said NO — user not asked
017020260416_132143dat108.0 ns113.0 ns1.016 VNOClaude said NO — user not asked
017220260416_132237dat342.6 ns347.5 ns1.016 VNOClaude said NO — user not asked
019120260416_133001dat342.4 ns347.6 ns1.015 VNOClaude said NO — user not asked
020620260416_133554dat44.6 ns1.8 ns1.015 VYES✓ FALSE ALARM
026120260416_135714dat49.3 ns0.8 ns1.016 VYES✓ FALSE ALARM
027420260416_140229dat342.7 ns347.8 ns1.016 VNOClaude said NO — user not asked
027920260416_140431dat107.8 ns113.0 ns1.016 VNOClaude said NO — user not asked
028020260416_140501dat342.8 ns347.9 ns1.012 VNOClaude said NO — user not asked
028120260416_140531dat342.6 ns347.5 ns1.016 VNOClaude said NO — user not asked
029320260416_141016dat25.6 ns1.9 ns1.016 VYES✓ FALSE ALARM
030920260416_141640dat342.8 ns347.6 ns1.015 VNOClaude said NO — user not asked
032220260416_142146dat342.7 ns347.8 ns1.015 VNOClaude said NO — user not asked
033820260416_142759datNone nsNone ns1.015 VYES✓ FALSE ALARM
+ +

Claude Assessments

Capture 0079 [20260416_123835] — 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.

Capture 0110 [20260416_125738] — FALSE ALARM

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.

Capture 0158 [20260416_131640] — FALSE ALARM

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.

Capture 0206 [20260416_133554] — FALSE ALARM

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.

Capture 0261 [20260416_135714] — FALSE ALARM

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.

Capture 0293 [20260416_141016] — FALSE ALARM

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.

Capture 0338 [20260416_142759] — FALSE ALARM

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 "