How to Set Up Point-to-Point Communication Between Two LoRa-E5 Mini Modules?

is we need to give 3v3 supply even though we give power by usb when flashing @msfujino

Please show me a photo of the STLink you’re using and its documentation.
You mentioned using an original STLinkv2, but from the photo, it appears to be a Chinese clone.
The function of the 3.3V pin differs between the original and the clone. On the original, it’s an input pin that senses the target’s power supply voltage. On the clone I use, it’s an output pin that can also supply 3.3V to the target.
So, which STLink are you using?

i am really sorry for my information i am using clone stlink

Judging from the photo, I believe it has the same functionality as STLink I’m using. Therefore, you don’t need to connect anything to the 3V3 pin.

If you want to try it, you can also stop powering it from USB and instead power the 3V3 pin from STLink’s 3.3V output.

hello.. i had a similar issue when trying to code wio e5 mini boards for transmission and receiving.. i had initially intended to set a single master and 3 slaves which would send data to the master ..whilst doing so, i found only the master and one slave working properly.. the 2 other boards did not transmit the message..then i tried to remove the master and tried to implement a simple transmission and receiving between 2 modules.. in the same.. out of the 4 devices .. only 2 worked properly and the previously not working slaves did not work as either transmitter or receiver.. could there be any issue with the hardware.could someone help me out

The attached hex file is a sample I’ve confirmed works in my environment.
Please upload it to your non-functioning Wio E5 mini and try it out.

TEST_HEX.zip (91.4 KB)

1 Like

I uploaded your transmitter code to the non working modules and the receiving code onto the modules that work and this is what i have gotten.. the initialization does not happen.. even when i upload the receiver code onto the non working modules.. the initialization does not happen

Here is some code that I have working to communicate P2P between 2 Grove-Lora-E5 modules (the little brother to the M5 Mini dev board I believe). Maybe it might help?

There is also an untested code path for connecting via a LoRa network in there, so you’d want to ignore that!

Also I had it testing various baud rates, but keeping it at 9600 worked.

Look at

and

Maybe it will help you – if you pare it way down!

Also a dumb mistake I’ve made physically connecting things: RX on one device connects to TX on the other.

Don’t connect RX to RX!
:nerd_face:

1 Like

My P2P code started with the very simple example at:

1 Like