Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jayzakk
Copy link

@jayzakk jayzakk commented Aug 17, 2020

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

@CLAassistant
Copy link

CLAassistant commented Apr 9, 2021

CLA assistant check
All committers have signed the CLA.

willeccles added a commit to BloomyControls/BloomyEthernet that referenced this pull request Oct 11, 2022
Performance increase as suggested by @jayzakk here:
arduino-libraries#145
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants