Add SM16208 driver and FOUR_SCAN_40_80PX_ZIGZAG8 scan type for 80x40 4-scan panels#948
Open
pkilar wants to merge 1 commit into
Open
Add SM16208 driver and FOUR_SCAN_40_80PX_ZIGZAG8 scan type for 80x40 4-scan panels#948pkilar wants to merge 1 commit into
pkilar wants to merge 1 commit into
Conversation
…4-scan panels Adds support for a custom 80x40, 1/10-scan HUB75 panel whose driver ICs fold two logical rows into one 160-clock shift register per colour lane and reverse the column order inside every 8-pixel segment: - FOUR_SCAN_40_80PX_ZIGZAG8 (VirtualMatrixPanel_T): coordinate remap onto the folded 160x20 DMA surface. - SM16208 (shift_driver): the panel's SM16208 constant-current chips latch on the inverted shift clock, so the driver sets clkphase=false (same pattern as the existing MBI5124 case). - doc/Panel_80x40_4Scan_ZigZag8.md plus two SVGs documenting the panel layout and pixel ordering; linked from the README scan-types and chips lists.
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.
What
Adds library support for a custom 80×40, 1/10-scan HUB75 panel whose driver ICs fold two logical rows into one 160-clock shift register per colour lane and reverse the column order inside every 8-pixel segment. Standard scan types do not drive it correctly.
The panel
An 80×40, 1/10-scan module (PCB silkscreen
L920F 10S 80x40 1921-V3.0+) driven by SM16208 constant-current shift registers:L920F 10S 80x40 1921-V3.0+silkscreenFOUR_SCAN_40_80PX_ZIGZAG8+SM16208— correct geometry, no ghostingChanges
FOUR_SCAN_40_80PX_ZIGZAG8(VirtualMatrixPanel_T) — coordinate remap onto the folded 160×20 DMA surface. Newelse if constexprbranch; the existingFOUR_SCAN_40_80PX_HFARCANbranch is untouched.SM16208shift driver — this panel's SM16208 constant-current chips latch on the inverted shift clock, so the driver setsclkphase = false, mirroring the existingMBI5124case.doc/Panel_80x40_4Scan_ZigZag8.md(+ two SVGs) documenting the panel layout and pixel ordering; linked from the README scan-types and chips lists.Usage
Testing
Verified on a physical 80×40 panel of this type: correct geometry across all rows and columns, and no ghosting — selecting the
SM16208driver (clkphase = false) fully resolved the ghosting seen with the defaultclkphase = true.