Re: [SlimDevices: Unix] Jivelite on a Pirate Audio 240x240 screen
Not sure if this is the best place to ask, or if it's better to open a separate thread... Has anyone succeeded in running Jivelite on a ST7789VW 240x240 display on a RPi 3b? I'm trying now, based on the st7789v-spi overlay and info from this thread (the closest I've found so far), and info from waveshare /wiki/1.3inch_LCD_HAT Just checking if I'm wasting time and someone has already done it. freakk's Profile: http://forums.slimdevices.com/member.php?userid=71950 View this thread: http://forums.slimdevices.com/showthread.php?t=111502 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Jivelite on a Pirate Audio 240x240 screen
No worries, I got it working with the drivers from waveshare and some help from this thread for setting up jivelite. I still need to optimise the size of the skin, as the qvga square is smaller than the display, despite being 240x240, same as the display. freakk's Profile: http://forums.slimdevices.com/member.php?userid=71950 View this thread: http://forums.slimdevices.com/showthread.php?t=111502 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Jivelite on a Pirate Audio 240x240 screen
Sure, but as I mentioned, in the end I simply followed the docs in https://www.waveshare.com/wiki/1.3inch_LCD_HAT Once the C demo compiled and proved to be working, I proceeded by: - Compiling Waveshare_fbcp.7z (basically a copy of fbcp-ili9341) - setting fbcp-ili9341 to loat on startup as per docs - adding to config.txt the following (width and height on Waveshare's docs are set to 300 and there's a redundant hdmi_mode line, probably copy/paste junk) Code: hdmi_force_hotplug=1 hdmi_cvt=240 240 60 1 0 0 0 hdmi_group=2 hdmi_mode=87 display_rotate=0 And the display worked: 35326 Then, to get the Keys working it was a just a matter of customising the sbpd-script.sh with the pins from Waveshare's docs and it worked with Jivelite: https://www.youtube.com/watch?v=AdCD6Pde_J8 +---+ |Filename: rpi_tft.jpg | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=35326| +---+ freakk's Profile: http://forums.slimdevices.com/member.php?userid=71950 View this thread: http://forums.slimdevices.com/showthread.php?t=111502 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Jivelite on a Pirate Audio 240x240 screen
Now, since that hat has keys that conflict with Hifiberry DAC2 HD, and I don't really want to have the tiny joystick and the 3 buttons on my streamer, I'm trying another TFT. This one is just the display, not a full hat and no keys, also no CS pin, only Reset: 35327 The pins are assigned to a block that does not conflict with the Hifiberry DAC2 HD: 35328 I recompiled fbcp-ili9341 with the new pinout, based on the docs from https://github.com/juj/fbcp-ili9341: Code: cmake -DSPI_BUS_CLOCK_DIVISOR=6 -DST7789=ON -DGPIO_TFT_DATA_CONTROL=25 - DGPIO_TFT_RESET_PIN=15 -DGPIO_TFT_BACKLIGHT=23 .. But it's not working yet, Jivelite throws the "socket connect failed" error. I read on a post that someone else managed to get these displays working, setting the pins via modprobe. For this pinout it would be: Code: modprobe fbtft_device name=flexfb speed=3200 gpios=dc:25,reset:22 But it throws an error: Code: modprobe: FATAL: Module fbtft_device not found in directory /lib/modules/5.10.42-pcpCore-v7 I'm running pcp v8.0 and it loos like fbtft_device has been discontinued, not sure what's the new method to do the same setup. If anyone has a hint, it would be much appreciated :) +---+ |Filename: ST7789_pinout.png| |Download: http://forums.slimdevices.com/attachment.php?attachmentid=35328| +---+ freakk's Profile: http://forums.slimdevices.com/member.php?userid=71950 View this thread: http://forums.slimdevices.com/showthread.php?t=111502 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Jivelite on a Pirate Audio 240x240 screen
If you're referring to 'this one' (https://forums.slimdevices.com/showthread.php?111502-Jivelite-on-a-Pirate-Audio-240x240-screen&p=971970&viewfull=1#post971970), I looked into that, but I'm not sure how to configure it to use the Reset pin instead of CS. freakk's Profile: http://forums.slimdevices.com/member.php?userid=71950 View this thread: http://forums.slimdevices.com/showthread.php?t=111502 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Jivelite on a Pirate Audio 240x240 screen
Thanks for the info, I'll make sure to dig into those READMEs in the future. > Your pin diagram shows CE0 is being connected The rectangle might be deceiving, the display I was using has the CS ping hardwired to gnd and it's not exposed, so not connected to RPi's gpio. I tried setting the reset pin with the overlay, but I still get jivelite logging "socket connect failed". I will try another display, one with all pins exposed, including CS. freakk's Profile: http://forums.slimdevices.com/member.php?userid=71950 View this thread: http://forums.slimdevices.com/showthread.php?t=111502 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix