Search found 75 matches

by chrismerck
Wed Apr 24, 2019 11:08 pm
Forum: General Discussion
Topic: 40 kHz GPIO interrupt
Replies: 6
Views: 6733

Re: 40 kHz GPIO interrupt

Thanks WiFive. Indeed we were considering ULP, but would prefer to use the XTENSA cores.

Update: We are exploring running FreeRTOS only on core 0 and putting our ISR on core 1.
by chrismerck
Fri Apr 19, 2019 11:28 am
Forum: General Discussion
Topic: 40 kHz GPIO interrupt
Replies: 6
Views: 6733

40 kHz GPIO interrupt

How can I get a GPIO interrupt to pre-empt WiFi and RMT operations? I need high priority I have tried using ESP_INTR_FLAG_LEVELn, but I get exceptions for even LEVEL1. Only the default flags, or IRAM flag work. --- DETAIL: We've got a 40 kHz clock running to an ESP32 GPIO pin, with an interrupt ena...
by chrismerck
Mon Mar 04, 2019 8:52 pm
Forum: Hardware
Topic: ESP32 5GHz
Replies: 49
Views: 139905

Re: ESP32 5GHz

Thanks Sprite. Hopefully we do not need to switch platforms, but smart-home customers are demanding 5GHz.
by chrismerck
Wed Feb 27, 2019 7:39 pm
Forum: Hardware
Topic: [SOLVED] RTC Memory Corruption after Deep Sleep
Replies: 2
Views: 4259

Re: RTC Memory Corruption after Deep Sleep

:facepalm: Thanks Igrr. Your quick response saved us a lot of headache!

Increasing the deep sleep time made the situation worse (as expected), and adding the following before deep_sleep totally fixed the issue:

Code: Select all

esp_sleep_pd_config(ESP_PD_DOMAIN_RTC_SLOW_MEM, ESP_PD_OPTION_ON);
by chrismerck
Mon Feb 25, 2019 9:46 pm
Forum: Hardware
Topic: [SOLVED] RTC Memory Corruption after Deep Sleep
Replies: 2
Views: 4259

[SOLVED] RTC Memory Corruption after Deep Sleep

We've observed a strange behavior on 2 units of ESP32 dev kits where the RTC memory becomes corrupted after deep sleep. We are still working to isolate the problem, and hope to provide an example project that shows the issue, but for now I just want to share what we are seeing: /* application writes...
by chrismerck
Fri Jan 04, 2019 2:37 pm
Forum: ESP-IDF
Topic: ESP32 Synchronize time for SSL Authentication
Replies: 1
Views: 3060

Re: ESP32 Synchronize time for SSL Authentication

I don't think that AWS IoT requires having an accurate local time. I believe that by using certificates generated by AWS which are still valid in real clock time, it doesn't matter what the time is on the ESP32, as long as the embedded ssl library (mbedtls) doesn't reject the certs because it thinks...
by chrismerck
Fri Jan 04, 2019 2:34 pm
Forum: ESP-IDF
Topic: WSL Ubuntu & Silabs CP210x => COM Port Problem
Replies: 4
Views: 9034

Re: WSL Ubuntu & Silabs CP210x => COM Port Problem

Hey Georg, In my experience, using a serial port through some amount of emulation is only useful in an emergency... for serious development, it's best to have it native. Otherwise you waste a lot of time with comms issues. If you're stuck on Windows, note that the build system and flashing does work...
by chrismerck
Fri Jan 04, 2019 2:32 pm
Forum: ESP-IDF
Topic: WiFi gateway fixed IP as an alternative mDNS
Replies: 4
Views: 5843

Re: WiFi gateway fixed IP as an alternative mDNS

I don't know of a convenient way to configure the softAP IP, but you can change the gateway address by modifying the IDF code: diff --git a/components/tcpip_adapter/tcpip_adapter_lwip.c b/components/tcpip_adapter/tcpip_adapter_lwip.c index 8198cb344..d5ed71073 100644 --- a/components/tcpip_adapter/t...
by chrismerck
Fri Jan 04, 2019 2:29 pm
Forum: ESP-IDF
Topic: Merge all bin files into single one
Replies: 3
Views: 8175

Re: Merge all bin files into single one

We had considered using a single bin, but it turned out to slow down the programming process unacceptably, so we just use a single esptool command with multiple files (partition table, bootloader, app), and it worked great. Usually there's a script that flashes a production package anyways, so it's ...
by chrismerck
Fri Jan 04, 2019 2:21 pm
Forum: ESP-IDF
Topic: AWS IoT and HTTPS are mutually failed
Replies: 16
Views: 18623

Re: AWS IoT and HTTPS are mutually failed

Hey Samson, for what it's worth, I use multiple SSL connections simultaneously (AWS IoT over TLS with certificate validation) and HTTPS using mbedtls socket (although I'm not sure whether the certificate validation is being performed, we don't care in our application). --- No problems thus far. [EDI...