[Guide] ili9341 SPI TFT Screen on Retropie

Various user-contributed guides for hardware-related things
facelessloser
Posts: 5
Joined: Fri Aug 31, 2018 5:40 am

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: 1416
Joined: Thu Jan 26, 2017 11:12 am
Location: London, UK
Has thanked: 413 times
Been thanked: 764 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




.

User avatar
Helder
Trailblazer
Trailblazer
Posts: 2393
Joined: Thu May 05, 2016 8:33 am
Location: Fall River, MA
Has thanked: 1268 times
Been thanked: 2915 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!

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests