[Guide] ili9341 SPI TFT Screen on Retropie

Various user-contributed guides for hardware-related things
Sande
Posts: 1
Joined: Thu Aug 10, 2017 9:52 am

Re: [Guide] ili9341 SPI TFT Screen on Retropie

Post by Sande » Thu Aug 10, 2017 10:04 am

Hi Folks,

Is there any way to connect this screen without using Pin 19 (GPIO 10) and Pin 23 (GPIO 11)? I ask because I'm trying to use a SNES controller, and I can connect that to the Raspberry Pi Zero using the 5 existing output pins on the controller and run gamecondriver on the Pi. This , however, requires that I connect to pins 1, 5, 9, 19, and 23.

All the research I've attempted suggests that both the screen and the controller require Pins 19 and 23 and that connot be changed. But I'm hoping theres something I can change in the drivers to allow either one to use different pins.

Thanks in advance for any advice anyone can give.

User avatar
moosepr
Posts: 524
Joined: Wed Jan 25, 2017 6:18 am
Has thanked: 69 times
Been thanked: 241 times
Contact:

Re: [Guide] ili9341 SPI TFT Screen on Retropie

Post by moosepr » Thu Aug 10, 2017 10:44 am

I think you might be struggling on the screen side, those pins are used for the spi connection, and they can't be changed unfortunately. I don't know enough about the gamecondriver to be able to advise on that side in afraid
Get a small cheep LCD in your project https://www.sudomod.com/forum/viewtopic.php?f=22&t=2312
Wrap it all round a battery https://www.sudomod.com/forum/viewtopic.php?f=13&t=2292
Or use a custom PCB to make it really small https://www.sudomod.com/forum/viewtopic.php?f=13&t=2512
or make it really really really really tiny!! https://www.sudomod.com/forum/viewtopic.php?f=13&t=2919

username 123
Posts: 134
Joined: Thu Jun 09, 2016 5:45 pm
Has thanked: 33 times
Been thanked: 29 times

Re: [Guide] ili9341 SPI TFT Screen on Retropie

Post by username 123 » Thu Aug 10, 2017 11:11 pm

Will this help us achieve 60fps with our ili9341 screens?
https://www.raspberrypi.org/forums/view ... p?t=182217
Forgive me if it's been posted before. Sounds like this guy got spi screens to real 60fps.

User avatar
abrugsch
Posts: 971
Joined: Tue Aug 02, 2016 10:00 am
Has thanked: 356 times
Been thanked: 430 times
Contact:

Re: [Guide] ili9341 SPI TFT Screen on Retropie

Post by abrugsch » Fri Aug 11, 2017 1:38 am

yes and no. he's posted in here (this very thread: http://www.sudomod.com/forum/viewtopic. ... 091#p32091 )and is in the discord channel regularly updating us with his progress. but as it's a library not a driver, the game or program has to explicitly use it in the code. it has to be written into the game itself. He is working on an emulator but I'm not sure exactly what it will support.

It does look very promising on the 60fps front though!
Last edited by abrugsch on Fri Aug 11, 2017 4:12 am, edited 1 time in total.

User avatar
moosepr
Posts: 524
Joined: Wed Jan 25, 2017 6:18 am
Has thanked: 69 times
Been thanked: 241 times
Contact:

Re: [Guide] ili9341 SPI TFT Screen on Retropie

Post by moosepr » Fri Aug 11, 2017 3:19 am

Yeah he is using more efficient methods of updating the screen like only updating the parts that have changed. Clever stuff!
Get a small cheep LCD in your project https://www.sudomod.com/forum/viewtopic.php?f=22&t=2312
Wrap it all round a battery https://www.sudomod.com/forum/viewtopic.php?f=13&t=2292
Or use a custom PCB to make it really small https://www.sudomod.com/forum/viewtopic.php?f=13&t=2512
or make it really really really really tiny!! https://www.sudomod.com/forum/viewtopic.php?f=13&t=2919

username 123
Posts: 134
Joined: Thu Jun 09, 2016 5:45 pm
Has thanked: 33 times
Been thanked: 29 times

Re: [Guide] ili9341 SPI TFT Screen on Retropie

Post by username 123 » Fri Aug 11, 2017 8:11 pm

Im really obsessing over this great little lcd. I wish it didnt have a blueish hue to it.

User avatar
moosepr
Posts: 524
Joined: Wed Jan 25, 2017 6:18 am
Has thanked: 69 times
Been thanked: 241 times
Contact:

Re: [Guide] ili9341 SPI TFT Screen on Retropie

Post by moosepr » Sat Aug 12, 2017 5:29 am

Yeah they are really good. Cheap and simple!
Get a small cheep LCD in your project https://www.sudomod.com/forum/viewtopic.php?f=22&t=2312
Wrap it all round a battery https://www.sudomod.com/forum/viewtopic.php?f=13&t=2292
Or use a custom PCB to make it really small https://www.sudomod.com/forum/viewtopic.php?f=13&t=2512
or make it really really really really tiny!! https://www.sudomod.com/forum/viewtopic.php?f=13&t=2919

User avatar
Holydohnut
Posts: 194
Joined: Wed May 10, 2017 2:02 pm
Has thanked: 29 times
Been thanked: 68 times

Re: [Guide] ili9341 SPI TFT Screen on Retropie

Post by Holydohnut » Wed Aug 16, 2017 2:02 pm

Hi moosepr. Just wanted to let you know that my ACTUAL ili9341arrived today, and your guide worked first time. Not sure what to do now with this useless ILI9225, but hey ho!

Thanks again for your help.

User avatar
moosepr
Posts: 524
Joined: Wed Jan 25, 2017 6:18 am
Has thanked: 69 times
Been thanked: 241 times
Contact:

Re: [Guide] ili9341 SPI TFT Screen on Retropie

Post by moosepr » Wed Aug 16, 2017 2:54 pm

That's awesome news dude! Glad it came good in the end! You can add that screen to your parts bin like I do. It might work of for Arduino stuff
Get a small cheep LCD in your project https://www.sudomod.com/forum/viewtopic.php?f=22&t=2312
Wrap it all round a battery https://www.sudomod.com/forum/viewtopic.php?f=13&t=2292
Or use a custom PCB to make it really small https://www.sudomod.com/forum/viewtopic.php?f=13&t=2512
or make it really really really really tiny!! https://www.sudomod.com/forum/viewtopic.php?f=13&t=2919

codeman0624
Posts: 109
Joined: Wed Nov 23, 2016 10:19 am
Has thanked: 3 times
Been thanked: 74 times

Re: [Guide] ili9341 SPI TFT Screen on Retropie

Post by codeman0624 » Fri Aug 18, 2017 10:16 am

Why does overscan need to be disabled?

Is there a way to adjust where on the screen everything is displayed? Something like what overscan would do. I'm trying to get a display to fit a particular opening I have available.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest