Skip to content

Should I2C support be removed #23

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

Open
jerryneedell opened this issue Jan 21, 2022 · 0 comments
Open

Should I2C support be removed #23

jerryneedell opened this issue Jan 21, 2022 · 0 comments

Comments

@jerryneedell
Copy link
Contributor

Does anyone use the I2C mode? It is available on the now discontinued and unavailable breakout board but it is not used on any of the tft displays that have the stpme chips built in. They all use SPI.

In addition, the I2C implementation can be flaky and I wonder if it is worthwhile troubleshooting it.

When using the stmpe610 breakout in I2C mode, there are occasional errors

>>> import stmpe610_simpletest_i2c
Go Ahead - Touch the Screen - Make My Day!
(1266, 2298, 130)
(1247, 2296, 18)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "stmpe610_simpletest_i2c.py", line 14, in <module>
  File "adafruit_stmpe610.py", line 213, in buffer_empty
  File "adafruit_stmpe610.py", line 164, in _read_byte
  File "adafruit_stmpe610.py", line 246, in _read_register
OSError: [Errno 5] Input/output error
>>> 

This was on a GrandCentral M4 running the simpletest in I2C mode.
I have also seen "Error 19 - Unsupported Operations) errors on a QTPY esp32s2

I don't think this is new. I think I saw this in the past but did not open an issue.

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