-
Notifications
You must be signed in to change notification settings - Fork 496
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SSD1963 support? #58
Comments
Two days ago I ordered a display that seems to be very similar to yours: http://www.ebay.com/itm/New-5-0-800-480-TFT-LCD-Module-Display-Touch-Panel-SSD1963-For-51-AVR-STM32-/171198903887? It will arive in 3-4 weeks. I will start working on the SSD1963 driver when it arrives. |
thanks you for help me.. many thanks |
I have a simmilar driver for ssd1963 - tested on 480x272 4.3" and 5" display. You can contact me for source code. |
thank you so much, 2014/1/8 strancara notifications@github.com
|
can request source code, 2014/1/11 agus sanjaya goobiez11@gmail.com
|
I have received my SSD1963 displays and started testing. I'm using the flexfb driver, but there are some problems that might be caused by an inadequate power supply. Console works fine, fullscreen movie gives periodic displacement of horizontal lines. In X windows items are displaced to the right, jumping back and forth as I move the mouse. Nevertheless, it is possible to use the flexfb driver with the SSD1963. I will make a dedicated driver when I have sorted out these problems. 5.0" - 800x480
4.3" - 480x272
|
RPi’s power supply is for sure not powerfull enough for a 4.3” pannel. I am using 3.3V LDO (from +5V) in my design. Even with this the module can not be hot-plugged onto RPi – it causes a voltage dip and a RPi restart... No problems if it is connected before plugging the power. |
Thanks, I'll order one.
I will try both parallel (which I have done) and using my SPI interface circuit. The circuit didn't work well with DMA on my Sainsmart 3.2" display (SSD1289) though. I don't use these displays, I just make them work with Linux and the Raspberry Pi. My kind of fun :-)
I have just wired /CS permanently low. With a parallel bus connection, I drive the bus GPIOs directly through the hardware registers to get a bit of extra speed (~15% speedup). This worked fine on the 8-bit ITDB2.8 (ILI9325). |
Hi everybody, i have a 7" tft with an SSD1963. My wirering is: I start fbtft with: modprobe fbtft_device name=flexfb cs=1 gpios=dc:18,reset:25 debug=3 the syslog output is: But my display is completly white. Can anybody help me please? |
The pins starting with T_ is for the touch panel controller. I guess the display has a 16-bit databus. |
Hi, I'm try to connect a 5.0" tft with a ssd1963 controller in parallel. i follow the connection as notro says in his post in the gpios section, also cs to gnd and power from external 3,3v circuit. what i get is only vertical colored link. nowhere i find where to connect RD ( no RS/DC). do you have some hints? I've double cheked all connections and all wirings are well connected. |
Do you have a product page link? |
The product it's the same linked above, same seller. I already try to not connect RD. ED/DC in on GPIO2. I have to load something else? |
It's difficult to answer when you give so little information. People jump in all the time in these issues, so it's hard to know what the facts are.
Then RS should be connected to GPIO2, WR connected to GPIO31 and RD tied HIGH (3.3V). |
Hi, The display is 5.0" - 800x480 Raspberry Pi image with FBTFT support connected as RST -> GPIO29 I've typed in the terminal exactly what you have posted in your last comment and the result is let me know if you want know more. |
That's much better. In this situation I would use a script I made to verfiy the connections on the LCD header, to be sure there is no miswiring. I had to make the script because I couldn't get a display working, and it turned out I had swapped two databus wires. |
Connecting the CS of the dsiplay to Ground causes this image at startup. do I have to connect sd_cs and t_cs also to ground? Maybe the init parameter are wrong? init=-1,0xE2,0x23,0x02,0x04,-1,0xE0,0x01,-2,1,-1,0xE0,0x03,-2,5,-1,0x01,-2,5,-1,0xE6,0x03,0xff,0xff,-1,0xB0,0x27,0x00,0x03,0x1F,0x01,0xDF,0x00,-1,0xB4,0x03,0xA0,0x00,0x2E,0x30,0x00,0x0F,0x00,-1,0xB6,0x02,0x0D,0x00,0x10,0x10,0x00,0x08,-1,0xBA,0x0F,-1,0xB8,0x07,0x01,-1,0x36,0x00,-1,0xF0,0x03,-2,5,-1,0x29,-1,0xd0,0x0d,-3 |
@dawys is the backlight connected to 3.3V on the Raspberry Pi? |
hey trying to get a 5" screen with the ssd1963 chip. Its a similar displat that you posted from Ebay earlier in the post notro. But its from Dx http://dx.com/p/800-x-480-5-0-lcd-tft-touch-screen-module-w-stylus-pen-for-arduino-blue-154505#.UwdvMHOJCIs |
From the product page: Model: TFT01-5.0 This page describes a product with the same name, and it has a schematic in the Material download file: http://www.elecfreaks.com/store/50-tft-lcd-screen-module-tft0150-p-420.html Try connecting Vcc and and LED-A to 3.3V and Gnd to Gnd. That should light up the display. |
Yeah i have found the eledmfreaks page as well. Thanks for the help. |
Hi, best regards Thank you for your help |
Set buswidth=8, init= to match your display and skip gpios= db08 to db15 |
Right, I already connected the LCD modprobe fbtft_device name=flexfb cs=1 gpios=dc:18,reset:25 debug=3 Thank you for your help. |
You have to use the flexpfb device, there's a 'p' in there (parallel), and specify all the pins. Like this:
|
The driver sends RGB565 in two bytes. If the display controller expected 3 bytes, the display would only be filled 66% with a distorted image. See if you can get some example code for that display. It usually contains the correct init sequence for the display. |
Hi, again you are right, I changed the init config to 8 bits and the display look like this It must have to convert the 565 format 16 bits, to 8 bits format and send 3 bytes instead 2 bytes, where is the routine that draw a pixel in LCD? |
Why do want to change that, when the display controller supports RGB565? This will not affect the colors, just how the pixels are transferred. The gamma curve is used to change the intensity of the colors. fbtft_write_vmem16_bus8() is used to transfer video memory in your case: https://github.com/notro/fbtft/blob/master/fbtft-bus.c#L130 |
Sorry but I do not want to be annoying, you have been nice to me in answering my questions, I need to handle touch screen along with the module touch, the module works perfectly, but I've had too many problems with TFT. I followed all your advice, but does not correct the errors. could you test with your TFT. this is a specific driver to ssd1963, I compiled into the kernel but doesn't start. there is the aswer to port to 8 bits bus https://www.assembla.com/code/edmar_playground/subversion/nodes/24/trunk/embedded/RaspberryPi http://www.youtube.com/watch?v=4U9TWmFlZDo There are two drivers in the SVN repo:
To manage 8 Bit communicatin you need to adapt dio_writePortGroup to use 8 Pins instead of 16 in dio.c. Note that here the used Pins for the bus are defined. dio_writePortGroup((uint8)((data_ui16 >> 3) & 0xFC)); dio_writePortGroup((uint8)((data_ui16 << 3) & 0xF8)); That's it. |
From UTFT\tft_drivers\ssd1963\800alt
Before LCD_Write_COM value you add -1, and before delay value you add -2, and end it all with -3
|
Hi notro, Edit : hi again lol |
Hi notro, |
Set Address Mode, register 36h controls rotation and mirroring. You just have to try the different values. I have never understood how it works. I always end up trying different combinations until it works. |
Hi notro, |
Hi notro, edit 2: Heres the link to the video i have uploaded of the screen running a rom and a video (720p) @82MHz.. Sorry its so long but i could not get the video to start first time. This was my forth attempt so i just went with it. :) |
I'm very impressed with what you've done here. Doing 800x480 this well over SPI, quite amazing! http://www.hwlevel.com/ uses compression in at least one of their displays. |
Hi notro, |
No, not currently, but that can change if guzunty can do decompression. |
Hi notro, |
How about using the 16-bits parallel interface. would it be any chance to get a better performance ? |
Hi notro may I ask you img file for fbtft for ssd1963? because I am using raspberry pi 2 and I cannot update my firmware thank you |
I have stopped making images, so I don't have one for the Pi2. |
Did this issue ever get resolved? I am having a similar problem when operating at buswidth=8. I get an image that seems to be superimposed on itself 3 times like the screenshot from @t0mac0 . Does the fbtft driver send the pixel data in 3 cycles as shown in this table when buswidth=8? |
Hello, |
i use: |
and sudo modprobe --first-time fbtft_device name=flexpfb debug=3 gpios=reset:4,dc:13,wr:12,db00:6,db01:5,db02:25,db03:24,db04:23,db05:22,db06:27,db07:18,led:26 rotate=0 |
and dmesg it is [ 15.453360] fuse init (API version 7.23) |
i see also mode "320x240" and |
sudo FRAMEBUFFER=/dev/fb1 startx X.Org X Server 1.20.4 waiting for X server to shut down (II) Server terminated successfully (0). Closing log file. xinit: unexpected signal 2 |
Copied from #45 (comment)
Help me .. l
I have lcd tft 4.3 inchi but I can not use it because I can not make a driver for raspberries like you, can you can provide a driver for the SSD1963
http://www.emartee.com/product/42175/
Many Thanks
The text was updated successfully, but these errors were encountered: