Skip to main content
SBaro.11
Associate III
February 4, 2022
Solved

LoRa-E5 (STM32WLE5JC) without gateway

  • February 4, 2022
  • 3 replies
  • 2504 views

HI all,

I’d like to create a system communication using LoRa protocol between 2 devices, I don’t want to use TTN. I’m newbie with LoRa I’ve seen Seed provide SDK to use LoRaWAN but I don’t want to use gateway or server.

To be simple I have one device with LoRa-E5 and another device with another LoRa-E5, I’d like to be able to comunicate with LoRa between those devices, so it is End device to End device I think, is it possible ?

This topic has been closed for replies.
Best answer by Bruno_ST

Hello @SBaro.1​ 

Yes, it is possible, please have a look at PingPong example :

STM32Cube_FW_WL_V1.1.0\Projects\NUCLEO-WL55JC\Applications\SubGHz_Phy\SubGHz_Phy_PingPong

BR,

Bruno

3 replies

Bruno_STBest answer
ST Employee
February 4, 2022

Hello @SBaro.1​ 

Yes, it is possible, please have a look at PingPong example :

STM32Cube_FW_WL_V1.1.0\Projects\NUCLEO-WL55JC\Applications\SubGHz_Phy\SubGHz_Phy_PingPong

BR,

Bruno

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
Scott Dev
Senior
April 18, 2022

Hi

I am the same, and I opened this project. During compiling I get the following error in the application/target/radio_board_if.c

#error user to provide its board code or to call his board driver functions

I have the Lora-e5 on my own board, so dont know what to add here. If anyone has a small built project that you wish to share, then that would be much appreciated.

Best Regards

Scott

ST Employee
April 19, 2022

Hello @Scott Dev​ 

I have checked, now latest

  • STM32CubeMX allow to select type of board configuration (DCDC, TCXO and TX RFO HP/LP/HP+LP support under Middelware/SUBGHZ_PHY
  • #error is changed to #warning user to provide its board code or to call his board driver functions.
  • Change compare to Nucleo board: Quick check on the website LoRa-E5 mini - Seeed Wiki (seeedstudio.com), search for "SDK Example Label" shows that Lora-e5 mini uses TCXO, RFO HP only with a DC/DC. A CP2102 on Usart1(PB6/PB7) as usart. So change in you projet and implement a BSP_RADIO_ConfigRFSwitch() like using PA4 & PA5, OFF=> both=0, Receive: PA4=1, PA5=0, Transmit =  PA4=0, PA5=1 and adapt other GPIO to match this board.

BR,

Bruno

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
SBaro.11
SBaro.11Author
Associate III
February 7, 2022

Nice thanks @Bruno_ST​  I'll look that :)

Andrew Neil
Super User
April 19, 2022

Note that "LoRa" is just a modulation technique - you could put whatever protocol you like on top of that.

"LoRaWAN" is a protocol which uses (ie, is "on top of") LoRa modulation.

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.