Search found 5 matches
- Wed Sep 25, 2019 2:05 am
- Forum: ESP-IDF
- Topic: ESP http and internet disconnection error behaviour question
- Replies: 0
- Views: 1628
ESP http and internet disconnection error behaviour question
Hi, What happens if there is a Wi-Fi disconnection event (eg: Wi-Fi AP kicks device or turns off) in the middle of an HTTP transaction? Such as this transaction: esp_http_client_config_t ota_check = { .url = OTA_CHECK_URL, .event_handler = _http_event_handler, .cert_pem = (char *)server_cert_pem_sta...
- Sat Sep 21, 2019 4:41 pm
- Forum: ESP-IDF
- Topic: Pin interrupt only running once?
- Replies: 3
- Views: 4253
Re: Pin interrupt only running once?
I fixed that 1 << 23 error.
The interrupt still only fires once.
I only get one printout per restart of "Interrupt" to the serial monitor, and the P23 output goes low and stays low.
The interrupt still only fires once.
I only get one printout per restart of "Interrupt" to the serial monitor, and the P23 output goes low and stays low.
- Thu Sep 19, 2019 9:02 pm
- Forum: ESP-IDF
- Topic: Pin interrupt only running once?
- Replies: 3
- Views: 4253
Pin interrupt only running once?
Hi, I have GPIO17 set as an input interrupt pin with pullup/down disabled, and I'm using an external pullup resistor. This is connected to an optosiolator (LTV-844). I'm feeding the optoisolater a 60Hz test signal, so I should be getting interrupts at 120Hz. However, the interrupt seems to only run ...
- Sat Sep 14, 2019 4:38 pm
- Forum: ESP-IDF
- Topic: Timer frequency question
- Replies: 2
- Views: 3384
Re: Timer frequency question
Thanks, I guess that's the answer then.ESP_Sprite wrote: ↑Sat Sep 14, 2019 7:52 amI think you're running into the fact that interrupts just aren't that quick on the Xtensa.
- Fri Sep 13, 2019 1:59 am
- Forum: ESP-IDF
- Topic: Timer frequency question
- Replies: 2
- Views: 3384
Timer frequency question
Hi, I'm getting something wrong with timer settings and how long things actually take. Output is much to slow for a timer set on an 80MHz clock with a 2 divider. I'm trying to use the SPI peripheral to send some serial data out, then set off a timer to set a pin low for ~150ns, set the pin high for ...