Comment on Is SPI just "slow"?

nickwitha_k@lemmy.sdf.org ⁨22⁩ ⁨hours⁩ ago

Make sure that you are not writing one pixel per SPI transaction. The connection, whether HW SPI or bit banging, requires some time to open and close. This adds up quickly. Generally, is best to write a frame per transaction (or as close as possible) so that there are fewer open/close delays.

If you’re using an AVR based Arduino, you’ll likely need to optimize things if you want to do anything like animation so that as little CPU time as possible is used for anything but writing to the SPI bus and minimize blocking operations.

source
Sort:hotnewtop