Search found 8 matches

by therealergo
Fri Aug 26, 2022 12:15 pm
Forum: ESP-IDF
Topic: BLE peripheral nimble unable to terminate connection
Replies: 1
Views: 2541

Re: BLE peripheral nimble unable to terminate connection

For anyone stumbling across this thread from a search (it's the first result for a lot of combinations of "0x212" & "BLE Nimble terminate connection" & "esp32"), the OP has found a solution here: https://github.com/espressif/esp-idf/issues/8555
by therealergo
Mon Sep 06, 2021 8:30 pm
Forum: Hardware
Topic: ESP32-WROOM-32D dev board upload over UART
Replies: 2
Views: 3729

Re: ESP32-WROOM-32D dev board upload over UART

What exactly are you seeing on the serial terminal? Is the chip actually in download mode when you try to flash it? Do you have a ground connected to the TTL converter? In order to be reprogrammed, the programmer will usually put the chip in download mode by resetting the chip while holding GPIO0 lo...
by therealergo
Mon Sep 06, 2021 8:17 pm
Forum: Sample Code
Topic: Statically-Allocated I2C Component
Replies: 1
Views: 12120

Statically-Allocated I2C Component

Hey All! In a recent project, I was having issues with jitter caused by all of the ESP-IDF I2C driver's heap allocations. It looks like there's currently work going into updating this driver to allow static allocation in the ESP-IDF repo, but unfortunately I'm stuck on ESP-IDF 4.3 right now so I can...
by therealergo
Mon Jul 12, 2021 5:15 pm
Forum: General Discussion
Topic: Jump from ISR to task, timing problems
Replies: 1
Views: 2285

Re: Jump from ISR to task, timing problems

Are you using WiFi or Bluetooth or BLE? Those all create high-priority tasks on CPU 0. You can try using xTaskCreatePinnedToCore to pin your gpio task to a specific core. If you're using gpio_install_isr_service, you can also pass that ESP_INTR_FLAG_IRAM to ensure that your ISR is called when the ca...
by therealergo
Mon Jul 12, 2021 4:35 pm
Forum: Hardware
Topic: Can the ESP32 interupt and read port within 1us?
Replies: 6
Views: 5982

Re: Can the ESP32 interupt and read port within 1us?

It might also be worth trying ESP32's assembly high-level interrupts. I've never used them personally, but they can allegedly give interrupt latencies that are significantly lower than the ~2us for regular ESP32 C interrupts. See: https://esp32.com/viewtopic.php?t=422 See: https://docs.espressif.com...
by therealergo
Mon Jul 12, 2021 4:26 pm
Forum: Hardware
Topic: 32kHz oscillator on ESP-WROVER-KIT-VE not working
Replies: 13
Views: 14262

Re: 32kHz oscillator on ESP-WROVER-KIT-VE not working

I've re-tested everything on the WROVER-KIT with the 10M resistor between XN and XP, and it's been reliably running for an entire day now. (!!!) Maybe the flux/alcohol on the resistor hadn't fully dried when I first tested it. The XN/XP differential on the WROVER-KIT looks something like this, const...
by therealergo
Sat Jul 10, 2021 2:55 am
Forum: Hardware
Topic: 32kHz oscillator on ESP-WROVER-KIT-VE not working
Replies: 13
Views: 14262

Re: 32kHz oscillator on ESP-WROVER-KIT-VE not working

I've tried adding a parallel 10MOhm resistor across the 32.768k crystal on the ESP-WROVER-KIT. I've attached a photo of the resistor, and confirmed that it is properly soldered in place. With it in place, the measured resistance across the crystal is now ~6MOhm. This did not fix the problem: I still...
by therealergo
Wed Jun 30, 2021 6:19 pm
Forum: Hardware
Topic: 32kHz oscillator on ESP-WROVER-KIT-VE not working
Replies: 13
Views: 14262

Re: 32kHz oscillator on ESP-WROVER-KIT-VE not working

Was there any solution found for this? I also have a ESP-WROVER-KIT-V4.1 and I'm seeing the same behavior. No matter what clock settings I select, I see: W (551) clk: 32 kHz XTAL not found, switching to internal 150 kHz oscillator I've tested continuity, and I can confirm that the 32.768kHz crystal ...