- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
mcu:-stm32f429 chip:-bcm43362 SDK:-3.1.2
Requirement :- Transmitting a data buffer of size 1284 every 2 ms
Observation :- After beginning of UDP transmission ,
for the first couple of minutes the packet is released from the packet pool as soon as it is send.
Then freeing of allocated packet may take up to 200 msec.
(Same behavior is observed with BCM943362WCD4)
any insight regarding the cause and work around will be a great help to us.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I could not created the same problem yet but could you try this patch, ThreadX Patch for WICED SDK-3.1.x
Seyhan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The 3.1.2 was released this patch itself? because I find the same added lines..
Can you just try what is the time taken to create a udp packet of size 1284 if it is created every 2ms and also send?
It takes more in my case after a certain time..
Then checked why it is so?
Then found that at the beginning packet is released from the packet pool as soon as it is send.
After sometime freeing of allocated packet is not done and all of the available number of packets in the pool are allocated..
So the packet creation takes time waiting for the pool to be free..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
It is possible that the packets are allocated to be sent out may not be set out as expected and they have been queued. Since the allocated buffer was not sent out it is not released. Please get a sniffer trace to see the transmission of the queued buffers.
Seyhan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi,
Every Packet is of same size and is going to the same IP.Im receiving those packets, So what is meant by
"It is possible that the packets are allocated to be sent out may not be set out as expected "..
How to do a sniffer trace in wiced?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Initially reserved data packets are allocated to send data to the connected device. As they are used they are marked as not available. Those buffers are queued to be sent to the BCM943362WCD4 WiFi module. As the data sent over the air to the destination successfully by WiFi module, the used data buffers are marked as available.
In this case, perhaps the queued data is not sent to the destination successfully in a given time duration. To check the data sent over the air, you can capture the data and analyze it. There are few tools available to capture data over the air, here is a blog for few of them Some useful tools for Wi-Fi debugging. MacBook + WireShark works as well.
Seyhan