Thanks, Im going to have to make a breakout board nowparizene wrote: ↑Sun Oct 28, 2018 2:29 pmyesfacelessloser wrote: ↑Sun Oct 28, 2018 9:49 amOh so you couldn't get it to work on the breakout board but could on the bare screen?
[Guide] ili9341 SPI TFT Screen on Retropie
- facelessloser
- Posts: 13
- Joined: Fri Aug 31, 2018 5:40 am
- Has thanked: 1 time
- Been thanked: 10 times
- Contact:
Re: [Guide] ili9341 SPI TFT Screen on Retropie
Re: [Guide] ili9341 SPI TFT Screen on Retropie
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!
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!
- VeteranGamer
- Posts: 1738
- Joined: Thu Jan 26, 2017 11:12 am
- Location: London, UK
- Has thanked: 528 times
- Been thanked: 909 times
Re: [Guide] ili9341 SPI TFT Screen on Retropie
cbafun wrote: ↑Fri Dec 07, 2018 1:01 amHi,
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
.
- Helder
- Trailblazer
- Posts: 2985
- Joined: Thu May 05, 2016 8:33 am
- Location: Rogers, AR
- Has thanked: 1459 times
- Been thanked: 3114 times
Re: [Guide] ili9341 SPI TFT Screen on Retropie
You can also use the other PWN pin if you really want to use it or hardwire it in like VeteranGamer said above.
Chat with me and other members On Discord
Don't contact me about obtaining my board files (as you will not get them). If my Boards or PCB Kits are sold out, they will be restocked as soon as I can get them and there is demand for them. You can join the mailing list on my Website to be notified when they are available.
Helder's Game Tech Website
We will not support any cloned work so don't come to us with technical issues to resolve, go talk to the cloner for help.
Don't contact me about obtaining my board files (as you will not get them). If my Boards or PCB Kits are sold out, they will be restocked as soon as I can get them and there is demand for them. You can join the mailing list on my Website to be notified when they are available.
Helder's Game Tech Website
We will not support any cloned work so don't come to us with technical issues to resolve, go talk to the cloner for help.
Re: [Guide] ili9341 SPI TFT Screen on Retropie
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~parizene wrote: ↑Sun Oct 28, 2018 2:29 pmyesfacelessloser wrote: ↑Sun Oct 28, 2018 9:49 amOh so you couldn't get it to work on the breakout board but could on the bare screen?
- facelessloser
- Posts: 13
- Joined: Fri Aug 31, 2018 5:40 am
- Has thanked: 1 time
- Been thanked: 10 times
- Contact:
Re: [Guide] ili9341 SPI TFT Screen on Retropie
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.htmchendavid wrote: ↑Sun Jan 27, 2019 4:34 amSorry 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~parizene wrote: ↑Sun Oct 28, 2018 2:29 pmyesfacelessloser wrote: ↑Sun Oct 28, 2018 9:49 amOh so you couldn't get it to work on the breakout board but could on the bare screen?
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
Re: [Guide] ili9341 SPI TFT Screen on Retropie
it works perfectly!! Thanks for sharing your guide with me. You really make my day!facelessloser wrote: ↑Sun Jan 27, 2019 10:01 amHi 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.htmchendavid wrote: ↑Sun Jan 27, 2019 4:34 amSorry 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~
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
-
- Posts: 2
- Joined: Sun Mar 24, 2019 2:07 pm
Re: [Guide] ili9341 SPI TFT Screen on Retropie
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.
Who is online
Users browsing this forum: No registered users and 1 guest