Dear Community;
We are trying to send data via Lora using a nRF9160. The Lora transreceiver we are using is a RFM95W(Semtech SX1272). There are samples of code to receive and send messages under /zephyr/samples/drivers/lora/ . I can open any of those prejects with SEGGER but not compile them. It pops up this error:
"No default LoRa radio specified in DT"
We don´t know how to specify Lora device in DT, so far we have tried this in .overlay:
&spi3 { compatible = "nordic,nrf-spim"; status = "okay"; sck-pin = <20>; mosi-pin = <21>; miso-pin = <22>; cs-gpios = <&gpio0 19 GPIO_ACTIVE_LOW>; };
and this in prj.conf:
CONFIG_LOG=y
CONFIG_SPI=y
CONFIG_GPIO=y
CONFIG_LORA=y
CONFIG_LORA_SX12XX=y
CONFIG_PRINTK=y
CONFIG_SPI_3=y
Any help is appreciated.
Regards.