Quantcast
Channel: Intel Communities: Message List
Viewing all articles
Browse latest Browse all 18146

Re: How can i improve SPI speed?

$
0
0

Hi KurtE,

 

I modified the AdafruitST7735 library,

1. Put the all of 128*160 pixel to buffer array[128*160],

2. Use the function : void SPIClass::transferBuffer(const uint16_t *txData,    uint16_t *rxData,   uint32_t len) to update the 128 pixel's colors at a time. So that I just need to call the SPI.transferBuffer at 160 times.

 

The performace is better, drawing the 128*160 pixels about 209 ms.

 

Thanks,


Viewing all articles
Browse latest Browse all 18146

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>