Knowledge Base
HOME » KNOWLEDGE BASE » FORUM

Lora c example

Hi
I have been using an all in one module for communication using Lora. I simply send serial data through the uart and it gets transmited. I now want use a Lora board that I got from a company called RF Solutions. This module uses the SX1262 chip. I plan to use an STM32 processor connected to the board through SPI (we dont use raspberry etc,) . The only problem I cant find any code in C that demonstrates and explains what commands to use when communicating with it. Anyone point me to in the right direction where I can find documentation and code to demonstrate this?

Many Thanks
Scott
Avatar
Hi ScottD,

I do not know Rf solution modules. If they expose directly the SX1262 you have a code example at https://www.semtech.com/uploads/documents/sx126x-driver-1.0.zip
For your information you can find it or the "resources" section of the SX1261 of semtech.com

As you plan to use an STM32 you can also use mbed with this library: https://os.mbed.com/teams/Semtech/code/SX126xLib/
Many thanks for the links, I will look into this.

Thanks
Scott
Hi
I loaded the ping pong project and seems not too bad to understand (I am a newbie to Lora). I have looked at quite a few videos regarding Lora, and seem to understand it. But is there any description (like a user manual ) what each part of the code does ?

Many Thanks
Scott