I am using rw612, is it possible to send udp packet every 1ms? after about 20 seconds i cannot send and should wait. I increased all buffers but it did not work. I receive MEM Error after that
Thanks for your answer. VS code, SDK 25.09. Freertos.
I want to send every 1ms a udp packet to an AP, (rw612 to rw612)
on receiver side (AP), i fixed the problem, it seems can receive. but on transmitter after ~20 second, i got error -1 from udp_send function and after a second it works again for some seconds and again. I increased many values on TCP/IP config library but no effect.
Hello @gtecaskari, hope you are doing well.
To better analyze the issue, could you please share more details about your test scenario? Information such as the board you are using, the IDE (MCUXpresso or MCUXpresso for Visual Studio Code), SDK version, whether you are working with FreeRTOS or Zephyr, and the specific example you are running would be very helpful.
Hi @gtecaskari.
Thanks for sharing your environment, although it would be very helpful if you could provide more details on your application and clarify if it is an example from the SDK or a custom project. If it is an example from the SDK please share with me the example and the steps that you are following so I can be able to replicate your issue and try to get to the root cause.
Hi.a custom project.
and i have another question. when we are using freertos, why the wifi interrupt priority still 0, it should be bigger than 2 ( freertos config).
judt i want to know is it possible send continues udp packet every 1 ms? when i am sending every 2 ms it is working.
and another problem,
when i am using wifi6, i have many packet loss by shaking my device. ( also without shaking but less).
when i disable AX, it is working much better, maybe 1 packet loss every 1 hour.
Hello @gtecaskari.
Is your custom project based on any of our SDK demos? If so, could you please specify which example it is derived from?
Additionally, could you clarify where you are viewing the priority configuration? The FreeRTOS configuration file only defines general OS parameters such as the tick rate and the maximum number of available priorities. Any task‑specific priority values (or changes to them) must be configured within the application itself.
Hi, I have selected httpsrv example and changed.
my last configs:
priorities:
in "lwipopts.h", #define TCPIP_THREAD_PRIO (configMAX_PRIORITIES - 1)
in "wifi_config.h" #define CONFIG_WIFI_MAX_PRIO (configMAX_PRIORITIES - 2)
And please answer why when wifi6 (11AX) is enabled, when I shake the board, a lot of packets are lost?
when i use "#define CONFIG_11AX 0" , it is working.
And I could not find any document about TURBO MODE. What is the parameter 0~3.
Why you dont have a good document for your product.
and my last result, I can send 128 byte packet every 1 ms, but cannot send 256 bytes (error after a while)
Hello @gtecaskari.
Could you please confirm that the "CONFIG_WIFI_MAX_PRIO" macro has been added by you as a part of your custom modifications?
Also please clarify on what are you referring on the turbo mode issue?
Hello @gtecaskari.
I'm checking internally the issue about the turbo mode documentation, I will let you know upon any update on this regard.
Regarding your Wi-Fi 6 data loss, since this might be related to your setup, therefore I'm not able to replicate your issue as I cannot replicate your exact test scenario.
dear @RomanVR ,
I fixed speed problem, Please answer these 2 questions.
what it does wlan_set_turbo_mode function, the input is 0 to 3.
and why when I am using wifi6, i have data loss when shaking the board, but it is working with WIFI5 and 4
Hello @gtecaskari, sorry for the late response.
The wlan_set_turbo_mode function allows the user to configure WMM performance optimization levels for a Wi-Fi connection. Regarding the parameters that this function receives:
- 0: Standard mode (required for WFA certification)
- 3: Enhanced performance.
The usage of the function would be "int wlan_set_turbo_mode(t_u8 mode);" and it would return WM_SUCCESS on success setup and WM_FAILURE on failure.
Please let me know if this information clears out your doubts.