Search found 4 matches
- Wed Jun 05, 2019 7:40 am
- Forum: ESP-IDF
- Topic: disable and enable gpio interrupt core problem
- Replies: 6
- Views: 7559
Re: disable and enable gpio interrupt core problem
Thanks a lot it works!!!
- Wed Jun 05, 2019 6:38 am
- Forum: ESP-IDF
- Topic: disable and enable gpio interrupt core problem
- Replies: 6
- Views: 7559
Re: disable and enable gpio interrupt core problem
In another c file (application.c), I do this:
- void application_init(void)
- {
- push_btn_evt_queue = xQueueCreate(5, sizeof(uint8_t));
- xTaskCreate(push_btn, "push_btn", 4096, NULL, CONFIG_APP_PUSH_BTN_PRIORITY, NULL);
- }
- Tue Jun 04, 2019 12:22 pm
- Forum: ESP-IDF
- Topic: disable and enable gpio interrupt core problem
- Replies: 6
- Views: 7559
Re: disable and enable gpio interrupt core problem
I put some parts of my code below. As you can see, the disable and enable isr functions are called within the same context, in the push_btn task. However, as I said earlier, the gpio_intr_enable function doesn't work after pushing the button a random number of times. The issue seems to be that the e...
- Mon Jun 03, 2019 1:51 pm
- Forum: ESP-IDF
- Topic: disable and enable gpio interrupt core problem
- Replies: 6
- Views: 7559
disable and enable gpio interrupt core problem
Hi, I have a problem concerning the gpio_intr_disbale and gpio_intr_enable functions. It seems that sometimes, after diabling some gpio interruption, the enable function doesn't work and doesn't use the right core to reactivate, even if both functions are called within the same task and have the sam...