Search found 14 matches

by kasper
Thu Jun 23, 2022 9:11 am
Forum: ESP-IDF
Topic: WiFi TX static buffers error
Replies: 5
Views: 2482

Re: WiFi TX static buffers error

Perfect, I have opened an issue

https://github.com/espressif/esp-idf/issues/9217

thanks
by kasper
Wed Jun 22, 2022 7:11 am
Forum: ESP-IDF
Topic: WiFi TX static buffers error
Replies: 5
Views: 2482

Re: WiFi TX static buffers error

Thanks boarchuz,

sure its eating at my available heap, but the thing is that I can never go beyond 32 buffers, even if my application dosen't do anything else, and even with 8MB of PSRAM available

thanks
by kasper
Mon Jun 20, 2022 6:19 pm
Forum: ESP-IDF
Topic: WiFi TX static buffers error
Replies: 5
Views: 2482

Re: WiFi TX static buffers error

No one who have tried to allocate more than 32 static buffers to the WiFi module?

Thanks,
by kasper
Fri Jun 10, 2022 7:51 am
Forum: ESP-IDF
Topic: WiFi TX static buffers error
Replies: 5
Views: 2482

WiFi TX static buffers error

Hi, I'm trying to allocate as much static buffer as possible for the WiFi TX module. In menuconfig the maximum number of buffers should be 64, but if I'm allocating more than 32 (e.g. 33), the esp crashes when booting: ESP_ERROR_CHECK failed: esp_err_t 0x101 (ESP_ERR_NO_MEM) at 0x4038017c I'm using ...
by kasper
Thu Jun 09, 2022 11:35 am
Forum: ESP-IDF
Topic: UDP packet delays
Replies: 10
Views: 8070

Re: UDP packet delays

Hi ESP_YJM,

I have now tried with an ESP32-S3-DevKitC-1-N8R8 with 8MB of PSRAM and I still can't set the static wifi buffer to more than 32 without it crashing at boot.

Can you point me in direction of someone who has deep insigt into the esp32 WiFi stack?

Thanks,
Kasper Nyhus
by kasper
Fri May 20, 2022 12:08 pm
Forum: ESP-IDF
Topic: UDP packet delays
Replies: 10
Views: 8070

Re: UDP packet delays

Would it be possible to place the WiFi TX buffers in the PSRAM? I'm using the ESP32-S3-WROOM-1
by kasper
Fri May 20, 2022 11:25 am
Forum: ESP-IDF
Topic: UDP packet delays
Replies: 10
Views: 8070

Re: UDP packet delays

I can set the dynamic buffers to 128 no problem, but I would very much like them to be static for performance reasons, and as large as possible. Menuconfig says range: 1-64
Screenshot from 2022-05-20 13-23-50.png
Screenshot from 2022-05-20 13-23-50.png (82.36 KiB) Viewed 6397 times
by kasper
Thu May 19, 2022 8:43 am
Forum: ESP-IDF
Topic: UDP packet delays
Replies: 10
Views: 8070

Re: UDP packet delays

Thanks for the quick reply ESP_YJM! Here is my idf.py size output: Total sizes: Used stat D/IRAM: 169203 bytes ( 101133 remain, 62.6% used) .data size: 16941 bytes .bss size: 70040 bytes .text size: 81195 bytes .vectors size: 1027 bytes Used Flash size : 539608 bytes .text : 439279 bytes .rodata : 1...
by kasper
Wed May 18, 2022 8:52 am
Forum: ESP-IDF
Topic: UDP packet delays
Replies: 10
Views: 8070

Re: UDP packet delays

Hi ESP_YJM, Thanks for the kind reply! I'm playing around with the TX buffer size in the WiFi menuconfig, and I get significantly reduced overall delay when setting the TX buffers to static and a low buffer count. However when I try to set the 'Max number of Wifi static TX buffers' above 32 the esp ...
by kasper
Fri May 06, 2022 8:06 am
Forum: ESP-IDF
Topic: UDP packet delays
Replies: 10
Views: 8070

UDP packet delays

Hi, I'm seeing some significant delays in the delivery of UDP packets from the esp32s3. I have testet this in two different wifi environments/networks using wireshark (see below) The graph shows time between consecutive UDP packets (with encapsulated RTP packets). Noisy wifi environment The esp32 is...