minimum heap ram to have robust WiFi

davdav
Posts: 208
Joined: Thu Nov 17, 2016 2:33 pm

minimum heap ram to have robust WiFi

Postby davdav » Thu Sep 27, 2018 9:05 pm

Hi,

I'm testing extensively our code on wroom module and periodically check the remaining heap size (I use a lot of ram in some condition).

I have noted that if available heap size decrease below a certain limit ( about 30k to 10k) wifi connection is not more stable. For example

-beacon tmout occurs and wifi disconnect
-wifi task is not triggering task watchdog
-wifi task sometimes seems "freezed" (it seems after a esp_wifi_stop)

Looking into github issue of esp-idf people suggest to have always 50k of internal ram available for wifi.

Can someone confirm it?
If not, is there a safe limit to have robust wifi connection?

I have commented out some code to have more ram and at first test the above statement seems true.

Thanks

Who is online

Users browsing this forum: No registered users and 79 guests