need speed with W5500

Hi !

I use ethernet.h 2.0 with W5500 and DUE

if(cli.available>(k1-k2)){
for(k=k2;k<k1;k++){data[k]=cli.read();}}

gives about 970uS for 70 char … less than 600Kbps :slightly_frowning_face:

I tried

cli.readBytesUntil(’\0’,data+k2,k1);

same result ;

I tried to change SPI speed adding

SPI.beginTransaction(SPISettings(20000000,MSBFIRST,SPI_MODE0));
before my line with no effect…

Is it a way to increase that speed ?

Thx

btw the MCU on Due has TCP peripheral https://forum.arduino.cc/index.php?topic=142908.0