Search found 2 matches
- Sat Oct 30, 2021 12:00 pm
- Forum: ESP-IDF
- Topic: skip external interrupts with gpio_install_isr_service() but not with gpio_isr_register()
- Replies: 2
- Views: 2230
skip external interrupts with gpio_install_isr_service() but not with gpio_isr_register()
Hi guys! I try handle external interrupt every 500 us (2000 Hz). #define USE_GPIO_ISR_SERVICE // sometime skip interrupts when use interrupt service IRAM_ATTR static void gpio_isr_handler(void* arg) { #ifndef USE_GPIO_ISR_SERVICE uint32_t gpio_intr_status = READ_PERI_REG(GPIO_STATUS_REG); //read sta...
- Thu Feb 06, 2020 12:50 pm
- Forum: ESP-IDF
- Topic: Custom UART1 TX/RX to GPIO17/GPIO16 pins
- Replies: 0
- Views: 2087
Custom UART1 TX/RX to GPIO17/GPIO16 pins
I configure project with: CONFIG_ESP_CONSOLE_UART_CUSTOM=y # CONFIG_ESP_CONSOLE_UART_NONE is not set # CONFIG_ESP_CONSOLE_UART_CUSTOM_NUM_0 is not set CONFIG_ESP_CONSOLE_UART_CUSTOM_NUM_1=y CONFIG_ESP_CONSOLE_UART_NUM=1 CONFIG_ESP_CONSOLE_UART_TX_GPIO=17 CONFIG_ESP_CONSOLE_UART_RX_GPIO=16 I flash ch...