Th0rium
Posts: 2
Joined: Tue Jun 18, 2013 1:51 pm

ITDB02-3.2S (3.2" display)

Tue Jun 18, 2013 2:19 pm

Hi everyone,

Has anyone used this display with the raspberry pi model B?

http://imall.iteadstudio.com/display/tf ... 19005.html

Specs:
Model IM120419005
Display Size 3.2”
Display Resolution 320 * 240
Display Interface Parallel 16 Bit
Display Controller SSD1289
Expand SD Card Socket,Touch Screen


I'm looking at adding a display to my raspberry pi but not sure if this one is compatible with the board.

any help is greatly appreciated :)

texy
Forum Moderator
Forum Moderator
Posts: 5155
Joined: Sat Mar 03, 2012 10:59 am
Location: Berkshire, England

Re: ITDB02-3.2S (3.2" display)

Wed Jun 19, 2013 6:40 am

Hi,
I think notro's fbtft driver is compatible :
https://github.com/notro/fbtft/wiki/LCD-Modules
It doesn't mention that particular display in the supported listing, but it may 'just work' , or ask notro about it ;)

Texy
Various male/female 40- and 26-way GPIO header for sale here ( IDEAL FOR YOUR PiZero ):
https://www.raspberrypi.org/forums/viewtopic.php?f=93&t=147682#p971555

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

Re: ITDB02-3.2S (3.2" display)

Wed Jun 19, 2013 12:07 pm

I got a message a week ago from @xtramural that he got his ITDB02-3.2S working with the SPI interface circuit and the sainsmart32fb driver.
He was looking into driving it with a latched 8-bit bus, but I don't know if he has succeeded with that.

Sainsmart 3.2 post: http://www.raspberrypi.org/phpBB3/viewt ... 7&p=356810
Latched circuit: http://www.raspberrypi.org/phpBB3/viewt ... 14#p365414

xtramural
Posts: 108
Joined: Thu Dec 29, 2011 11:16 pm
Location: Scotland

Re: ITDB02-3.2S (3.2" display)

Wed Jun 19, 2013 12:44 pm

notro wrote:I got a message a week ago from @xtramural that he got his ITDB02-3.2S working with the SPI interface circuit and the sainsmart32fb driver.
He was looking into driving it with a latched 8-bit bus, but I don't know if he has succeeded with that.

Sainsmart 3.2 post: http://www.raspberrypi.org/phpBB3/viewt ... 7&p=356810
Latched circuit: http://www.raspberrypi.org/phpBB3/viewt ... 14#p365414
I haven't had the time to experiment with the latched 8-bit bus version but can confirm that the SPI interface and the sainsmart32fb driver are a working combination with that display.

Th0rium
Posts: 2
Joined: Tue Jun 18, 2013 1:51 pm

Re: ITDB02-3.2S (3.2" display)

Thu Jun 20, 2013 11:41 am

Hi all,

Thanks for the help, I ordered my screen and should be arriving soon. I'll update the post when I get the screen working.

Thanks again

fosap
Posts: 4
Joined: Wed Jun 26, 2013 10:56 am

Re: ITDB02-3.2S (3.2" display)

Fri Jun 28, 2013 7:27 pm

I ordered a ITDB02-3.2WD. So far it is not working yet, i hope it won't be too hard thanks to the flexfb driver.

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

Re: ITDB02-3.2S (3.2" display)

Fri Jun 28, 2013 8:12 pm

Unfortunately the HX8352-A controller is not supported by flexfb or any other FBTFT driver.

The main difference between LCD controllers are:
* Init sequence (FBTFT function: init_display())
* Registers used to set GRAM address (FBTFT function: set_addr_win())

Another issue the driver has to handle is the interface used by the display module.
FBTFT supports:
* 8-bit SPI
* 9-bit SPI
* 8-bit parallel
* 16-bit parallel (this is not tested yet)

There is also this SPI interface circuit: https://github.com/notro/fbtft/wiki/SPI ... ce-circuit

You could try and expand flexfb with a flexfb_set_addr_win_3 function that can be used with this controller.
I downloaded the latest UTFT.rar, and this is the relevant part:
UTFT/tft_drivers/hx8352a/setxy.h

Code: Select all

case HX8352A:
	LCD_Write_COM_DATA(0x02,x1>>8);
	LCD_Write_COM_DATA(0x03,x1);
	LCD_Write_COM_DATA(0x04,x2>>8);
	LCD_Write_COM_DATA(0x05,x2);
	LCD_Write_COM_DATA(0x06,y1>>8);
	LCD_Write_COM_DATA(0x07,y1);
	LCD_Write_COM_DATA(0x08,y2>>8);
	LCD_Write_COM_DATA(0x09,y2);
	LCD_Write_COM(0x22);      
	break;
Here is info on how to build FBTFT: https://github.com/notro/fbtft/wiki/Development

fosap
Posts: 4
Joined: Wed Jun 26, 2013 10:56 am

Re: ITDB02-3.2S (3.2" display)

Fri Jun 28, 2013 9:03 pm

Ah, the flexfb developer, how convenient I'm just reading the source :)
notro wrote: Another issue the driver has to handle is the interface used by the display module.
FBTFT supports:
* 8-bit SPI
* 9-bit SPI
* 8-bit parallel
* 16-bit parallel (this is not tested yet)
This should not be an issue, the controller does support 8/16 bit parallel interface with the usual 4 bit data control. Unless i misunderstood something that should be exactly what the other controllers use aswell.

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

Re: ITDB02-3.2S (3.2" display)

Thu Sep 26, 2013 3:53 pm

I ordered ITDB02-3.2S too , can share experience with it...success or not...thanx ;)
tkraspilabs Indonesia | Pi 512M Rev 2 | Pi B+ | Pi 2 B | Pi Zero | Pi 3B

Return to “Other projects”