notro
Posts: 695
Joined: Tue Oct 16, 2012 6:21 pm
Location: Drammen, Norway

Re: 320x240 LCD with integrated SSD1289 controller

Fri Aug 30, 2013 9:25 am

sheinrichs wrote: my first problem can´t load sainsmart32 module
dmesg
[ 82.681626] fbtft_device: GPIOS used by 'sainsmart32':
[ 82.681641] fbtft_device: (none)
sainsmart32 is the 16-bit parallel version and it doesn't have predefined GPIOs.
This is the command I use when testing:
sudo modprobe fbtft_device name=sainsmart32 rotate=0 debug=3 gpios=reset:29,dc:2,wr:31,db00:11,db01:9,db02:10,db03:22,db04:27,db05:17,db06:4,db07:3,db08:7,db09:8,db10:25,db11:24,db12:23,db13:18,db14:14,db15:15
sheinrichs wrote: only the sainsmart32_spi i can load
dmesg
[ 54.306753] fbtft_device: SPI devices registered:
[ 54.306798] fbtft_device: spidev spi0.0 500kHz 8 bits mode=0x00
[ 54.306817] fbtft_device: spidev spi0.1 500kHz 8 bits mode=0x00
[ 54.306826] fbtft_device: 'fb' Platform devices registered:
[ 54.306846] fbtft_device: bcm2708_fb id=-1 pdata? no
[ 54.306894] fbtft_device: Deleting spi0.0
[ 54.307386] fbtft_device: GPIOS used by 'sainsmart32_spi':
[ 54.307407] fbtft_device: 'reset' = GPIO25
[ 54.307416] fbtft_device: 'dc' = GPIO24
[ 54.307423] fbtft_device: SPI devices registered:
[ 54.307437] fbtft_device: spidev spi0.1 500kHz 8 bits mode=0x00
[ 54.307452] fbtft_device: fb_ssd1289 spi0.0 16000kHz 8 bits mode=0x00
[ 54.574559] graphics fb1: fb_ssd1289 frame buffer, 240x320, 150 KiB video memory, 4 KiB buffer memory, fps=20, spi0.0 at 16 MHz

but i don´t have a wiring to GPIO25 so i have tried reset to gpio25 instead of 3v3
and dc to GPIO24 instead of pin14 U4 but it has no effect
To use sainsmart32_spi, you need this SPI interface circuit

guzunty
Posts: 276
Joined: Mon Jan 14, 2013 10:13 am

Re: 320x240 LCD with integrated SSD1289 controller

Fri Aug 30, 2013 11:03 am

Sascha,

I spent a couple of days attempting to get the valdodov design to work without success.

Notro's design was up an running in an hour or so. The hardware design is that little bit simpler which means it is more robust and easier to get working, so I thoroughly recommend it. It does use a few more GPIO's, but it's worth it for the performance improvement. Not only that, notro does a great job supporting and improving the code base. There are more improvements in the pipeline, I'm sure.

I have have FBTFT running with a CPLD rather than discrete components. This has some advantages:
  • It's neater, you don't need a breadboard.
  • I have a daughterboard available that allows the LCD to be connected with a ribbon cable rather than a forest of jumper cables.
  • If you're not planning on building the Pi/LCD into a permanent installation, the CPLD has a multitude of uses in other projects.
Check it out here:

https://github.com/Guzunty/Pi/wiki/Gall ... lay-driver

I curate the site and have assisted several Guzunty builders get their displays up and running.

If you decide to want to use a daughterboard, please let me know before you order so that we can ship all the parts together.

Of course, I'm happy to help whether you use a Guzunty or not. :-)

Derek
Guzunty: A fully programmable peripheral you build yourself! https://github.com/Guzunty/Pi/wiki

sheinrichs
Posts: 14
Joined: Tue Aug 13, 2013 7:31 pm

Re: 320x240 LCD with integrated SSD1289 controller

Fri Aug 30, 2013 5:05 pm

thanks for the quick answers

now I have 2 sd-cards 1. the Valdodov kernel 2. the Notro kernel

@mwilliams03

I have change the wiring as you say
after over writing the existing files and rebooting the display still not work
HDMI and W-lan dont work too so I don't Know if the system is comming up correctly
after the noobs screen HDMI turns off

@notro

1. I have tried your circuit for the SPI, is it correct on the 74HC04 pin1 in(from 4040 pin6 Q5)

pin2 out(to display WR pin5)
still not working

2. I have tried the sainsmart32 and have dirctly connect the display to the GPIO's as they are

named in dmesg (db0 > GPIO11 pin23 | db1 > GPIO9 pin21 |.....)
but nothing

I'm frighten the display is not ok, is there an easy way to test funktionality of the display?
this display has never came up only the backlight

regards Sascha

guzunty
Posts: 276
Joined: Mon Jan 14, 2013 10:13 am

Re: 320x240 LCD with integrated SSD1289 controller

Fri Aug 30, 2013 5:10 pm

I'm frighten the display is not ok
I had that feeling at one point when I was getting mine up and running.

If I recall correctly I ported or downloaded an Arduino test/demo program. It showed the display was fine.

If you have an Arduino, I could look to see if I still have it (I probably do).

Derek
Guzunty: A fully programmable peripheral you build yourself! https://github.com/Guzunty/Pi/wiki

sheinrichs
Posts: 14
Joined: Tue Aug 13, 2013 7:31 pm

Re: 320x240 LCD with integrated SSD1289 controller

Fri Aug 30, 2013 6:02 pm

sorry i have no arduino the raspberry is my first microcontroller

notro
Posts: 695
Joined: Tue Oct 16, 2012 6:21 pm
Location: Drammen, Norway

Re: 320x240 LCD with integrated SSD1289 controller

Sat Aug 31, 2013 9:47 am

sheinrichs wrote: @notro

1. I have tried your circuit for the SPI, is it correct on the 74HC04 pin1 in(from 4040 pin6 Q5)

pin2 out(to display WR pin5)
still not working

2. I have tried the sainsmart32 and have dirctly connect the display to the GPIO's as they are

named in dmesg (db0 > GPIO11 pin23 | db1 > GPIO9 pin21 |.....)
but nothing

I'm frighten the display is not ok, is there an easy way to test funktionality of the display?
this display has never came up only the backlight
First one thing: when the SPI master driver spi-bcm2708 is loaded it sets the bus pins in ALT0 mode, ie. SPI mode.
If you try parallel GPIO mode with the fbtft driver, when exits it sets all the pins it has used as inputs. Thus the spi_bcm2708 stops working because it's output is disconnected from the pins.
It's best to unload spi-bcm2708 before you use it's pins as GPIOs.

Have you tried the test script at the bottom of the SPI Interface circuit wiki page?

Here is a script I used to test my parallel wiring. Connect a probe wire to GPIO30, and probe the pins on the display as the script asks for them. Finally it prints out a gpios= line based on the result.

Code: Select all

# 16-bit databus connection test script

import os
import time
import subprocess
import array
import sys

PROBE_GPIO = 30

AVAILABLE_GPIOS = [2,3,4,7,8,9,10,11,14,15,17,18,22,23,24,25,27,28,29,30,31]
AVAILABLE_GPIOS.remove(PROBE_GPIO)

SIGNALS = [ 'reset', 'dc', 'cs', 'wr', 'db00', 'db01', 'db02', 'db03', 'db04', 'db05', 'db06', 'db07', 'db08', 'db09', 'db10', 'db11', 'db12', 'db13', 'db14', 'db15' ]

def main(argv):
	result = {}

	writef("/sys/class/gpio/export", "%s" % PROBE_GPIO)
	writef("/sys/class/gpio/gpio%s/direction" % PROBE_GPIO, 'in')

	# export and set all as outputs
	for gpio in AVAILABLE_GPIOS:
		try:
			writef("/sys/class/gpio/export", "%s" % gpio)
			writef("/sys/class/gpio/gpio%s/direction" % gpio, 'out')
		except IOError:
			print("pass")
			pass

	with GPIO(PROBE_GPIO, 'in') as probe:
		for signal in SIGNALS:
			raw_input("Move probe to %s: " % signal)
			result[signal] = -1
			for gpio in AVAILABLE_GPIOS:
				with GPIO(gpio) as pin:
					pin.clear()
					if probe.get() == 0:
						pin.set()
						if probe.get() == 1:
							result[signal] = gpio
							print("Found: %d" % gpio)


	for signal in SIGNALS:
		sys.stdout.write("%s:%d," % (signal, result[signal]))
	print("")

	writef("/sys/class/gpio/unexport", "%s" % PROBE_GPIO)

	# set all as inputs and unexport
	for gpio in AVAILABLE_GPIOS:
		try:
			writef("/sys/class/gpio/gpio%s/direction" % gpio, 'in')
			writef("/sys/class/gpio/unexport", "%s" % gpio)
		except IOError:
			print("pass")
			pass



def writef(file, val):
#	print "%s <- %s" % (file, val)
	with open(file, 'w') as f: f.write(val)

def readf(file):
#	print "%s <- %s" % (file, val)
	with open(file, 'r') as f: ret = f.read()
	return ret

class GPIO:
	def __init__(self, num, dir='out'):
		self.num = num
		self.val = 0
#		writef("/sys/class/gpio/export", "%s" % num)
#		writef("/sys/class/gpio/gpio%s/direction" % num, dir)

	def close(self):
		pass
#		writef("/sys/class/gpio/gpio%s/direction" % self.num, "in")
#		writef("/sys/class/gpio/unexport", "%s" % self.num)

	def __enter__(self):
		return self

	def __exit__(self, type, value, trace):
		self.close()

	def get(self):
		return int(readf("/sys/class/gpio/gpio%s/value" % self.num))

	def set(self, val=1):
		if val == 0:
			self.val = 0
		else:
			self.val = 1
		writef("/sys/class/gpio/gpio%s/value" % self.num, "%s" % self.val)
		return self.val

	def clear(self):
		self.set(0)

	def pulse(self):
		if (self.val):
			self.set(0)
			time.sleep(1)
			self.set(1)
		else:
			self.set(1)
			time.sleep(1)
			self.set(0)








if __name__ == '__main__':
	try:
		main(sys.argv[1:])
	except KeyboardInterrupt:
		print("")

sheinrichs
Posts: 14
Joined: Tue Aug 13, 2013 7:31 pm

Re: 320x240 LCD with integrated SSD1289 controller

Sat Aug 31, 2013 8:15 pm

Hi notro,

wich language is that script bash python?
SPI is back in blacklist.

root@raspberrypi:/home/pi# ./test
./test: Zeile 3: import: Kommando nicht gefunden.
./test: Zeile 4: import: Kommando nicht gefunden.
./test: Zeile 5: import: Kommando nicht gefunden.
./test: Zeile 6: import: Kommando nicht gefunden.
./test: Zeile 7: import: Kommando nicht gefunden.
./test: Zeile 9: PROBE_GPIO: Kommando nicht gefunden.
./test: Zeile 11: AVAILABLE_GPIOS: Kommando nicht gefunden.
./test: Zeile 12: Syntaxfehler beim unerwarteten Wort `PROBE_GPIO'
./test: Zeile 12: ` AVAILABLE_GPIOS.remove(PROBE_GPIO)'
root@raspberrypi:/home/pi# python test
File "test", line 3
import os
^
IndentationError: unexpected indent

notro
Posts: 695
Joined: Tue Oct 16, 2012 6:21 pm
Location: Drammen, Norway

Re: 320x240 LCD with integrated SSD1289 controller

Sun Sep 01, 2013 12:06 am

It is python. I start it like this: sudo python test.py
I'm not sure how you get that intendation error though. I copied the code block into the nano editor in a ssh session, saved the file and then hooked up a probe wire to GPIO30 and run: sudo python test.py. Mode the probe wire to the right signal/pin, press Enter. Then move to next.

sheinrichs
Posts: 14
Joined: Tue Aug 13, 2013 7:31 pm

Re: 320x240 LCD with integrated SSD1289 controller

Sun Sep 01, 2013 11:12 am

Hi notro,

now it works the failure was i have take select all and copied to test.py but this enters spaces befor import .. and that dont work now i have marked it with mouse and copied it to test1.py and that work.
here is my output

pi@raspberrypi ~ $ sudo python test1.py
Move probe to reset:
Found: 4
Move probe to dc:
Move probe to cs:
Found: 4
Move probe to wr:
Found: 27
Move probe to db00:
Move probe to db01:
Move probe to db02:
Found: 24
Move probe to db03:
Found: 25
Move probe to db04:
Found: 23
Move probe to db05:
Found: 7
Move probe to db06:
Move probe to db07:
Found: 23
Move probe to db08:
Found: 4
Move probe to db09:
Move probe to db10:
Found: 17
Move probe to db11:
Found: 2
Move probe to db12:
Found: 29
Move probe to db13:
Move probe to db14:
Found: 14
Move probe to db15:
reset:4,dc:-1,cs:4,wr:27,db00:-1,db01:-1,db02:24,db03:25,db04:23,db05:7,db06:-1,db07:23,db08:4,db09:-1,db10:17,db11:2,db12:29,db13:-1,db14:14,db15:-1,

a second test give me that result

reset:-1,dc:14,cs:22,wr:-1,db00:15,db01:17,db02:-1,db03:-1,db04:3,db05:-1,db06:10,db07:-1,db08:-1,db09:-1,db10:11,db11:28,db12:-1,db13:15,db14:-1,db15:-1,

and now what mean it is the display ok or not?

notro
Posts: 695
Joined: Tue Oct 16, 2012 6:21 pm
Location: Drammen, Norway

Re: 320x240 LCD with integrated SSD1289 controller

Sun Sep 01, 2013 1:55 pm

For each pin name (reset, dc, etc.) the script writes 0 and 1 to every GPIO (except the probe gpio) to find which one the probe is connected to. When it finds a signal, it prints out which GPIO that was.

pi@raspberrypi ~ $ sudo python test1.py

The probe was connected to GPIO4 and the script detected this:
> Move probe to reset:
> Found: 4

Nothing detected during this scan:
> Move probe to dc:

The probe was connected to GPIO4
> Move probe to cs:
> Found: 4

The probe was connected to GPIO27
> Move probe to wr:
> Found: 27

What I do, is:
Hook up the display to the Raspberry Pi. Then I connect a wire to GPIO30 (P5-05). When the script asks for reset, I put the wire-probe on the display reset pin and press Enter. The script then drives all the GPIOs in turn to find which one the probe is connected to.
This should give you a 'Found: n' for each pin name.

sheinrichs
Posts: 14
Joined: Tue Aug 13, 2013 7:31 pm

Re: 320x240 LCD with integrated SSD1289 controller

Sun Sep 01, 2013 7:06 pm

hi notro

sorry for my stupid questions
but i'm not real familiar with electronic and the raspberry pi is my first microcontroller

i have wired the display to the pi and run the test skript

sudo python test1.py
Move probe to reset:
Found: 29
Move probe to dc:
Found: 2
Move probe to cs:
Found: 28
Move probe to wr:
Found: 31
Move probe to db00:
Found: 11
Move probe to db01:
Found: 9
Move probe to db02:
Found: 10
Move probe to db03:
Found: 22
Move probe to db04:
Found: 27
Move probe to db05:
Found: 17
Move probe to db06:
Found: 4
Move probe to db07:
Found: 3
Move probe to db08:
Found: 7
Move probe to db09:
Found: 8
Move probe to db10:
Found: 25
Move probe to db11:
Found: 24
Move probe to db12:
Found: 23
Move probe to db13:
Found: 18
Move probe to db14:
Found: 14
Move probe to db15:
Found: 15
reset:29,dc:2,cs:28,wr:31,db00:11,db01:9,db02:10,db03:22,db04:27,db05:17,db06:4,db07:3,db08:7,db09:8,db10:25,db11:24,db12:23,db13:18,db14:14,db15:15,

should the display show anything at testing?

cs i wired to gpio 28 was the last free GPIO
next i've tried to load the modules with

sudo modprobe fbtft_device name=sainsmart32 rotate=0 debug=3 gpios=reset:29,dc:2,cs:28,wr:31,db00:11,db01:9,db02:10,db03:22,db04:27,db05:17,db06:4,db07:3,db08:7,db09:8,db10:25,db11:24,db12:23,db13:18,db14:14,db15:15

and start the x server with

FRAMEBUFFER=/dev/fb1 startx

but still nothing

notro
Posts: 695
Joined: Tue Oct 16, 2012 6:21 pm
Location: Drammen, Norway

Re: 320x240 LCD with integrated SSD1289 controller

Mon Sep 02, 2013 8:18 am

sheinrichs wrote: should the display show anything at testing?
No, it's just to test the wiring.
sheinrichs wrote: cs i wired to gpio 28 was the last free GPIO
I've found that CS can be tied directly LOW to save a GPIO.
The rev. 2 board has 17+4 GPIOs. You use 16+4 GPIOs, that should leave one unused?
sheinrichs wrote: next i've tried to load the modules with

sudo modprobe fbtft_device name=sainsmart32 rotate=0 debug=3 gpios=reset:29,dc:2,cs:28,wr:31,db00:11,db01:9,db02:10,db03:22,db04:27,db05:17,db06:4,db07:3,db08:7,db09:8,db10:25,db11:24,db12:23,db13:18,db14:14,db15:15
The command looks correct to me. An uninitialized display is all white. Loading the driver should turn the display black, all pixels set to zero.

sheinrichs
Posts: 14
Joined: Tue Aug 13, 2013 7:31 pm

Re: 320x240 LCD with integrated SSD1289 controller

Tue Sep 03, 2013 11:43 am

Hi notro,

i still don't Know if the display is ok yesterday i bought a second display with arduino

http://www.ebay.de/itm/221232715892?ssP ... 1497.l2648
it schould come thu - fr
i hope to get this run if i see the display working i try it on the raspberry with the spi circuit and give a respons if it ist working or not on the raspberry

regards Sascha

iriseth
Posts: 20
Joined: Sat Aug 24, 2013 4:03 pm

Re: 320x240 LCD with integrated SSD1289 controller

Fri Sep 06, 2013 12:26 pm

hi guys, I just received my sainsmart 3.2" SSD1289 touch screen display.
I'm digging for a wiring diagram, but I can't found any usable even in the .pdf's sainsmart provided. the LCD has 2x20 pins, and i don't know which does what. @Notro posted a matching table of which port needs to be wired where on the raspi, but I don't have list of pins for this LCD.
can someone help on how can I wire it to my raspi? (pin matching.. for example pin 1 on lcd = pin 23 on raspi, etc - as for dumbs :) )

thanks in advance!

sheinrichs
Posts: 14
Joined: Tue Aug 13, 2013 7:31 pm

Re: 320x240 LCD with integrated SSD1289 controller

Fri Sep 06, 2013 6:31 pm

Hi notro,

the arduino has arrived and both display run fine on it so the display is ok

so i started a next try on the raspi but still nothing
i used your circuit

@iriseth
here you should find anything you need notro has a good wiki
https://github.com/notro/fbtft/wiki
how to install the modules
https://github.com/notro/fbtft/wiki#install
and the circute

TFT
https://github.com/notro/fbtft/wiki/SPI ... ce-circuit
and Touchscreen
https://github.com/notro/fbtft/wiki/LCD ... insmart-32
the missing VCC if have taken from the SpritesMods circuit
http://spritesmods.com/?art=spitft&page=2

But it Still do nothing except the backlight

Loading the modules
sudo modprobe fbtft_device name=sainsmart32_spi
dmesg
[ 154.256830] fbtft_device: SPI devices registered:
[ 154.256874] fbtft_device: spidev spi0.0 500kHz 8 bits mode=0x00
[ 154.256890] fbtft_device: spidev spi0.1 500kHz 8 bits mode=0x00
[ 154.256899] fbtft_device: 'fb' Platform devices registered:
[ 154.256921] fbtft_device: bcm2708_fb id=-1 pdata? no
[ 154.256969] fbtft_device: Deleting spi0.0
[ 154.257479] fbtft_device: GPIOS used by 'sainsmart32_spi':
[ 154.257501] fbtft_device: 'reset' = GPIO25
[ 154.257511] fbtft_device: 'dc' = GPIO24
[ 154.257519] fbtft_device: SPI devices registered:
[ 154.257532] fbtft_device: spidev spi0.1 500kHz 8 bits mode=0x00
[ 154.257547] fbtft_device: fb_ssd1289 spi0.0 16000kHz 8 bits mode=0x00
[ 154.514645] graphics fb1: fb_ssd1289 frame buffer, 240x320, 150 KiB video memory, 4 KiB buffer memory, fps=20, spi0.0 at 16 MHz

my wiring in text

Raspi

3V3 pin1 Power for ic's + display pin2 VCC
GND pin6 GND for ic's + display pin1 GND
GPIO 17 pin11 --> display pin34 PenIRQ
GPIO 24 pin18 --> display pin4 RS/DC
MOSI pin19 --> U2(4094) pin2 Data + Display pin31 D_IN
MISO pin21 --> display pin33 D_OUT
GPIO 25 pin22 --> display pin 17 Reset
SCLK pin23 --> U1(4040) pin10 C + U2 pin3 Strobe + display pin29 D_CLK
CE0 pin24 --> U1 pin11 R + display pin15 cs
CE1 pin26 --> display pin30 D_CS

U1 HC4040

pin5 Q3 --> U2 pin1 Strobe + U3 pin1 + U4 pin1
pin8 GND --> GND
pin16 VCC --> 3V3 + 100n capacitor to GND

U2 HC4094

pin1 strobe --> U3(4094) pin1 strobe
pin3 CP --> U3 pin3 CP
pin4 Q0 --> display pin21 D00
pin5 Q1 --> display pin22 D01
pin6 Q2 --> display pin23 D02
pin7 Q3 --> display pin24 D03
pin8 GND --> GND
pin9 QS1 --> U3 pin2 Data
pin14 Q4 --> display pin25 D04
pin13 Q5 --> display pin26 D05
pin12 Q6 --> display pin27 D06
pin11 Q7 --> display pin28 D07
pin15 OE --> 3V3
pin16 VCC --> 3V3 + capacitor to GND

U3 HC4094

pin4 Q0 --> display pin7 D08
pin5 Q1 --> display pin8 D09
pin6 Q2 --> display pin9 D10
pin7 Q3 --> display pin10 D11
pin8 GND --> GND
pin14 Q4 --> display pin11 D12
pin13 Q5 --> display pin12 D13
pin12 Q6 --> display pin13 D14
pin11 Q7 --> display pin14 D15
pin15 OE --> 3V3
pin16 VCC --> 3V3 + capacitor to GND

U4 74HC04

pin2 1Y --> display pin5 WR
pin7 GND --> GND
pin14 VCC --> 3V3 + capacitor to GND

Display

pin19 LED --> 3V3

is there anything wrong in my wiring?
and how do i see if the display is initialized if i start the raspi the backlight turns on and i see no change the display is allways white when i disconect the led it is allways black
DSC00617.JPG
my wiring
DSC00617.JPG (63.03 KiB) Viewed 4931 times
if you let me pm you i send you a link to a bigger view
64kb is realy to small

regards Sascha

notro
Posts: 695
Joined: Tue Oct 16, 2012 6:21 pm
Location: Drammen, Norway

Re: 320x240 LCD with integrated SSD1289 controller

Fri Sep 06, 2013 8:12 pm


sheinrichs
Posts: 14
Joined: Tue Aug 13, 2013 7:31 pm

Re: 320x240 LCD with integrated SSD1289 controller

Fri Sep 06, 2013 9:07 pm

hi notro,

the test result
2 errors d14 has the same data as d0
and cs has an error bihind the circuit direct on the raspi it is ok
how can i fix this

sudo python test2.py

Tests for SPI to LCD interface circuit https://github.com/notro/fbtft/wiki/SPI ... ce-circuit

Probe gpio: 22
Move probe to the specified signal pin and press Enter


Databus width [16] 16
0. Run all interface tests
1. Databus test
2. WR test
3. RD test
4. CS test
5. SPI test
x. Quit

Choice [0] 0

Databus test
------------

D0
D1
D2
D3
D4
D5
D6
D7
D8
D9
D10
D11
D12
D13
D14
Multiple bits set

Error: Signal is found on D0

D15

WR test
-------

WR

RD test
-------

RD

CS test on the display
-------

CS
Error: CS should be LOW during transfer

CS test on the raspi
-------

CS


SPI test
-------

SCLK
MOSI
CE

notro
Posts: 695
Joined: Tue Oct 16, 2012 6:21 pm
Location: Drammen, Norway

Re: 320x240 LCD with integrated SSD1289 controller

Sat Sep 07, 2013 2:57 pm

sheinrichs wrote: the test result
2 errors d14 has the same data as d0
and cs has an error bihind the circuit direct on the raspi it is ok
how can i fix this
How can CS be different on the Pi and on the display? It's a straight wire.
The other problem, I don't know. Is the error consistent on multiple test runs? You could add some more print statements to the script to understand more about the error.

sheinrichs
Posts: 14
Joined: Tue Aug 13, 2013 7:31 pm

Re: 320x240 LCD with integrated SSD1289 controller

Sun Sep 08, 2013 6:28 pm

Hi notro,

after about 15 test's, no it is not allways the same Dxx
Dxx
Multiple bit set

Error: signal is found on Dxx
some have the Multiple bit set + Error some only the Error
and CS sometimes ok sometimes not, most of the test's CS was ok
it seems that there is a Timing problem

but if I load Spi_bcm2708 and the Sainsmart32_spi module I see the display go's Black

sheinrichs
Posts: 14
Joined: Tue Aug 13, 2013 7:31 pm

Re: 320x240 LCD with integrated SSD1289 controller

Tue Sep 10, 2013 2:06 pm

Hi notro,

I don't know what it was the bread board or the wires.
yesterday i decided to solder it and it runs fine next comes the touchscreen.

RaspNoob
Posts: 3
Joined: Sat Sep 28, 2013 6:10 pm

Re: 320x240 LCD with integrated SSD1289 controller

Sat Sep 28, 2013 6:45 pm

I had a few questions. I am trying to get this LCD to work for a project. But I haven't worked with Pi ever. I had a few questions.
1. Does this project require the raspberry pi to have ArchLinux to be installed to work, or would any of the other ones be fine?
2. If ArchLinux is required. Is there anywhere I can go to figure out how to install ArchLinux? (I was able to login as root/root but all i get is a command line and I cant figure out how to get to the desktop.
3. If it is possible in Raspbian, Where do I put the kernel files and other stuff?

Thanks for the help.

-PiNoob

zoelqivlie
Posts: 14
Joined: Wed Dec 19, 2012 12:53 pm

Re: 320x240 LCD with integrated SSD1289 controller

Sun Sep 29, 2013 12:03 pm

how about ITDB02-3.2S? it is 3.2" TFT LCD with 65K color 320 x 240 resolutions. The controller of this LCD module is SSD1289.
thanx ;-)
tkraspilabs Indonesia | Pi 512M Rev 2 | Pi B+ | Pi 2 B | Pi Zero | Pi 3B

RaspNoob
Posts: 3
Joined: Sat Sep 28, 2013 6:10 pm

Re: 320x240 LCD with integrated SSD1289 controller

Sun Oct 06, 2013 5:15 pm

Quick Question....
Can we still use the SPI bus for other stuff if we need to by freezing the lcd?

wouterel
Posts: 52
Joined: Thu Feb 14, 2013 3:09 pm

Re: 320x240 LCD with integrated SSD1289 controller

Sun Oct 06, 2013 8:14 pm

RaspNoob wrote:Quick Question....
Can we still use the SPI bus for other stuff if we need to by freezing the lcd?
There are 2 chip select (chip enable) pins exposed on the main GPIO pin header so using two devices at the same time should not be too hard (they should share clock, miso and mosi, each has their own "chip enable").
see http://www.brianhensley.net/2012/07/get ... ry-pi.html for some details.

bauderline
Posts: 1
Joined: Thu Oct 10, 2013 3:59 pm

Re: 320x240 LCD with integrated SSD1289 controller

Thu Oct 10, 2013 4:09 pm

Folks,

I am going to build the board Voldovov designed to hook up the Sainsmart 3.2 to my Pi, I was wondering if I could also use the same board to hook it up to an Arduino so as to not use every last pin on the Arduino to get it hooked up.

Adafruit seem to be doing something similar here...

http://learn.adafruit.com/2-8-tft-touch ... on-options

BR Peter.

Return to “Other projects”