AnsweredAssumed Answered

imx233 evk via SPI ENC28J60 very slow

Question asked by Toni Martín on Jul 8, 2014
Latest reply on Jul 8, 2014 by Toni Martín

Hello.

 

I am working with imx233 EVK and the ENC28J60 ethernet chip which is connected via SPI.

After doing tests with iperf, I get a maximum of 2Mbps transmission.

10Mbps:
[ID] Interval Transfer Bandwidth Jitter Lost / Total Datagrams
[3] 0.0-30.2 sec 7.68 MBytes 2.13 Mbits / sec 12.578 ms 25128/30604 (82%)
[4] Local 10.5.0.61 port 12345 connected with 10.200.100.10 port 55178

2Mbps:
[ID] Interval Transfer Bandwidth Jitter Lost / Total Datagrams
[3] 0.0-30.0 sec 7.12 MBytes 1.99 Mbits / sec 1.668 ms 24/5104 (0.47%)

1Mpbs:
[ID] Interval Transfer Bandwidth Jitter Lost / Total Datagrams
[4] 0.0-30.0 sec 3.58 MBytes 1.00 Mbits / sec 0.600 ms 0/2553 (0%)

The test is with UDP packets.

I have seen the SPI bus runs at 6 MHz, should not be able to transmit to 6Mbps?. The chip is the only ethernet device linked to SPI. Is it possible to see actual speed that is being transmitted by SPI?

Thank you.

Outcomes