Ethernet icon indicating copy to clipboard operation
Ethernet copied to clipboard

Use SPI.transfer(wbuf,rbuf,count) also for read

Open jayzakk opened this issue 4 years ago • 1 comments

While doing performance tests, I noticed that the special SPI.transfer(writebuf,readbuf,count) is only called for write, but not for read. As this massively speeds up data throughput on supported MCUs, please accept this PR.

Here: Optimized performance on LGT8F-MCUs (Nano/Atmega328p replacement), up to 14.1Mbit/s receive and 10.7Mbit/s send. https://github.com/dbuezas/lgt8fx/wiki/Libraries-support

jayzakk avatar Aug 17 '20 17:08 jayzakk

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Apr 09 '21 13:04 CLAassistant