My setup is using the WGM160p in softAP mode and it is running a TCP server.
I am connecting to the WGM160p via a TCP client on a separate PC. I am writing a 300KB file to the WGM160p via UART0 (with flow control) and receiving this data via the TCP client on the separate PC. I am not getting the 615.221KB/s (About 5Mbps) as per the example in the link above. I am getting rates of maybe 0.5Mbps to 1Mbps with a UART0 baud rate of 8000000 bps.
Is there any configuration using the Gecko Commands per the example above that might help increase the rate? Any suggested size of writes to the UART0? 256 or 1460 Bytes? I am stuck. I also see occasional delays of seconds in the 300KB continuous transfer for some reason as well.
Thanks!
Discussion Forums
Answered
Wi-Fi
Answered
Hi,
At the moment, the average achieved rates using Gecko OS 4.1 (SoftAP/TCP) is about 1.5Mbps. This is achieved using these settings:
set wlan.auto_join.enabled 0
set softap.auto_start 1
set network.default_interface softap
set tcp.server.auto_start 1
set uart.baud 0 6000000 raw
set bus.mode stream
Would you please try these configs and advise if you can achieve close results.
Thanks,
Ayman
Correct Answer
0
Hi Ayman,
Thanks for the configuration. Yes - I do see about 1.5Mbps average with your configuration for SoftAP mode.
I was assuming SoftAP mode would be as fast as using the wlan mode where I would connect through a wireless router.
WGM160p - High Speed Streaming Uart
I updated to the following firmware:
SILABS-WGM160P-4.1.11, Gecko_OS-STANDARD-4.1.11, WGM160P
I am following the example here:
https://docs.silabs.com/gecko-os/4/standard/latest/cmd/apps/highspeed-uart
My setup is using the WGM160p in softAP mode and it is running a TCP server.
I am connecting to the WGM160p via a TCP client on a separate PC. I am writing a 300KB file to the WGM160p via UART0 (with flow control) and receiving this data via the TCP client on the separate PC. I am not getting the 615.221KB/s (About 5Mbps) as per the example in the link above. I am getting rates of maybe 0.5Mbps to 1Mbps with a UART0 baud rate of 8000000 bps.
Is there any configuration using the Gecko Commands per the example above that might help increase the rate? Any suggested size of writes to the UART0? 256 or 1460 Bytes? I am stuck. I also see occasional delays of seconds in the 300KB continuous transfer for some reason as well.
Thanks!
Hi,
At the moment, the average achieved rates using Gecko OS 4.1 (SoftAP/TCP) is about 1.5Mbps. This is achieved using these settings:
set softap.auto_start 1
set network.default_interface softap
set tcp.server.auto_start 1
set uart.baud 0 6000000 raw
set bus.mode stream
Would you please try these configs and advise if you can achieve close results.
Thanks,
Ayman
Hi Ayman,
Thanks for the configuration. Yes - I do see about 1.5Mbps average with your configuration for SoftAP mode.
I was assuming SoftAP mode would be as fast as using the wlan mode where I would connect through a wireless router.
Thanks,
Andy