Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SPI write_readinto Not implemented - adafruit_epd #13

Open
markbirss opened this issue Feb 17, 2023 · 1 comment
Open

SPI write_readinto Not implemented - adafruit_epd #13

markbirss opened this issue Feb 17, 2023 · 1 comment

Comments

@markbirss
Copy link

markbirss commented Feb 17, 2023

Hi, im having issue with BLINKA_U2IF vs BLINKA_FT232H, adafruit_epd gives error on U2IF - SPI write_readinto Not implemented ?

Using example based on
https://github.com/adafruit/Adafruit_CircuitPython_EPD/blob/main/examples/epd_blinka.py

Works fine on BLINKA_FT232H

user@uD3H:~/e-ink$ export BLINKA_U2IF=1; python3 pico_u2if_eink.py
Creating display
Clear buffer
Draw Rectangles
Draw lines
Draw text
Traceback (most recent call last):
  File "/home/user/e-ink/pico_u2if_eink.py", line 81, in <module>
    display.display()
  File "/home/user/.local/lib/python3.10/site-packages/adafruit_epd/epd.py", line 81, in display
    self.power_up()
  File "/home/user/.local/lib/python3.10/site-packages/adafruit_epd/ssd1680.py", line 132, in power_up
    self.command(_SSD1680_SW_RESET)
  File "/home/user/.local/lib/python3.10/site-packages/adafruit_epd/epd.py", line 170, in command
    ret = self._spi_transfer(cmd)
  File "/home/user/.local/lib/python3.10/site-packages/adafruit_epd/epd.py", line 187, in _spi_transfer
    self.spi_device.write_readinto(self._spibuf, self._spibuf)
  File "/usr/local/lib/python3.10/dist-packages/busio.py", line 396, in write_readinto
    return self._spi.write_readinto(
  File "/usr/local/lib/python3.10/dist-packages/adafruit_blinka/microcontroller/rp2040_u2if/spi.py", line 58, in write_readinto
    rp2040_u2if.spi_write_readinto(
  File "/usr/local/lib/python3.10/dist-packages/adafruit_blinka/microcontroller/rp2040_u2if/rp2040_u2if.py", line 375, in spi_write_readinto
    raise NotImplementedError("SPI write_readinto Not implemented")
NotImplementedError: SPI write_readinto Not implemented
@markbirss
Copy link
Author

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

No branches or pull requests

1 participant