Search found 6 matches

by Isaac_Atia
Tue Oct 29, 2024 4:29 pm
Forum: General Discussion
Topic: Using two gpio pins to trigger an interrupt in esp-idf
Replies: 5
Views: 1281

Re: Using two gpio pins to trigger an interrupt in esp-idf

I finally solved this. I did restructure my code just to make it readable, it's not much different from the first one. I did find out that the main issue stemmed from setting on one of the gpios as an output. I noticed while searching online that, quiet a few people run into this same issue where es...
by Isaac_Atia
Mon Oct 28, 2024 9:29 am
Forum: General Discussion
Topic: Using two gpio pins to trigger an interrupt in esp-idf
Replies: 5
Views: 1281

Re: Using two gpio pins to trigger an interrupt in esp-idf

Is ignitionOff() your ISR handler ? Did you use gpio_install_isr_service() & gpio_isr_handler_add() ? Yes ignitionOff() is my ISR handler. Originally the printf() statement wasn't included, I just did that for debugging purposes. And yes I did use gpio_install_isr_service() and gpio_sir_handler_add...
by Isaac_Atia
Fri Oct 25, 2024 5:03 pm
Forum: General Discussion
Topic: Using two gpio pins to trigger an interrupt in esp-idf
Replies: 5
Views: 1281

Using two gpio pins to trigger an interrupt in esp-idf

I am trying to trigger an interrupt using two gpio pins say A and B. The interrupt would only trigger if gpio A is a low and gpio B is a high. This is the code I am using to set the interrupt pins and also to trigger it. gpio_config_t intr_conf = { .mode = GPIO_MODE_INPUT, .pin_bit_mask = (1ULL << O...
by Isaac_Atia
Mon Jun 24, 2024 9:42 am
Forum: General Discussion
Topic: Guru Meditation Error: Core 0 panic'ed (Interrupt wdt timeout on CPU0) when using 12v supply
Replies: 5
Views: 1812

Re: Guru Meditation Error: Core 0 panic'ed (Interrupt wdt timeout on CPU0) when using 12v supply

Are you setting up the GPIOs (and enabling interrupts on them) before you install the GPIO driver that handles those interrupts, perhaps? Yes exactly. Also I have gotten permission to share part of the code as long as it isn't anything critical. So here is how I am setting and installing the gpio w...
by Isaac_Atia
Mon Jun 24, 2024 12:40 am
Forum: General Discussion
Topic: Guru Meditation Error: Core 0 panic'ed (Interrupt wdt timeout on CPU0) when using 12v supply
Replies: 5
Views: 1812

Re: Guru Meditation Error: Core 0 panic'ed (Interrupt wdt timeout on CPU0) when using 12v supply

Can we have a look at your code? Specifically, are you using GPIO interrupts? For reasons beyond my control I am not permitted to show the code because it will end up in a product. However to answer your question, yes I am using GPIO interrupts (2 infact). An observation I also made recently after ...
by Isaac_Atia
Fri Jun 21, 2024 3:26 pm
Forum: General Discussion
Topic: Guru Meditation Error: Core 0 panic'ed (Interrupt wdt timeout on CPU0) when using 12v supply
Replies: 5
Views: 1812

Guru Meditation Error: Core 0 panic'ed (Interrupt wdt timeout on CPU0) when using 12v supply

I know this question has been asked frequently but somehow they don't provide me with the answers I seek so I am asking again. I have an application running on a custom board with ESP32-S3-WROOM-1-N16R2 and some other sensors and power supply modules. I designed my power supply in such a way that I ...