juj / fbcp-ili9341

A blazing fast display driver for SPI-based LCD displays for Raspberry Pi A, B, 2, 3, 4 and Zero
MIT License
1.61k stars 266 forks source link

Is here support for GamePi20? #150

Open petrmachcz opened 4 years ago

petrmachcz commented 4 years ago

Hello, I do not understand hardware, numbering chips etc. unfortunately. Is it this driver compatible with GamePi20? I using it with standard Raspbian Pi OS Lite. Thank you for the advice.

juj commented 4 years ago

Unfortunately there is no developed support for GamePi20. Looking at https://www.waveshare.com/gamepi20.htm and https://www.waveshare.com/wiki/GamePi20, WaveShare does not seem to publicize the hardware specifications of the display controller, so it is difficult to know if the setup would be utilizing one of the display controllers that fbcp-ili9341 already supports.

Btw, in the past I have attempted to contact WaveShare directly regarding some other products they publish, to ask for a data sheet. Their reply has been dismissive, implying they'd only consider sharing such information to customers buying in bulk (thousands/tens of thousands units?)

Although there does exist a flexfb-based fbtft.conf script in https://www.waveshare.com/wiki/GamePi20. That could be used as a basis to develop at least partial driver support for the device, as it identifies the pin numberings and one suitable initialization sequence. It could be likely that the display is a good old ILI9341, which does work quite well.

petrmachcz commented 4 years ago

Thank You for your reply.

čt 2. 7. 2020 v 21:21 odesílatel juj notifications@github.com napsal:

Unfortunately there is no developed support for GamePi20. Looking at https://www.waveshare.com/gamepi20.htm and https://www.waveshare.com/wiki/GamePi20, WaveShare does not seem to publicize the hardware specifications of the display controller, so it is difficult to know if the setup would be utilizing one of the display controllers that fbcp-ili9341 already supports.

Btw, in the past I have attempted to contact WaveShare directly regarding some other products they publish, to ask for a data sheet. Their reply has been dismissive, implying they'd only consider sharing such information to customers buying in bulk (thousands/tens of thousands units?)

Although there does exist a flexfb-based fbtft.conf script in https://www.waveshare.com/wiki/GamePi20. That could be used as a basis to develop at least partial driver support for the device, as it identifies the pin numberings and one suitable initialization sequence. It could be likely that the display is a good old ILI9341, which does work quite well.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/juj/fbcp-ili9341/issues/150#issuecomment-653180973, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIBCKVUNBULO75UOVJU253TRZTM4JANCNFSM4OPFEG7A .

Jpe230 commented 3 years ago

Sorry for reviving this issue:

My Gamepi20 arrived a week ago and I was about to test fbcp-ili9341 with the display, sadly while assembly the "game console" I shattered the display rendering it useless.

It seems that the display used in this console is very similar to these one: https://www.waveshare.com/wiki/2inch_LCD_Module and https://www.adafruit.com/product/4311. The LCD Ribbon cable looks very similar, so maybe the controller is a ST7789 although I couldn’t test it, given these similarities I was hopeful that indeed the display controller is a ST7789 so it should be compatible with fbcp-ili9341.

Looking by the init code given by the wiki and looking at st7735r.cpp it differs a bit but mostly it seems to match. I don't know if the init. sequence has to match 100% for it to work but if not, porting the init. sequence from the wiki to fbcp-ili9341 doesn't seem to be a lot of trouble.

Once my new gamepi20 arrives I will start tinkering with it and hopefully make it work with this awesome library :)