Throughput
#
Test EnvironmentTo UART throughput test, it controls using CTS / RTS and WizFi360 control software are required.
- WizFi360 EVB or WizFi360io
- STM32Fxxx EVB(NUCLEO-F401RE)
- PC
- Serial Tool
YAT Serial Tool(Data Mode)
- WizFi360 Control Software(Command Mode)
- 1Mbyte data file
- WiFi Router(exclude when it use in softAP mode)
When data mode uses, it sets RTS/CTS in flow control the using the YAT Serial Tool and it sets DTR as Data Read signal. When command mode uses, it sets the AT+CIPSENDBUF=2048 as maximum length of the data to be transmitted and it sends data of 2048 length. Repeat the previous operation.
#
Serial command usage#
Station ModeAT Command | Terminal |
---|---|
AT AT+CWMODE_CUR=1 AT+CWDHCP_CUR=1,1 AT+CWLAP AT+CWJAP_CUR=”wizms1”,”maker0701” AT+CIPSTA_CUR? |
#
UART CTS/RTS SettingAT Command | Terminal |
---|---|
AT+CWUART_CUR = 115200,8,1,0,1 |
Terminal setting
AT Command | Terminal |
---|---|
1. Pressing Ctrl+Shift+S and Open the Terminal Settings window 2. You have to change the Hardware(RFR/CTS) in Flow Control | |
3. If you can see under the terminal window that the CTS/DTR is green |
#
TCP Client ModeAT Command | Terminal |
---|---|
AT+CIPSTART=”TCP”,”192.168.100.27”,5001 AT+CIPMODE=1 AT+CIPSEND |
Terminal setting
AT Command | Terminal |
---|---|
1. When DTR is red, it sends the 1M.txt 2. If you click the DTR, it changes the DTR is green and it is sending the data through Serial |
#
TCP Client / Command modeAT Command | Terminal |
---|---|
AT+CIPSTART=”TCP”,”192.168.100.27”,5001 AT+CIPMODE=0 AT+CIPSENDBUF=2048 Send the 2048byte data * 512times = 1Mbyte |
#
Result of UART ThroughputPC sends the 1Mbyte through serial of WizFi360(UART1) and WizFi360 send the data to TCP Server.
We measured the time from the start of data transfer to the end of data transfer using the wireshark tool, see Appendix 1.
#
Appendix 1Item | Detail |
---|---|
Baudrate | 115 200 |
Data mode | |
Command mode | |
Baudrate | 921 600 |
Data mode | |
Command mode | |
Baudrate | 1 000 000 |
Data mode | |
Command mode | |
Baudrate | 1 250 000 |
Data mode | |
Command mode | |
Baudrate | 1 500 000 |
Data mode | |
Command mode | |
Baudrate | 2 000 000 |
Data mode | |
Command mode |