[FIXED] Kent Display Help needed

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: http://dl.dropbox.com/u/168982/KENTDisplay.jpg

Is it broken?

I got it to work.

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

Replace

SPCR = (1<<SPE) | (1<<MSTR) | (1<<SPR0) | (1<<CPHA);

with

SPCR = (1<<SPE) | (1<<MSTR) | (1<<SPR0) | (1<<SPR1);