LPD8806 Software vs Hardware SPI

EL Wire/Tape/Panels, LEDs, pixels and strips, LCDs and TFTs, etc products from Adafruit

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
philihp
 
Posts: 4
Joined: Wed Dec 07, 2011 12:50 am

LPD8806 Software vs Hardware SPI

Post by philihp »

I just learned that if I use the hardware SPI on pins 11 and 13 with the LPD8806 strip, I can get faster write speeds.

How much faster are we talking? 1.2 times faster? 5 times faster? 20 times faster?

User avatar
pburgess
 
Posts: 4161
Joined: Sun Oct 26, 2008 2:29 am

Re: LPD8806 Software vs Hardware SPI

Post by pburgess »

Roughly 3- to 4-ish times faster; I haven't done any detailed benchmarks to nail down a more specific figure.

Keep in mind this is strictly the I/O time. If your sketch is doing other tasks (e.g. generating color data for the LEDs), that part of the code is going to occupy the same time regardless, so the overall speed difference when using hardware SPI will be somewhat less than the above figure.

Locked
Please be positive and constructive with your questions and comments.

Return to “Glowy things (LCD, LED, TFT, EL) purchased at Adafruit”