This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

First UDP packet is delayed more

Other Parts Discussed in Thread: MSP430FR5739

I am trying to calculate the latency involved in communication between my device and the cc3000

connection is as below,

                          

                         UART                                        SPI

My device      ---------->       MSP430FR5739  -------->  CC3000    

Here I am sending the UDP packet from CC3000 to same CC3000's IP address and UDP port number. Using separate sockets for sending and receiving.

I can see that delay of first UDP packet to return has more latency (7.72ms) compared to the next all UDP packets (2.92ms).

What could be the reason?