Hello all,
I have been using CPT112s as touch input to the ESP32 and device will read the I2C data of the CPT112s when it provides an interrupt to the ESP32, but When At a time we give 2 or more inputs to the CPT112s the gpio_isr_handler interrupt is getting frozen or being unresponsive and is working fine when we remove the interrupt pin and place it back again. So any solution for this issue.
Thank you.
ESP32 gpio_isr_handler interrupt getting frozen/unresponsive.
-
- Posts: 9727
- Joined: Thu Nov 26, 2015 4:08 am
Re: ESP32 gpio_isr_handler interrupt getting frozen/unresponsive.
Can you share any code? Can you tell where exactly the ISR hangs?
-
- Posts: 7
- Joined: Thu Sep 30, 2021 9:57 am
Re: ESP32 gpio_isr_handler interrupt getting frozen/unresponsive.
You need to configure your CPT to qualify only one touch active at a time. use simplicity studio provided by silicon labs to configure yours. I remember you need to check "mutex buttons" option. you can play around with other setting to suit your application.
Who is online
Users browsing this forum: No registered users and 98 guests