Page 1 of 1

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

Posted: Tue Oct 10, 2023 7:28 pm
by DoDobro!
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?

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

Posted: Tue Mar 19, 2024 4:06 pm
by chegewara
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).