WIZnet Developer Forum

Serial data output

We are trying to transfer data as fast as possible between 2 wizfi modules, using the uart.

We have observed that when the received data is written out of the wizfi uart at 3686400 baud, each byte takes 2.71 us to be written out (including start and stop bit), then the transmit line remains high for a further 5.5 us before the start bit of the next byte.

Therefore each byte takes 8.2 us in total, limiting it to 122,000 bytes per second.

If the host processor were to read the data out using SPI pins instead of the uart, could the data be read any faster ?

Hello anglial

I recommend UART regarding to high throughput.
As you know, SPI have no flow-control unlike UART(CTS/RTS), so in high frequency, there can be data loss.

And please refer to the below.


So is there any way of achieving a faster transfer rate ?

It is not a problem putting the data into the Wizfi which is transmitting (as test report showed), only in receiving it at the other end.

As I know, above result is WizFi250-best-throughput.

Copyright © 2017 WIZnet Co., Ltd. All Rights Reserved.