How to speedup esp_wifi_start()

weoiss
Posts: 2
Joined: Tue Nov 19, 2024 8:33 pm

How to speedup esp_wifi_start()

Postby weoiss » Tue Nov 19, 2024 8:44 pm

Hello,

After the power was lost, I have to restart ESP-NOW as quickly as possible. Basically, my ESP32 S3 Wroom2 needs about 46ms to call app_main. esp_wifi_init() needs about 2.5ms, while esp_wifi_start() needs 30ms.

Is it possible to speed this up? In particular esp_wifi_start()?

I have made the following settings for the basic start: https://docs.espressif.com/projects/esp ... -time.html

aliarifat794
Posts: 198
Joined: Sun Jun 23, 2024 6:18 pm

Re: How to speedup esp_wifi_start()

Postby aliarifat794 » Wed Nov 20, 2024 7:21 am

You can set CONFIG_BOOTLOADER_LOG_LEVEL_NONE to minimize logging overhead.

weoiss
Posts: 2
Joined: Tue Nov 19, 2024 8:33 pm

Re: How to speedup esp_wifi_start()

Postby weoiss » Wed Nov 20, 2024 7:25 am

Thank you for your reply, your Suggestion is already included in the Link which I use as base

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], ok-home and 187 guests