Skip to content

Fix EL133UF1 sending POF mid-refresh on 13.3" displays - #265

Merged
thirdr merged 1 commit into
pimoroni:mainfrom
stkr22:fix/el133uf1-refresh-wait
Jul 24, 2026
Merged

Fix EL133UF1 sending POF mid-refresh on 13.3" displays#265
thirdr merged 1 commit into
pimoroni:mainfrom
stkr22:fix/el133uf1-refresh-wait

Conversation

@stkr22

@stkr22 stkr22 commented Jul 12, 2026

Copy link
Copy Markdown

The BUSY line on the EL133UF1 (Impression 13.3") is active-LOW during a refresh: it drops LOW while the panel updates and returns HIGH when done. _busy_wait treats the line as active-HIGH, so after DRF it returns instantly and POF is sent mid-refresh on every update. The panel usually ignores it but occasionally latches into a fault (BUSY pinned HIGH, ignoring RST_N/POF/deep-sleep) that only full power removal recovers.

Add _refresh_wait, which polls the line correctly (assert busy LOW, then wait for it to clear HIGH, with a timeout warning) and use it after DRF. _busy_wait is left unchanged for PON/POF, since post-POF the line rests LOW and would be ambiguous under an inverted global check.

potentially closes #254

The BUSY line on the EL133UF1 (Impression 13.3") is active-LOW during a
refresh: it drops LOW while the panel updates and returns HIGH when done.
`_busy_wait` treats the line as active-HIGH, so after DRF it returns
instantly and POF is sent mid-refresh on every update. The panel usually
ignores it but occasionally latches into a fault (BUSY pinned HIGH,
ignoring RST_N/POF/deep-sleep) that only full power removal recovers.

Add `_refresh_wait`, which polls the line correctly (assert busy LOW,
then wait for it to clear HIGH, with a timeout warning) and use it after
DRF. `_busy_wait` is left unchanged for PON/POF, since post-POF the line
rests LOW and would be ambiguous under an inverted global check.
@thirdr
thirdr merged commit 633de2a into pimoroni:main Jul 24, 2026
7 checks passed
@thirdr

thirdr commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Thank you! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Busy wait bug on Inky 13.3 panel

2 participants