Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

Wi-Fi Combo Forum Discussions

Anonymous
Not applicable

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.

5 Replies
SeyhanA_31
Employee
Employee
100 likes received 50 likes received 25 likes received

Hi,

I could not created the same problem yet but could you try this patch, ThreadX Patch for WICED SDK-3.1.x

Seyhan

0 Likes
Anonymous
Not applicable

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..

0 Likes

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

0 Likes
Anonymous
Not applicable

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?

0 Likes

Hi,

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

0 Likes