SparkFun Forums 

Where electronics enthusiasts find answers.

General suggestions or questions about the SparkFun Electronics website
By fab1an
#98741
Hi,

I purchased the Kent Display 320x240 and the Breakout Adapter for it.

http://www.sparkfun.com/commerce/produc ... ts_id=9559
http://www.sparkfun.com/commerce/produc ... ts_id=9747

Unfortunately I can't get it to work at all. I use this code: http://pastie.org/924601 on an Arduino Duemilanove.
I used 5v as power-supply, though the Datasheet for the display states it need 3.3v logic supply. Unfortunately the product page for the breakout-adapter doesn't state which voltage it needs.

How can I test what I'm doing wrong?

Do I have to wire RST and BUSY too, cause at the moment I'm just using VCC,GND, CS, SCK, SI and SO to talk to the display.

Also the display arrived with some "stains" on it: Image

Is it broken?
Last edited by fab1an on Mon Apr 19, 2010 5:29 am, edited 1 time in total.
By fab1an
#98837
I got it to work.

You have to adjust some SPI settings to get it to work.

Replace
Code: Select all
SPCR = (1<<SPE) | (1<<MSTR) | (1<<SPR0) | (1<<CPHA);
with
Code: Select all
SPCR = (1<<SPE) | (1<<MSTR) | (1<<SPR0) | (1<<SPR1);