Search found 598 matches

by boarchuz
Sun Sep 15, 2024 1:43 pm
Forum: General Discussion
Topic: Magic byte ERROR
Replies: 2
Views: 327

Re: Magic byte ERROR

When I read the first 4 bytes from app2 partition, I see 0xE9 0x05 0x02 0x22. How are you doing this? esptool.py? I trust the bootloader when it says there's actually 00 05 02 02 there. Have you erased that region of flash beforehand? Not doing this is likely to be your problem based on those seque...
by boarchuz
Wed Sep 04, 2024 7:08 am
Forum: General Discussion
Topic: Current draw when transmitting ESPNOW
Replies: 4
Views: 1729

Re: Current draw when transmitting ESPNOW

Probably related (WiFi driver retrying many times): https://github.com/espressif/esp-idf/issues/9383

And that indicates that no changes are planned so you might consider exclusively using broadcasts instead, with your own acknowledgement implementation on top of that if necessary.
by boarchuz
Fri Aug 30, 2024 11:00 am
Forum: ESP-IDF
Topic: esp32c3 cannot control gpio21
Replies: 3
Views: 863

Re: esp32c3 cannot control gpio21

gpio_config_t is not initialised

Also you config(21) and then set_level(11)
by boarchuz
Fri Aug 23, 2024 1:25 pm
Forum: ESP-IDF
Topic: IDF5.3 ESP32s3, NAU88C22, delay between SDA and SCL
Replies: 10
Views: 1877

Re: IDF5.3 ESP32s3, NAU88C22, delay between SDA and SCL

I'm not sure exactly which field controls the delay but if you mess with these one-by-one and view the result with your oscilloscope, you'll find it eventually: https://github.com/espressif/esp-idf/blob/master/components/soc/esp32s3/include/soc/i2c_reg.h Some likely candidates: I2C_SCL_LOW_PERIOD, I...
by boarchuz
Fri Aug 23, 2024 9:59 am
Forum: ESP-IDF
Topic: Trimming building unnecessary IDF modules
Replies: 15
Views: 2220

Re: Trimming building unnecessary IDF modules

Setting compiler optimisation to 'Size', log level to 'None', and assertions to 'Silent' should get you most of the way there. Enabling nano formatting options also helps a lot iirc (uses printf in ROM so you don't need it linked in your binary). Also see: https://docs.espressif.com/projects/esp-idf...
by boarchuz
Fri Aug 23, 2024 9:52 am
Forum: General Discussion
Topic: WiFi list of duplicated SSID access points (AP)
Replies: 2
Views: 786

Re: WiFi list of duplicated SSID access points (AP)

Station config has fields to control how the driver should select the best AP:
https://github.com/espressif/esp-idf/bl ... #L386-L387
Or you can use custom logic and specify the BSSID.
by boarchuz
Fri Aug 23, 2024 9:44 am
Forum: Hardware
Topic: Issue with GPIO36 Interrupt When Using BLE on ESP32
Replies: 2
Views: 1165

Re: Issue with GPIO36 Interrupt When Using BLE on ESP32

Yes, this is documented behaviour affecting 36 and 39. Look up the ESP32 errata document for details. I wouldn't have expected it to trigger continuously though, only once on initialisation when the ADC is powered up. Are you using automatic light sleep, or manually disabling and enabling BLE period...