Ft6x36 OSError with other I2C devices on the same bus

Hi everyone,

I just added the ft6x36 touch screen in my design, it works fine but I use too other I2C devices on the same bus.
As soon as I initialise the lib of a new device with this kind of command i2cdevice = machine.I2C(scl=Pin(22), sda=Pin(21)), I have an OSError :

Traceback (most recent call last):
  File "lv_utils.py", line 111, in task_handler
  File "ft6x36.py", line 69, in callback
OSError: [Errno 116] ETIMEDOUT

Is there a way around this problem without having to modify all my other I2C libraries?

Thanks

@ropg - Any idea?

@Patoche5150 did you try using the same bus for both?
You can try accessing drv.i2c to get the initialized i2c bus from the ft6x36 driver.

@amirgon , I’m sorry but I found out the problem in my code.
The I2C ID numbers were different between the ft6x36 and the other I2C devices on the same bus.
With the same ID number, it’s ok, no error.