Search found 377 matches

by boarchuz
Wed Sep 30, 2020 12:05 pm
Forum: ESP-IDF
Topic: ESP NOW without NVS?
Replies: 8
Views: 2018

Re: ESP NOW without NVS?

Although I can't understand why we have to "manually" call esp_phy_rf_init It needs the calibration data from somewhere. You can enable NVS so that it can store/load it as needed, you can use esp_phy_rf_init to set this data managed by your application, or you can do neither and it will need to per...
by boarchuz
Tue Sep 29, 2020 3:23 pm
Forum: ESP-IDF
Topic: ESP NOW without NVS?
Replies: 8
Views: 2018

Re: ESP NOW without NVS?

Hi Timm, I've had a tinker today to refresh my memory. Here are a few things: Please go to that first link again. I have closed the PR with a comment because I've realised that ESP-IDF already exposes a way to set phy calibration data (plus it saves the ugly mess of reserving RTC memory internally)....
by boarchuz
Mon Sep 28, 2020 10:56 pm
Forum: ESP-IDF
Topic: ESP NOW without NVS?
Replies: 8
Views: 2018

Re: ESP NOW without NVS?

Have you set CONFIG_BOOTLOADER_SKIP_VALIDATE_IN_DEEP_SLEEP? https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/kconfig.html#config-bootloader-skip-validate-in-deep-sleep Also reduce bootloader logging level to none, and tie GPIO 15 low or use esp_deep_sleep_disable_rom_logging...
by boarchuz
Sat Sep 26, 2020 5:46 pm
Forum: Hardware
Topic: Brownout Detection on WiFi start... sometimes
Replies: 7
Views: 1884

Re: Brownout Detection on WiFi start... sometimes

I think the TPS3839 should be monitoring 3V3, not VBAT.

Also you need to swap VDD/Reset.
by boarchuz
Sat Sep 26, 2020 7:35 am
Forum: Hardware
Topic: Brownout Detection on WiFi start... sometimes
Replies: 7
Views: 1884

Re: Brownout Detection on WiFi start... sometimes

It's not always necessary, depending on the nature of the power supply and the required behaviour. There's a section in the ESP32/WROOM datasheet about it. Given that you're experiencing startup issues on battery, and want it to recover reliably and without external intervention, a supervisor is wor...
by boarchuz
Fri Sep 25, 2020 10:03 am
Forum: Hardware
Topic: Brownout Detection on WiFi start... sometimes
Replies: 7
Views: 1884

Re: Brownout Detection on WiFi start... sometimes

Couldn't hurt to use bigger caps either side of the HT7833, but most importantly, that little switch is in series with the ESP32 (and is rated for just 50mA @ 12v). This must go. If there's nothing on the 3V3 rail that needs to remain powered when your device is "off", I'd suggest moving the switch ...
by boarchuz
Thu Sep 24, 2020 11:00 am
Forum: ESP32 Arduino
Topic: Using Queues with one item
Replies: 3
Views: 976

Re: Using Queues with one item

That's fine, there's even https://www.freertos.org/xQueueOverwrite.html which is intended for single item queues.
by boarchuz
Wed Sep 23, 2020 5:36 am
Forum: ESP-IDF
Topic: How to get "esp_netif_t *esp_netif" ???
Replies: 5
Views: 1591

Re: How to get "esp_netif_t *esp_netif" ???

You'll need to dive into "example_connect" since all of your WiFi initialization is apparently hiding in there. See https://github.com/espressif/esp-idf/blob/8bc19ba893e5544d571a753d82b44a84799b94b1/examples/common_components/protocol_examples_common/connect.c#L165-L200 and https://github.com/espres...
by boarchuz
Wed Sep 23, 2020 2:05 am
Forum: ESP-IDF
Topic: Interfacing the Wroom32 with a 1.8v I2C Sensor
Replies: 10
Views: 2231

Re: Interfacing the Wroom32 with a 1.8v I2C Sensor

HDC2010 Why not supply it with 3.3v as well and save all this trouble? Why do you need the 1.8v rail at all? Is there something I'm missing? Is there not the corollary of the ESP32 being able to recognize a low voltage one ? There is, that's why Sprite is suggesting either a level shifter to bring ...

Go to advanced search