Hi All,
I’ve recently been working on getting Pimoroni Pirate Audio Dual Mic hat working on my Rock5a. Currently I’m focussed on getting the SPI based TFT screen to work.
I’m running an up-to-date version of Ubuntu Server by Joshua Reik (Spooky).
As I’m currently focussed on getting the display working, I’ve only connected the following wires:
- 5v Power
- GND
- LCD SPI Mosi to pin 19
- LCD Data / Command to pin 21
- LCD SPI SCLK to pin 23
- LCD SPI CS to pin 26
- LCD Backlight to pin 33
I’ve enabled the rk3588-spi4-m1-cs0-cs1-spidev overlay, which has added /dev/spidev4.0 and .1 as well as added the dtparam=spi=on parameters in /boot/firmware/ubuntuEnv.txt file.
Unfortunately, I’ve been unable to get the display to display anything. My test code turns the backlight off and then on, then attempts to color the screen, but fails on this step silently.
The code I’m using can be found here: https://gist.github.com/dblencowe/3952a694ad94e7d2b78cd8578497eec6
I’ve successfully used this code to color the screen on a RaspberryPi 4, so I’m reasonably confident it is working as intended.
Are there any ideas on what could be different here? Am I missing some parameters or something like that?
Any help is appreciated!