1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-12-02 13:24:12 +01:00
Arduino/hardware/arduino/avr/libraries
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
..
EEPROM missing paragraph field in library.properties 2014-07-18 20:08:01 +02:00
SoftwareSerial missing paragraph field in library.properties 2014-07-18 20:08:01 +02:00
SPI [avr] Improved SPI speed on 16bit transfer. 2014-11-25 15:49:17 +01:00
Wire missing paragraph field in library.properties 2014-07-18 20:08:01 +02:00