Rock Pi 4 C+ successfully tested with RAK5146 HAT

Hi,

I can confirm that after a few adjustments the LoRa RAK5146 gateway from RAKWireless works well mounted on a Rock Pi 4C+.

root@rock-4c-plus:/home# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.6 LTS
Release: 20.04
Codename: focal

1 Like

@Jeff31700

Thanks for sharing. Any other info about how to use it on ROCK 4C+?

I simply plugged the RAK5146 on the 40 pin connector.
At the software level I simply configured the overlays so that the RAK5146 uses UART2 and SPI1.
cat /boot/hw_intfc.conf
intfc:pwm0=off
intfc:pwm1=off
intfc:uart2=on
intfc:uart4=off
intfc:spi1=on
intfc:spi2=off
intfc:i2c2=off
intfc:i2c6=off
intfc:i2c7=off

Serial console on UART2

#intfc:dtoverlay=console-on-ttyS2

Serial console on UART4

#intfc:dtoverlay=console-on-ttyS4

Dummy spi device on SPI1 for test. Need set: intfc:spi1=on

intfc:dtoverlay=devspi1

Dummy spi device on SPI2 for test. Need set: intfc:spi2=on

#intfc:dtoverlay=devspi2