You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I registered ISR for 4 GPIO pins to respond to falling and rising edge, simplified code as following:
`
//install gpio isr service
gpio_install_isr_service(ESP_INTR_FLAG_DEFAULT);
And I observed that as soon as I try to read one ADC channel, ISR gpio_isr_handler is triggered, whatever GPIO pin it is. e.g.: int temp; adc2_get_raw( ADC2_CHANNEL_2, ADC_WIDTH_12Bit, &temp);
Here ADC2_CHANNEL_2 is GPIO2, I tried also with other channels, e.g. channel7(GPIO27), channel8(GPIO25), the behavior is the same.
Only GPIO36 and GPIO39 have the weird behavior, 34, 35 seem ok. And the level of GPIO36 and 39 remain high, no level change at all, but still the ISR is triggered.
Any idea or hint will be highly appreciated!
The text was updated successfully, but these errors were encountered:
Hi all,
I encountered a very weird issue.
I am using esp wrover as development kit.
I registered ISR for 4 GPIO pins to respond to falling and rising edge, simplified code as following:
`
//install gpio isr service
gpio_install_isr_service(ESP_INTR_FLAG_DEFAULT);
`
And I observed that as soon as I try to read one ADC channel, ISR gpio_isr_handler is triggered, whatever GPIO pin it is. e.g.:
int temp; adc2_get_raw( ADC2_CHANNEL_2, ADC_WIDTH_12Bit, &temp);
Here ADC2_CHANNEL_2 is GPIO2, I tried also with other channels, e.g. channel7(GPIO27), channel8(GPIO25), the behavior is the same.
Only GPIO36 and GPIO39 have the weird behavior, 34, 35 seem ok. And the level of GPIO36 and 39 remain high, no level change at all, but still the ISR is triggered.
Any idea or hint will be highly appreciated!
The text was updated successfully, but these errors were encountered: