[Guide] ili9341 SPI TFT Screen on Retropie

Various user-contributed guides for hardware-related things
User avatar
facelessloser
Posts: 8
Joined: Fri Aug 31, 2018 5:40 am
Has thanked: 1 time
Been thanked: 4 times
Contact:

Re: [Guide] ili9341 SPI TFT Screen on Retropie

Post by facelessloser » Sun Oct 28, 2018 2:36 pm

parizene wrote:
Sun Oct 28, 2018 2:29 pm
facelessloser wrote:
Sun Oct 28, 2018 9:49 am
Oh so you couldn't get it to work on the breakout board but could on the bare screen?
yes
Thanks, Im going to have to make a breakout board now :lol:

User avatar
cbafun
Posts: 7
Joined: Wed Sep 19, 2018 10:16 am
Has thanked: 4 times
Been thanked: 4 times

Re: [Guide] ili9341 SPI TFT Screen on Retropie

Post by cbafun » Fri Dec 07, 2018 1:01 am

Hi,

Sorry for picking up on an old topic here. I have followed your tutorial here and everything works great. My only question is:

Is there a way to utilise GPIO 12 (Pin32) for the backlight instead of GPIO18. I am trying to squeeze in an I2S amp on my board, and that is inconveniently also utilising GPIO 18. As far as I can understand, the screen is using the PWM function of GPIO 18 (PWM0) and GPIO 12 seems to have that same function. If this is a possibility, where can I make the change in the code, I have looked, but can't seem to find it anywhere. Again, thanks for a lovely writeup!

User avatar
VeteranGamer
Posts: 1592
Joined: Thu Jan 26, 2017 11:12 am
Location: London, UK
Has thanked: 459 times
Been thanked: 845 times

Re: [Guide] ili9341 SPI TFT Screen on Retropie

Post by VeteranGamer » Fri Dec 07, 2018 1:13 am

cbafun wrote:
Fri Dec 07, 2018 1:01 am
Hi,

Sorry for picking up on an old topic here. I have followed your tutorial here and everything works great. My only question is:

Is there a way to utilise GPIO 12 (Pin32) for the backlight instead of GPIO18. I am trying to squeeze in an I2S amp on my board, and that is inconveniently also utilising GPIO 18. As far as I can understand, the screen is using the PWM function of GPIO 18 (PWM0) and GPIO 12 seems to have that same function. If this is a possibility, where can I make the change in the code, I have looked, but can't seem to find it anywhere. Again, thanks for a lovely writeup!

you don't need to use GPIO18 for the LED....
if you connect the LED up to the VCC (ideally using something like 10ohm resistor)


this has been done, and is tried and tested
and will allow you to use GPIO18




.

Online
User avatar
Helder
Trailblazer
Trailblazer
Posts: 2544
Joined: Thu May 05, 2016 8:33 am
Location: Fall River, MA
Has thanked: 1317 times
Been thanked: 3005 times

Re: [Guide] ili9341 SPI TFT Screen on Retropie

Post by Helder » Fri Dec 07, 2018 1:31 am

You can also use the other PWN pin if you really want to use it or hardwire it in like VeteranGamer said above.
My Sale Threads:

Retro PSU, 3.5A output!


Chat with me and other members


Don't contact me about obtaining my board files (as you will not get them). Don't contact me about any of my boards if they are sold out, they will be restocked as soon as I can get them.


Don't support thieves like ckliang who copied my AIO to resell and is now cloning the mintyPi, support the original creators and not the thieves!

chendavid
Posts: 2
Joined: Sun Jan 27, 2019 4:22 am
Been thanked: 1 time

Re: [Guide] ili9341 SPI TFT Screen on Retropie

Post by chendavid » Sun Jan 27, 2019 4:34 am

parizene wrote:
Sun Oct 28, 2018 2:29 pm
facelessloser wrote:
Sun Oct 28, 2018 9:49 am
Oh so you couldn't get it to work on the breakout board but could on the bare screen?
yes
Sorry to bother. I just saw what your amazing achievement. However, I can not duplicate what you did with the fbcp-ili9341 cmake. I have the same st7789vw bare board and wire to raspberry zero. Fbtft can activate it, but with very low framerate. Is there any wire diagram and what you did beside cmake code? Cause I just got eternity main looping, or DMA channel conflict. Appreciate your help~

User avatar
facelessloser
Posts: 8
Joined: Fri Aug 31, 2018 5:40 am
Has thanked: 1 time
Been thanked: 4 times
Contact:

Re: [Guide] ili9341 SPI TFT Screen on Retropie

Post by facelessloser » Sun Jan 27, 2019 10:01 am

chendavid wrote:
Sun Jan 27, 2019 4:34 am
parizene wrote:
Sun Oct 28, 2018 2:29 pm
facelessloser wrote:
Sun Oct 28, 2018 9:49 am
Oh so you couldn't get it to work on the breakout board but could on the bare screen?
yes
Sorry to bother. I just saw what your amazing achievement. However, I can not duplicate what you did with the fbcp-ili9341 cmake. I have the same st7789vw bare board and wire to raspberry zero. Fbtft can activate it, but with very low framerate. Is there any wire diagram and what you did beside cmake code? Cause I just got eternity main looping, or DMA channel conflict. Appreciate your help~
Hi I'll see if I can be any help. So I wired the screen up the same way waveshare did with their hat board here https://www.waveshare.com/1.3inch-lcd-hat.htm
I also followed a guild they send me here
https://www.waveshare.com/wiki/File:1.3 ... ual_en.pdf

I have also written up my own guide to getting it up and running
https://facelesstech.wordpress.com/2019 ... pberry-pi/
Hope this will help you out

chendavid
Posts: 2
Joined: Sun Jan 27, 2019 4:22 am
Been thanked: 1 time

Re: [Guide] ili9341 SPI TFT Screen on Retropie

Post by chendavid » Mon Jan 28, 2019 6:12 am

facelessloser wrote:
Sun Jan 27, 2019 10:01 am
chendavid wrote:
Sun Jan 27, 2019 4:34 am
parizene wrote:
Sun Oct 28, 2018 2:29 pm

yes
Sorry to bother. I just saw what your amazing achievement. However, I can not duplicate what you did with the fbcp-ili9341 cmake. I have the same st7789vw bare board and wire to raspberry zero. Fbtft can activate it, but with very low framerate. Is there any wire diagram and what you did beside cmake code? Cause I just got eternity main looping, or DMA channel conflict. Appreciate your help~
Hi I'll see if I can be any help. So I wired the screen up the same way waveshare did with their hat board here https://www.waveshare.com/1.3inch-lcd-hat.htm
I also followed a guild they send me here
https://www.waveshare.com/wiki/File:1.3 ... ual_en.pdf

I have also written up my own guide to getting it up and running
https://facelesstech.wordpress.com/2019 ... pberry-pi/
Hope this will help you out
it works perfectly!! Thanks for sharing your guide with me. You really make my day!

ElectrodeYT
Posts: 2
Joined: Sun Mar 24, 2019 2:07 pm

Re: [Guide] ili9341 SPI TFT Screen on Retropie

Post by ElectrodeYT » Sun Mar 24, 2019 4:54 pm

Sorry if this has been said before, but fbcp-ili9341 is so much better. It can refresh a screen very quickly, and if too much is going on it will interlace the display.

sandog
Posts: 80
Joined: Fri Oct 26, 2018 8:17 pm
Has thanked: 3 times
Been thanked: 4 times

Re: [Guide] ili9341 SPI TFT Screen on Retropie

Post by sandog » Mon Apr 15, 2019 5:02 pm

what screens seem to work the best so far from everyone's testing?

sandog
Posts: 80
Joined: Fri Oct 26, 2018 8:17 pm
Has thanked: 3 times
Been thanked: 4 times

Re: [Guide] ili9341 SPI TFT Screen on Retropie

Post by sandog » Mon Apr 15, 2019 5:47 pm


Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest