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:
- blk -> 3v (1)
- cs -> SPI1_TXD(19)
- dc -> SPI1_RXD(20)
- res -> Not connected
- sda - > I2C6_SDA (31)
- scl -> I2C6_SCL(29)
- vcc -> 5v(2)
- 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.