Inky Impression 13.3” (Spectra 6, EL133UF1) inconsistent update

Setup:

  • Inky Impression 13.3” (Spectra 6, EL133UF1)
  • Raspberry Pi 5 (Raspberry Pi OS Lite, Debian Trixie)
  • Python 3.12, inky package (2.4.0 and 2.5.0)

Debugging:

I run the following Python program to test the panel:

python update.py 255,0,0
import sys
from inky.auto import auto
from PIL import Image

def run():
    c = tuple(int(x) for x in sys.argv[1].split(','))
    d = auto()
    d.set_image(Image.new('RGB', d.resolution, c))
    d.show()

run()

The panel updates about a third of the time when I call it. With inky version 2.5.0 I get the following request timeout message when the update fails (2.5.0 contained a fix to properly wait for the busy line: Fix EL133UF1 sending POF mid-refresh on 13.3" displays by stkr22 · Pull Request #265 · pimoroni/inky · GitHub):

inky_el133uf1.py:319: UserWarning: Refresh Wait: Timed out after 65.00s
  self._refresh_wait(65.0)

When the screen updates properly, I can see the busy line going from high → low → high. If it doesn’t update it goes from high → low and stays there. I got the busy line info with the following command: watch -n 0.5 pinctrl get 17

Any ideas on what else to try or what might be going wrong?

Your symptom matches what others chased in the pimoroni/inky GitHub issues 254 and 266: panels latching mid-refresh with the busy line stuck low, even with the 265 fix in 2.5.0. Two things from those threads are worth trying. First, a full physical power cycle of the panel, not just a Pi reboot, since several people there report the panel stays latched until power is actually removed. Second, power delivery during refresh came up repeatedly, one report was flaky on battery but fine on a proper supply. If it keeps happening on 2.5.0, your case is worth adding to issue 254, the maintainers are active there. Side note: inky 2.6.0 came out a few days ago with an experimental refresh speed option for the Spectra 6 drivers.