I have been able to test more this issue and I discard the direct relation of the wifi with this delay.
I have 2 interrupt pins configured using the same process (the same code lines) but in differents tasks (the pin 33 in a task pinned to core '1' and the pin 19 in a task pinned to the core '0 ...
Search found 4 matches
- Mon Jul 29, 2019 7:04 am
- Forum: ESP-IDF
- Topic: Critical attention to GPIO interrupts
- Replies: 5
- Views: 8485
- Fri Jul 26, 2019 8:40 am
- Forum: ESP-IDF
- Topic: Critical attention to GPIO interrupts
- Replies: 5
- Views: 8485
Re: Critical attention to GPIO interrupts
I'm detecting another delay related with the GPIO interrupts from ESP32.
The GPIO and interrupt configuration is:
gpio_config_t xConf;
xConf.intr_type = GPIO_INTR_DISABLE;
xConf.pin_bit_mask = (1ULL << 33);
xConf.mode = GPIO_MODE_INPUT;
xConf.pull_up_en = GPIO_PULLUP_DISABLE;
xConf.pull_down ...
The GPIO and interrupt configuration is:
gpio_config_t xConf;
xConf.intr_type = GPIO_INTR_DISABLE;
xConf.pin_bit_mask = (1ULL << 33);
xConf.mode = GPIO_MODE_INPUT;
xConf.pull_up_en = GPIO_PULLUP_DISABLE;
xConf.pull_down ...
- Wed Jul 17, 2019 12:53 pm
- Forum: ESP-IDF
- Topic: Critical attention to GPIO interrupts
- Replies: 5
- Views: 8485
Re: Critical attention to GPIO interrupts
The signal on the pin 33 is a periodic square signal of 10ms. This is only a test code to validate the viability.
I configured on menuconfig->component-Wifi that only work on Core 0 and in the app_main() I pinned the Wifi task to the core 0. I hope this is enough to ensure that only the core 0 ...
I configured on menuconfig->component-Wifi that only work on Core 0 and in the app_main() I pinned the Wifi task to the core 0. I hope this is enough to ensure that only the core 0 ...
- Tue Jul 16, 2019 10:19 am
- Forum: ESP-IDF
- Topic: Critical attention to GPIO interrupts
- Replies: 5
- Views: 8485
Critical attention to GPIO interrupts
I'm using ESP32 for develop a producto where I need to attend the interrupts without any delays. But when I transmit by Wifi interface the attention of interrupts is delayed some microseconds (50 - 100us).
I tried to execute wifi task only in the core 0 and the manage of signal only in the core 1 ...
I tried to execute wifi task only in the core 0 and the manage of signal only in the core 1 ...