Repository navigation
mipidsi.Display: non_burst and continuous_clock, for DSI-to-RGB bridges - #48
Merged
Merged
Conversation
…es like the ICN6211 (checked against ESP-IDF v5.5.4)
This was referenced Oct 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Raspberry Pi-style DSI panels put a DSI-to-RGB bridge in front of the glass, such as the Chipone ICN6211 on a KeDei 5" (800x480). ESP-IDF's DPI panel always sends burst-mode video and lets the clock lane drop to LP between lines, and with that the bridge produces nothing: the panel stays white. Two new keyword options fix it:
non_burst=True: non-burst video with sync pulses.continuous_clock=True: the clock lane held in HS.Both default to off, so every existing board is unchanged.
ESP-IDF has no public switch for either. The only route is the HAL context inside its private
esp_lcd_dsi_bus_t(components/esp_lcd/dsi/mipi_dsi_priv.h), whose leading fields are mirrored here. That layout is checked for v5.5.4 only, the version micropython-pydevices pins. On any other ESP-IDF the options raiseNotImplementedErrorinstead of reaching into a struct that may have moved. Asking ESP-IDF for a public switch is a separate issue.Proven 2026-10-06 on the Waveshare ESP32-P4 WIFI6 DEV-KIT with the KeDei 5", firmware built from this branch with
--modules all:spike/kedei-dsi, where this was found);lv_test_timer.pyruns (the counter counts, the arc spins, the button responds to touch) through the new board config in pydevices.The spike's generic DSI writes and register reads were for diagnosis and aren't in this PR.