Page 27 of 27

Re: [Guide] ili9341 SPI TFT Screen on Retropie

Posted: Sun Jun 28, 2020 4:14 pm
by infinitLoop
grz82 wrote:
Sun Jun 28, 2020 10:04 am
Has anyone had any luck getting an Adafruit 1.54" 240x240 screen to work with retropie? I've used this guide several times to get other screens working (Thanks Moosepr!). I've tried both Juj's and Tasanakorn's software, and I've spent hours googling issues and still no luck. I'm guessing the lack of easily available info means this particular screen is difficult to work with, especially for beginners. Any recommendations on other 1.54" 240x240 screens? Thanks!
this is how i was able to get the same screen with the waveshare board working with the juj driver...

Code: Select all

## get the library...
git clone https://github.com/juj/fbcp-ili9341.git

## make the build dir
cd fbcp-ili9341; mkdir build; cd build

## set driver options
cmake -DSPI_BUS_CLOCK_DIVISOR=6 -DGPIO_TFT_DATA_CONTROL=25 -DGPIO_TFT_RESET_PIN=27 -DGPIO_TFT_BACKLIGHT=18 -DSTATISTICS=0 -DBACKLIGHT_CONTROL=ON -DUSE_DMA_TRANSFERS=OFF -DST7789=ON ..

## compile the driver
make -j

Code: Select all

### then you will need to add to start up
sudo nano /etc/rc.local

## add, before exit 0:
/home/pi/fbcp-ili9341/build/fbcp-ili9341 &
and i think you will want to add this to /boot/config.txt:

Code: Select all

## Display 
hdmi_group=2
hdmi_mode=87
hdmi_cvt=240 240 60 1 0 0 1
hdmi_force_hotplug=1
ignore_lcd=1

framebuffer_width=240
framebuffer_height=240
waveshare_wiring.png
waveshare_wiring.png (181.08 KiB) Viewed 19248 times

Re: [Guide] ili9341 SPI TFT Screen on Retropie

Posted: Mon Jun 29, 2020 10:08 am
by infinitLoop
this is the specific one i'm referring to, btw...

https://www.ebay.com/itm/1-54-inch-TFT- ... 3414789106

not sure how long that link will work tho.

.

Re: [Guide] ili9341 SPI TFT Screen on Retropie

Posted: Wed Jul 08, 2020 8:06 pm
by grz82
infinitLoop wrote:
Mon Jun 29, 2020 10:08 am
this is the specific one i'm referring to, btw...

https://www.ebay.com/itm/1-54-inch-TFT- ... 3414789106

not sure how long that link will work tho.

.
Thanks! I grabbed a few of those, I'll let you know if things work out when they arrive

Re: [Guide] ili9341 SPI TFT Screen on Retropie

Posted: Sat Jul 25, 2020 4:37 pm
by grz82
infinitLoop wrote:
Mon Jun 29, 2020 10:08 am
this is the specific one i'm referring to, btw...

https://www.ebay.com/itm/1-54-inch-TFT- ... 3414789106

not sure how long that link will work tho.

.
I'll post some pictures of the build I'm working on tomorrow, but the screens you recommended worked flawlessly, first try!

Thanks!

Re: [Guide] ili9341 SPI TFT Screen on Retropie

Posted: Sat Jul 25, 2020 6:11 pm
by infinitLoop
glad to hear it :)

Re: [Guide] ili9341 SPI TFT Screen on Retropie

Posted: Sat Dec 19, 2020 3:01 pm
by xybots
Hi There

I bought a generic lcd ili9341, its a generic one of Ebay 240x320 LCD Panel 2.8 V1.2 SPI Serial Port Module w/ PCB ILI9341.

I can't seem to make retropie full screen or any of the emulator ie Sonic on the mega drive emulator and I was wondering if any one
can help me.

also how do I switch the details on the screen off

thanks