SPI writes are a great improvement over bit-banging Arduino ports. There are a couple of ways of accelerating SPI writes with the Arduino.
Measurements - 16-bit Transfers
Resulting speed for a 16-bit transfer is 3.26 uS from chip select low to chip select high.
|
Top Trace = SCK
Middle Trace = MOSI (Data)
Bottom Trace = SS (chip select)
|
Cycle Time (chip select low to chip select low) is 3.64 uS.
|
Top Trace = SCK
Middle Trace = MOSI (Data)
Bottom Trace = SS (chip select)
|
The Front edge (chip select falling) timing is:
|
Top Trace = SCK
Middle Trace = MOSI (Data)
Bottom Trace = SS (chip select)
|
The back edge timing is:
|
Top Trace = SCK
Middle Trace = MOSI (Data)
Bottom Trace = SS (chip select)
|
Links
Comments (0)
You don't have permission to comment on this page.