使用CC3100的UDP传输数据,SPI时钟是15M,使用while循环一直调用sl_SendTo函数测试发送速度,一帧19字节,发现平均6MS才能发一帧,也就是19*8/6*1000大约是25Kbps 这速度和文档上16Mbps差很多呀。这是为什么呢?

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.
使用CC3100的UDP传输数据,SPI时钟是15M,使用while循环一直调用sl_SendTo函数测试发送速度,一帧19字节,发现平均6MS才能发一帧,也就是19*8/6*1000大约是25Kbps 这速度和文档上16Mbps差很多呀。这是为什么呢?

供参考,some information for you, no code provided
Setup:
• Chamber
• The host generating the Traffic
• AP CISCO 1250
recommend using the existing tcp_socket and udp_socket examples.
These examples implement both Client and Server functionalities, transmitting and receiving data in a loop.
They should suffice for TP testing.
你一个frame值有19个字节,这个太浪费网络资源,本身是可以支持1470的。你19个字节一帧测出来速度低很多这是正常的,和文档上的没有可比性。
我试了例程那1400字节的,要100MS左右一帧,那也是112kbps。。
建议你用UDP的例程,然后配上iperf先验证一下,看看是多少。
网络性能测试工具,免费的,可以统计你收发包的速率等
http://blog.163.com/hlz_2599/blog/static/142378474201341341339314/