Skip to main content
vsilv.1
Associate
Feb 19, 2023 7:52 AM UTC
Question

LoRa synchronization point to point

Hello!

I use two stm32wl55jc1 boards for a point-to-point connection via LoRa, simple, without a gateway. Everything goes well until I introduced the possibility to change the communication parameters (press a button and enter on UART). After the input, the "master" must transmit the parameters to the "slave" and it must give an "ACK". And to move to new parameters.

From this moment, the order is received well, and one board is in reception and one is transmitting, but they are not found. On the oscilloscope it can be seen that the transmission periods fall on the reception ones.

It is interesting that after I reset the "slave" immediately sees the "master", takes the data, sends "ACK" and the two switch to the new settings.

Please help.

This topic has been closed for replies.

3 replies

Tesla DeLorean
Guru
Feb 19, 2023 1:20 PM UTC

Trying to unpack this.

​

What's the failure here?

It doesn't send an ACK or it misses it?

​One end doesn't change speed?

Any retry/recovery logic here?

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
vsilv.1
vsilv.1Author
Associate
Feb 19, 2023 1:47 PM UTC
  1. The problem is: one emits and the other receives, but nothing happens.
  2. The slave does not send "ACK" because it does not receive the parameters from the master
  3. If the packets are transmitted, both change the settings, without problems.

Without making changes to the initial parameters, the system works, data is exchanged.

Tesla DeLorean
Guru
Feb 19, 2023 4:33 PM UTC

Then you'll probably need to work on debugging the speed change transmission, protocol and robustness.​

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..