Search found 92 matches

by gtjoseph
Mon Jul 04, 2022 1:47 am
Forum: ESP-IDF
Topic: What's the current consensus on how to solve ESP32 randomly losing WIFI connection?
Replies: 2
Views: 1950

Re: What's the current consensus on how to solve ESP32 randomly losing WIFI connection?

I haven't seen the posts and I've not had the issue myself but turning debug logging for all the WiFi and phy components might help. Have you checked the key lifetimes on the access point?
by gtjoseph
Fri Jul 01, 2022 9:01 pm
Forum: General Discussion
Topic: gpio_set_pull_mode & gpio_pullup_en
Replies: 1
Views: 2681

Re: gpio_set_pull_mode & gpio_pullup_en

gpio_set_pull_mode()'s purpose is to call the pullup/pulldown en/dis calls for you so no need to call gpio_pullup_en yourself... switch (pull) { case GPIO_PULLUP_ONLY: gpio_pulldown_dis(gpio_num); gpio_pullup_en(gpio_num); break; case GPIO_PULLDOWN_ONLY: gpio_pulldown_en(gpio_num); gpio_pullup_dis(g...
by gtjoseph
Thu Jun 30, 2022 12:10 pm
Forum: ESP-IDF
Topic: [SOLVED] Using the phy partition
Replies: 2
Views: 2545

Re: Using the phy partition

Only the PHY calibration data is stored in NVS. The PHY init data can be stored in either the "phy" partition or embedded into the application binary. The phy partition is created by default so it's a little confusing as to why the default is to embed the data in the app binary. Anyway, I guess it's...
by gtjoseph
Fri Jun 17, 2022 2:04 pm
Forum: ESP-IDF
Topic: default compiling rules sdkconfig
Replies: 3
Views: 2363

Re: default compiling rules sdkconfig

sdkconfig.defaults.esp32 would probably be the best place since those options might not exist for other targets.
by gtjoseph
Fri Jun 17, 2022 2:01 pm
Forum: ESP-IDF
Topic: ESP-IDF 4.4.1: A question about and a possible problem with data storage classes
Replies: 2
Views: 1742

Re: ESP-IDF 4.4.1: A question about and a possible problem with data storage classes

What version of gcc are you running on your linux host? I tried 8.x, 9.x and 12.x and they all throw the same error. What options are you passing on the linux host. In any case... Change static const char * name_primitive = "Primitive"; to static char * const name_primitive = "Primitive"; See https:...
by gtjoseph
Fri Jun 17, 2022 12:07 pm
Forum: ESP-IDF
Topic: Is the release/v5.0 branch stable enough to start testing?
Replies: 1
Views: 1024

Is the release/v5.0 branch stable enough to start testing?

I've noticed that there's now a release/v5.0 branch for esp-idf. Is it stable enough to start testing migrations? I understand that there will be issues but I want to get a head start, especially since gcc moved to version 11.
by gtjoseph
Wed Jun 15, 2022 11:11 am
Forum: Hardware
Topic: how can connect esp32-s3 to the sd card in 4-bit sdio protocol
Replies: 5
Views: 8284

Re: how can connect esp32-s3 to the sd card in 4-bit sdio protocol

There's an example for this under esp-idf/examples/storage/sdmmc.
From a hardware perspective, using sdio with the s3 is easy because the s3 allows you to use just about any GPIO for any of the sdio signals.
by gtjoseph
Wed Jun 15, 2022 10:58 am
Forum: General Discussion
Topic: Issues with using multiprocessing and TwoWire I2C
Replies: 4
Views: 3160

Re: Issues with using multiprocessing and TwoWire I2C

As I said, the original TwoWire Arduino code was never thread-safe. Espressif had to add a lot of locking to get that model to work in multiple threads and even with that, it's not perfect. The only suggestions I have are... Check the setting of DISABLE_HAL_LOCKS under Arduino in menuconfig. Can you...