Connect ST7735 display and use it

Hi! I’m using Model 4A with Ubuntu Server from official list of distributives.
I try to connect and use small ST7735 display.
I connected pins display -> rockpi:

  1. blk -> 3v (1)
  2. cs -> SPI1_TXD(19)
  3. dc -> SPI1_RXD(20)
  4. res -> Not connected
  5. sda - > I2C6_SDA (31)
  6. scl -> I2C6_SCL(29)
  7. vcc -> 5v(2)
  8. gnd ->gnd(6)
    Using the map from here: https://wiki.radxa.com/Rock4/hardware/gpio

I added to /boot/hw_intfc.conf:
intfc:spi1=on
intfc:spi2=on
intfc:dtoverlay=devspi1
intfc:dtoverlay=devspi2

I created /etc/udev/rules.d/90-gpio-spi.rules and wrote to it:
KERNEL==“spidev1.0”, OWNER=“root”, GROUP=“spi”
KERNEL==“spidev1.1”, OWNER=“root”, GROUP=“spi”
KERNEL==“spidev2.0”, OWNER=“root”, GROUP=“spi”
KERNEL==“spidev2.1”, OWNER=“root”, GROUP=“spi”

Now I have /dev/spidev1.0 and /dev/spidev2.0
And here I stuck. I can’t find any documentation about how to use it and even can’t check if it works or not (I’m pretty sure that I did something wrong).

Any instructions, guides, documentation? Anything. Thanks in advance.

1 Like

Got any results friend?