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

Re: Support for the Adafruit 2.8" TFT display for Arduino Edison

$
0
0

Sort of an FYI and question:  For the fun of it I picked up a Galileo Gen 2 to see how will it performs.  I plugged in the Adafruit 2.8" display using my updated driver and tried out the graphic test program and it works but it is quite a bit slower.  I  hooked up the Logic Analyzer and the SPI speed is no where near the 8mhz the program asked for.

Galileo SPI trace.jpg

 

I have the code setting the spi speed:

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

  SPI.setBitOrder(MSBFIRST);

  SPI.setDataMode(SPI_MODE0);

I tried modifying the SPI library for Galileo to pass the speed: (msg.speed_hz) to see if that would help.  So far nothing helps.

Suggestions?  What is the max SPI speed of the Galileo?

 

Edit: I thought I updated the image with the image with the markers to show not just the pulse width but instead the time from clock to clock.  When I show that one it shows something like 3.9us with a frequency of about 256khz


Viewing all articles
Browse latest Browse all 17819

Trending Articles



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