Repository navigation
feat(display): auto-detect the reTerminal Sticky's SSD2677 panel - #180
Merged
Merged
Conversation
Seeed is replacing the Sticky's SSD1677 panel with an SSD2677 of the same size and pixel count. Identify it at boot by reading register 0x70, so configs keep panel_ic_type 69/70 and clients see no change. The SSD2677 needs its own init, waveform latch and 2 bpp image stream. It runs full refresh only, and partial writes are rejected as unsupported. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Seeed is replacing the reTerminal Sticky's SSD1677 panel with an SSD2677 of the same size and pixel count. This detects which one is fitted at boot, so
panel_ic_typestays 69/70 and clients, presets and the config format don't change.Detection: when the config has IC 69/70 and the Sticky's pins (13/14/15), the firmware reads register
0x70twice over bit-banged SPI, because bb_epaper has no read line.0x07selects the SSD2677. Any other stable value, with BUSY idle low, keeps today's path. Inconsistent results stay unresolved and retry on the next cold start. The result is held in RAM and never written to the config.SSD2677 drive path (
src/panel_ssd2677.*, no bb_epaper change):0x27(UD cleared) to match the Sticky's mounting.OD_ERR_PARTIAL_UNSUPPORTED.The new module uses
externforbbepandglobalConfig, matching the other modules, since no getters exist.Testing
Built
esp32-s3-N32R8-extuart,esp32-s3-N32R8andnrf52840custom. Tested on two Stickys:0x07/0x07-> SSD26770x00/0x00-> legacyNot tested:
A new-panel Sticky needs a release containing this change.
🤖 Generated with Claude Code