1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-12-02 13:24:12 +01:00
Arduino/hardware/arduino/avr/libraries/SPI
Cristian Maglie 53e25d8b55 [avr] Improved SPI speed on 16bit transfer.
From https://github.com/arduino/Arduino/pull/2376#issuecomment-59671152

Quoting Andrew Kroll:

   [..this commit..] introduces a small delay that can prevent the wait
   loop form iterating when running at the maximum speed. This gives
   you a little more speed, even if it seems counter-intuitive. At
   lower speeds, it is unnoticed. Watch the output on an oscilloscope
   when running full SPI speed, and you should see closer back-to-back
   writes.

Quoting Paul Stoffregen:

   I did quite a bit of experimenting with the NOP addition. The one
   that's in my copy gives about a 10% speedup on AVR.
2014-11-25 15:49:17 +01:00
..
examples Revert "SPI library to new format" 2013-11-21 15:05:36 +01:00
keywords.txt Revert "SPI library to new format" 2013-11-21 15:05:36 +01:00
library.properties missing paragraph field in library.properties 2014-07-18 20:08:01 +02:00
SPI.cpp [avr] SPI: removed redundant include 2014-11-14 00:23:11 +01:00
SPI.h [avr] Improved SPI speed on 16bit transfer. 2014-11-25 15:49:17 +01:00