Search found 31 matches

by tpbedford
Tue Mar 26, 2024 9:56 pm
Forum: ESP-IDF
Topic: WPA2-Enterprise using EAP-TLS? (no password.)
Replies: 1
Views: 16714

Re: WPA2-Enterprise using EAP-TLS? (no password.)

For anyone finding this refer the ticket but: a) certs were using an encryption that was unsupported by mbedtls b) the "len" arg given to esp_eap_client_set_certificate_and_key() unintuitively needs to be strlen(cert)+1 c) the esp_eap_client_set_certificate_and_key() doesn't parse the cert, so alway...
by tpbedford
Thu Mar 21, 2024 4:43 am
Forum: ESP-IDF
Topic: WPA2-Enterprise using EAP-TLS? (no password.)
Replies: 1
Views: 16714

WPA2-Enterprise using EAP-TLS? (no password.)

Have opened a ticket https://github.com/espressif/esp-idf/issues/13429 but thought the community might have some ideas. I'm trying to connect to an enterprise wifi (WPA2 Enterprise using EAP-TLS) but the enterprise AP reports that the ESP is requesting PEAP. But, I'm not specifying a username/passwo...
by tpbedford
Wed Dec 20, 2023 1:54 am
Forum: ESP-IDF
Topic: Crash when using ESP-ADF and I2S, along with wifi? (resolved)
Replies: 1
Views: 3077

Re: Crash when using ESP-ADF and I2S, along with wifi? (resolved)

Resolved by ensuring the i2s_obj instances are alloc'd in internal RAM (not PSRAM): esp_err_t i2s_driver_install(i2s_port_t i2s_num, const i2s_config_t *i2s_config, int queue_size, void *i2s_queue) { ... /* Step 2: Allocate driver object and register to platform */ //i2s_obj_t *i2s_obj = calloc(1, s...
by tpbedford
Wed Dec 20, 2023 1:00 am
Forum: ESP-IDF
Topic: Crash when using ESP-ADF and I2S, along with wifi? (resolved)
Replies: 1
Views: 3077

Crash when using ESP-ADF and I2S, along with wifi? (resolved)

Can anyone shed some light on a crash I'm seeing? It seems to be a NULL exception error. I'm using ESP-ADF 2.6 and ESP-IDF 5.1 I don't understand why there would be any interaction between spi_flash_ll_cmd_is_done() and _xt_medint2() and i2s_intr_handler_default() as seen in the stack trace. It occu...
by tpbedford
Thu Dec 14, 2023 4:07 am
Forum: Hardware
Topic: Maximum PDM Clock rate (ESP32-WROVER)
Replies: 2
Views: 37326

Re: Maximum PDM Clock rate (ESP32-WROVER)

Try: i2s_config.mclk_multiple = 1024; I've not used PDM mode but in PCM mode if I leave this as 0 it seems to default to 256, which for me trying to use .fixed_mclk=16384000 would cause my actual mclk to top out at 4096000Hz. But, specifying mclk_multiple=1024 allowed me to hit 16.384MHz as requeste...
by tpbedford
Wed Nov 15, 2023 8:27 pm
Forum: General Discussion
Topic: Managing RTC clock drift in deep sleep?
Replies: 6
Views: 5309

Re: Managing RTC clock drift in deep sleep?

I looked into this recently, too, on ESP32. .. tldr- If you're up for a challenge, there might be some gains to be made here. Otherwise, life's too short: use an external RTC and move on. Wow, some valuable stuff in there, thanks! > use an external RTC Do you mean external crystal? (or either, I su...
by tpbedford
Wed Nov 15, 2023 9:09 am
Forum: General Discussion
Topic: Managing RTC clock drift in deep sleep?
Replies: 6
Views: 5309

Re: Managing RTC clock drift in deep sleep?

A couple of months ago, I made a short video about this (https://www.youtube.com/watch?v=fZAR8WTKiSg). I tested it on ESP32-S3, but it should be valid for the ESP32-C3 as well ... Algorithmically, these are more or less all options. Thanks, I'll check out that video and if I get to revisit this I'l...
by tpbedford
Mon Sep 11, 2023 9:37 pm
Forum: General Discussion
Topic: RTC time from wifi beacon, without connecting?
Replies: 4
Views: 2047

Re: RTC time from wifi beacon, without connecting?

martins wrote:
Fri Sep 08, 2023 6:53 am
And even if it was available, how can you be sure it has correct time?
In my scenario, it's because we also control the AP.

But I haven't found that it's available, except perhaps as custom meta data? Perhaps I can look into that.

Thanks, all.
by tpbedford
Thu Sep 07, 2023 7:58 am
Forum: General Discussion
Topic: timer is getting delayed due to some reason
Replies: 8
Views: 2685

Re: timer is getting delayed due to some reason

Where does APPSendingMessage event go? Who is listening? There's so much code you're not posting here it's impossible to work out how you actually intend this to work. The LED loop runs in some task (the same one that starts the timer). The loop needs to check some condition so it knows when to stop...
by tpbedford
Thu Sep 07, 2023 5:52 am
Forum: General Discussion
Topic: timer is getting delayed due to some reason
Replies: 8
Views: 2685

Re: timer is getting delayed due to some reason

kesha.modhia wrote:
Thu Sep 07, 2023 5:48 am
Yes, PairLedTimerExpiredCallback() will OFF the blinking
How? Post the code for this.

One method is that your loop continues indefinitely (instead of 600 iterations) and also tests for a semaphore set by PairLedTimerExpiredCallback(). Once it detects the semaphore, it exits.