WiFi,BT,etc can add lags? can be turned off?

DoDobro!
Posts: 14
Joined: Mon Oct 02, 2023 4:39 pm

WiFi,BT,etc can add lags? can be turned off?

Postby DoDobro! » Tue Oct 10, 2023 7:28 pm

Hello,
Does ESP32S3 + libraries Arduino,WiFI, WiFiClient, WebServer, ESPmDNS = can add lags to another tasks? For example for fast data transferring via SPI? How it's possible to turn them off or put to sleep mode?
Does ESP32S3 Bluetooth and other peripherals which NOT used at Arduino sketch use some hardware resources? Can they be turned off somehow?
By another words how to minimize lags and save resources of ESP32S3?

chegewara
Posts: 2240
Joined: Wed Jun 14, 2017 9:00 pm

Re: WiFi,BT,etc can add lags? can be turned off?

Postby chegewara » Tue Mar 19, 2024 4:06 pm

If you dont use wifi, ble and other API in your code then library and hardware are not used and do not have impact on your application.

All tasks have priority, so you can try to control which tasks should have higher priority and no lag. Also you can create important task on one core and less important tasks on another core.
Try to work with ISR and code which has to be executed fast try to put in IRAM (including variables).

Who is online

Users browsing this forum: hdsjulian2 and 132 guests