ESP32 gpio_isr_handler interrupt getting frozen/unresponsive.

MadVin
Posts: 1
Joined: Mon Aug 30, 2021 1:38 pm

ESP32 gpio_isr_handler interrupt getting frozen/unresponsive.

Postby MadVin » Mon Aug 30, 2021 2:08 pm

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.

ESP_Sprite
Posts: 9727
Joined: Thu Nov 26, 2015 4:08 am

Re: ESP32 gpio_isr_handler interrupt getting frozen/unresponsive.

Postby ESP_Sprite » Tue Aug 31, 2021 1:19 am

Can you share any code? Can you tell where exactly the ISR hangs?

Praveen.kullu
Posts: 7
Joined: Thu Sep 30, 2021 9:57 am

Re: ESP32 gpio_isr_handler interrupt getting frozen/unresponsive.

Postby Praveen.kullu » Thu Sep 30, 2021 12:47 pm

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 79 guests