esp32-smartdisplay icon indicating copy to clipboard operation
esp32-smartdisplay copied to clipboard

8048S070C - external I2C bus unusable due to conflict with GT911_TOUCH_CONFIG_INT_GPIO_NUM

Open mhaberler opened this issue 1 year ago • 3 comments

using a 8048S070C / GT911 cap touch board with external I2C sensors connected

it seems the GT911 touch IRQ line (GT911_TOUCH_CONFIG_INT_GPIO_NUM, 18) conflicts with the second I2C Bus SCL line - rendering the second I2C unit inoperable

I tried in a different project using LovyanGFX and polled touch, and had Wire1 working fine there

not sure how to proceed - not sufficiently familar with ESP-IDF + BSP

thanks in advance, Michael

mhaberler avatar Apr 16 '24 07:04 mhaberler

well, I tried and it was easy: https://github.com/rzeldent/platformio-espressif32-sunton/compare/main...mhaberler:platformio-espressif32-sunton:disable-touch-irq

mhaberler avatar Apr 16 '24 10:04 mhaberler

If you know where to find it! It is...

However, am wondering, as the IRQ is not used (LVGL is polling) maybe I can leave it out of the configuration... With your fix, the touch still works right?!

rzeldent avatar Apr 17 '24 18:04 rzeldent

yes touch works perfectly fine

mhaberler avatar Apr 17 '24 19:04 mhaberler