2.2 TFT SPI 240x320 white screen


hello guys, need make display work. tried still nothing.

this display model
http://www.ebay.com/itm/2-2-inch-2-2-spi-tft-lcd-display-module-240x320-ili9341-51-avr-stm32-arm-pic-/200939222521

i'm using arduino uno r3, library tftv2 (ili9341).
this configuration:

miso -not connected
led -20 ohms direct 3.3v
ls sck -pin 13
ls mosi -pin 11
ls d/c -pin 6
ls reset -pin 4
ls cs -pin 5
gnd -gnd
vcc -3.3v
(ls: level shift 560, 1k ohms)

if it's white screen, if closer side can see senseless colored lines, colors used in example i'm testing (drawcircle).
what's reason of behavior?
i used cd4050be same result

here's video i've uploaded
https://www.youtube.com/watch?v=_psfidxopns

you should have like

code: [select]

void setup(void) {
  serial.begin(9600);
  serial.println(f("tft lcd test"));



  tft.reset();

  uint16_t identifier = tft.readid();
    serial.print(f("lcd driver chip: "));
    serial.println(identifier, hex);


if don't, there number of examples use or similar. op, run 1 of sketches identify chip , make sure describes 1 supposed there. 1 in 4 displays bought broken , wouldn't return right value no matter did. others, have trouble finding the  identifier if there secondary problem pins defined functions.

there's lot of different manufacturers produce chips similar capabilities different commands , memory layouts. seems ebay sellers pretty loose in how describe , support devices. wouldn't believe had ili9341 chip until saw identified such above code snippet.


Arduino Forum > Using Arduino > Displays > 2.2 TFT SPI 240x320 white screen


arduino

Comments