Our business scenario is a real-time motion capture device, which needs to send sensor data from STA to AP every 10ms, and the amount of data is 512 bytes every 10mS, UDP mode. The device side using a STA module, the PC side using an AP module, the two module models are ESP32-C6-MINI-1.
Recently during testing, it was found that using the ESP32-C6-MINI-1 module AT firmware (4.1.0.0), through the oscilloscope and matlab to analyze the data can be clear that the AP side to receive the data time interval is not stable, the AP side will sometimes timeout more than 100 +ms before receiving the information. Through the oscilloscope, it can be determined that the STA WIFI module receives the data at a precise interval of 10mS, but of course, it is unknown whether it is normal when the subsequent air port sends the data. Note: The distance between STA and AP is no more than 15cm during the test.
We have tried modifying the serial port baud rate, FreeRTOS unit time (1000us --> 100us), and the send time interval to no avail to fix the problem.
How to solve this problem
Figure 1 Transmitting data via wifi and serial port, 400ms delay occurred during the test process
Fig. 2 Using only the ESP32-C6-MINI-1 serial port to send data, the accuracy is completely fine
Figure 3 MATLAB statistics of sending time interval results, you can see that the delay in sending frequent
ESP32-C6-MINI-1 Serial Transponder Module Receive Interval Instability
-
- Posts: 1
- Joined: Wed Jul 10, 2024 7:29 am
ESP32-C6-MINI-1 Serial Transponder Module Receive Interval Instability
- Attachments
-
- 1.jpg (552.66 KiB) Viewed 930 times
-
- 2.jpg (458.16 KiB) Viewed 930 times
-
- 3.png (176.82 KiB) Viewed 930 times
Who is online
Users browsing this forum: Bing [Bot] and 136 guests