Tiny Core Base > Raspberry Pi
OSOYOO 3.5 inch SPI Touchscreen with PiCore 14 and Raspberry Pi Zero W
creitzel:
I am trying to get this (https://www.amazon.com/dp/B085TC5YMR?ref=ppx_yo2ov_dt_b_fed_asin_title) 3.5" display to work with a Raspberry Pi Zero W for a project. No matter what I've tried, the display just displays a white screen.
The vendor provides instructions to get it setup and working on Raspbian (here: https://osoyoo.com/2022/12/15/osoyoo-3-5-inch-spi-touch-display-for-rpi/), but I can't figure out how they translate to PiCore v14.
I've tried a couple times using their device tree overlays, but I must be missing something.
Does anyone have any experience in getting one of these setup on PiCore?
Oh, and while it would be nice if the touch screen also worked on this project, it is definitely not mandatory.
Thanks in advance,
Chris
Paul_123:
Are you trying to run Xorg? What specifically is your goal? What software?
Since the don’t give device tree source files, it’s going to be limited….. likely back to a version 5.x kernel.
This looks like a knockoff of the waveshare display, which has slightly better documentation….
But these types of displays were always problematic
Paul_123:
You might have better luck with a current 16.x image using the current generic overlay dtoverlay=fbtft,
https://github.com/raspberrypi/linux/blob/rpi-6.12.y/arch/arm/boot/dts/overlays/README
creitzel:
I'm pretty new to the graphics stack on Linux, so forgive me if I misspeak in any of my reply. :)
--- Quote ---Are you trying to run Xorg? What specifically is your goal? What software?
--- End quote ---
I'm really just looking for a way to do custom graphics on it with as little middleware as possible, but if I had to run a desktop (which I presume is what Xorg does), I would be ok with that.
I have a 2.4" Waveshare SPI display that I was able to get working under PiCore 14, but I had to build a little SPI driver in C for it, and basically I can blit an image to the screen with it. Waveshare provided some starter code for that driver, and I modified it to suit my needs. I then wrote some python code using the driver to display my output.
I would like the same functionality with this display if possible, but I can find no information on how to interact with it via the SPI interface. I've even gone as far as contacting their support line. They basically just told me that the link I provided is the only documentation they have for it.
All of that said, if there is a different way to do this, I'm completely open to it. Basically, I just want to be able to display custom output on the screen while my project is running.
--- Quote ---You might have better luck with a current 16.x ...
--- End quote ---
I will have to check that out, and see if I can get it working. I'm fine with using a newer version of PiCore if necessary.
Their pinout is different than the 2.4" LCD's, so I also might try remapping the driver pinout to match theirs and see if it comes to life.
patrikg:
If you get it working with raspbian, you want to take a look at the output of lsmod and what the overlay of the device tree. To see what modules being loaded.
Navigation
[0] Message Index
[#] Next page
Go to full version