Good afternoon,
I have a question concerning memory optimization related to Wifi. Could you please help me ?
I am testing the OTA update via Wifi on an Esp32S3- Mini-1 chip, which have no external PSRAM.
On a chip that have no external PSRAM, I can choose in the Wifi configuration that the Wifi Tx Buffers are dynamic.
Using the following Wifi configuration, I measured that the Internal RAM needed for Wifi was 51220 bytes.
Max nbr of Wifi static Rx Buffers : 10
Max nbr of Wifi dynamic RX Buffers : 32
Type of Wifi TX Buffers : Dynamic
Max nbr Wifi dyn TX Buffers : 32
Wifi AMPDU TX BA Window Size : 6
Wifi AMPDU RX BA Windows Size : 6
Max length Wifi SoftAP Beacon : 752
Wifi mgmt short buffer number : 32
So, I modified the configuration with the following, and I measured that the Internal RAM needed for Wifi was 39876 bytes.
Max nbr of Wifi static Rx Buffers : 3
Max nbr of Wifi dynamic RX Buffers : 5
Type of Wifi TX Buffers : Dynamic
Max nbr Wifi dyn TX Buffers : 5
Wifi AMPDU TX BA Window Size : 5
Wifi AMPDU RX BA Windows Size : 5
Max length Wifi SoftAP Beacon : 752
Wifi mgmt short buffer number : 32
this configuration and the amout of Internal RAM needed is quite ok for me.
Now, I would like to do the same configuration on a Esp32S3-Wroom-1 module which have external PSRAM.
I would like to use this external PSRAM. But on a chip that have an external PSRAM, I can only choose Type of Wifi TX Buffers state = Static.
I try to reproduce the same configuration as above with Static TX Buffers in order to improve memory optimization.
Here is my configuration :
Max nbr Wifi static RX Buffers : 4
Max nbr of Wifi dyn RX Buffers : 4
Type of Wifi TX Buffers : Static
Max number of Wifi static TX Buffers : 4
Wifi AMPDU TX BA Window size : 4
Wifi AMPDU RX BA window size : 4
Wifi mgmt short buffer number = 10
Wifi IRAM speed optimization = No
Wifi RX IRAM speed optimization = No
However, the amount of internal RAM needed is 48324 bytes. I would like to reduce the amount of memory needed.
Is there a possibility to change the Type of Wifi TX buffers state to dynamic on a chip that have external PSRAM please ?
Thank you for your answer,
best regards,
Thomas TRUILHE
Esp32S3 : Wifi Memory optimization
-
- Posts: 229
- Joined: Thu Jul 14, 2022 5:15 am
Jump to
- English Forum
- Explore
- News
- General Discussion
- FAQ
- Documentation
- Documentation
- Sample Code
- Discussion Forum
- Hardware
- ESP-IDF
- ESP-BOX
- ESP-ADF
- ESP-MDF
- ESP-WHO
- ESP-SkaiNet
- ESP32 Arduino
- IDEs for ESP-IDF
- ESP-AT
- ESP IoT Solution
- ESP RainMaker
- Rust
- ESP8266
- Report Bugs
- Showcase
- Chinese Forum 中文社区
- 活动区
- 乐鑫活动专区
- 讨论区
- 全国大学生物联网设计竞赛乐鑫答疑专区
- ESP-IDF 中文讨论版
- 《ESP32-C3 物联网工程开发实战》书籍讨论版
- 中文文档讨论版
- ESP-AT 中文讨论版
- ESP-BOX 中文讨论版
- ESP IoT Solution 中文讨论版
- ESP-ADF 中文讨论版
- ESP Mesh 中文讨论版
- ESP Cloud 中文讨论版
- ESP-WHO 中文讨论版
- ESP-SkaiNet 中文讨论版
- ESP 生产支持讨论版
- 硬件问题讨论
- 项目展示
Who is online
Users browsing this forum: No registered users and 120 guests
- All times are UTC
- Top
- Delete cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. ESP8266EX and ESP32 are some of our products.