Search found 19 matches

by adherent
Mon Apr 09, 2018 7:26 am
Forum: General Discussion
Topic: Any timeline for IDF release 3.0
Replies: 2
Views: 3920

Re: Any timeline for IDF release 3.0

Thanks for the update, I will do as you suggested.
by adherent
Sun Apr 08, 2018 8:18 pm
Forum: General Discussion
Topic: Any timeline for IDF release 3.0
Replies: 2
Views: 3920

Any timeline for IDF release 3.0

I am aware that ESP-IDF Pre-release 3.0-rc1 (https://github.com/espressif/esp-idf/releases) has been intensively updated everyday. Is there any timeline to release version 3.0 officially? I need one feature in this release and thinking if I should wait or just take the current release version. But m...
by adherent
Mon Apr 02, 2018 8:08 pm
Forum: General Discussion
Topic: read ADC result will trigger other GPIO Pin's interrupt
Replies: 2
Views: 4989

Re: read ADC result will trigger other GPIO Pin's interrupt

krzychb wrote:Hi adherent,
adherent wrote:Any idea or hint will be highly appreciated!
Ref: https://github.com/espressif/esp-idf/issues/1096
Thank a lot for the hint.
by adherent
Mon Apr 02, 2018 7:08 pm
Forum: General Discussion
Topic: read ADC result will trigger other GPIO Pin's interrupt
Replies: 2
Views: 4989

read ADC result will trigger other GPIO Pin's interrupt

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); //hook isr handler for specific gpio p...
by adherent
Fri Jan 19, 2018 9:53 am
Forum: General Discussion
Topic: interrupt still triggered after interrupt service has been disabled
Replies: 8
Views: 10767

Re: interrupt still triggered after interrupt service has been disabled

Solved, after reading this post: https://esp32.com/viewtopic.php?f=2&t=1836

The problem here is during the time while one GPIO's interrupt is disabled, the newly generated interrupts are somehow "registered" internally, and as soon as the interrupt is enabled again ISR will be called.
by adherent
Wed Jan 17, 2018 10:28 am
Forum: General Discussion
Topic: interrupt still triggered after interrupt service has been disabled
Replies: 8
Views: 10767

Re: interrupt still triggered after interrupt service has been disabled

The weird behavior is that when I pressed the button, and kept it pressed. I saw ISR counter kept incrementing, although interrupt of GPIO26 has been disabled. Hi adherent, I don't have the time to mock up a test. But what I woundered is: Keeping on pressed down that button won't trigger any kind o...
by adherent
Wed Jan 17, 2018 10:24 am
Forum: General Discussion
Topic: interrupt still triggered after interrupt service has been disabled
Replies: 8
Views: 10767

Re: interrupt still triggered after interrupt service has been disabled

Just wondering: Are you sure those interrupts stem from GPIO26? If for whatever reason, any of the other GPIO pins are pulled low, you'd also see this behaviour. Asking because I just took a look at the GPIO int code, and it seems simple enough that I couldn't spot any obvious bugs that could gener...
by adherent
Tue Jan 16, 2018 9:50 am
Forum: General Discussion
Topic: interrupt still triggered after interrupt service has been disabled
Replies: 8
Views: 10767

Re: interrupt still triggered after interrupt service has been disabled

Thanks for the quick reply. Sure I can put some codes here. For the sake of readability the pasted code is simplified. First a brief description of the configuration. GPIO26 used as INPUT, rising edge and falling edge are enabled for receiving interrupt. Internal pull-up enabled, I add one external ...
by adherent
Mon Jan 15, 2018 9:36 pm
Forum: General Discussion
Topic: interrupt still triggered after interrupt service has been disabled
Replies: 8
Views: 10767

interrupt still triggered after interrupt service has been disabled

Hi all, I use GPIO pin to receive interrupts. Rising and falling edge are both enabled. As soon as one interrupt has been triggered, I first send the pin number to a task. Inside the task I disabled the interrupt for that pin using gpio_intr_disable , then do some gpio level manipulation which could...