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

Re: How can i improve SPI speed?

$
0
0

So a couple of days ago I received my Galileo 2,  I have been playing around with my Adafruit_ILI9341 library and it works, but I am finding the SPI clock speed to be something like: 39us or about 256khz, which is pretty slow.  My timings are something like 4 times as slow as Edison.  

 

I am calling off to SPI to set the speed:

  SPI.setClockDivider(SPI_CLOCK_DIV2); // 8 MHz (full! speed!)

  SPI.setBitOrder(MSBFIRST);

  SPI.setDataMode(SPI_MODE0);

 

I am running 1.0.4 of the IDE.  Not sure what else to try here. I am using the Shield version of the Adafruit display so: CS=10, DC=9


Viewing all articles
Browse latest Browse all 18336

Trending Articles