LowPowerLab Forum

Hardware support => RF - Range - Antennas - RFM69 library => Topic started by: oparudi on May 20, 2024, 08:23:21 PM

Title: Sending speed
Post by: oparudi on May 20, 2024, 08:23:21 PM
Hello guys,

I hooked up two RFM69HW each on a STM32 Blackpill board (one sender one receiver) and installed the RFM69-STM32 (brainelectronics) lib. Sending and receiving is working. The sender does a simple radio.send() without an ACK in a loop but it takes about one second for each transmit. I am using Arduino IDE. How can I speed this up? Thanks!
Title: Re: Sending speed
Post by: Felix on May 21, 2024, 05:19:17 PM
It seems awfully long for a simple packet that normally is flushed out of registers in mere milliseconds at most.
Since I didn't create that library I don't have immediate insight. But AFAIK you should be able to use my library on STM32. Did you try RFM69 LowPowerLab lib (https://github.com/LowPowerLab/rfM69/)?
Title: Re: Sending speed
Post by: oparudi on May 26, 2024, 07:36:49 PM
Hello Felix, I tried your lib and it
Title: Re: Sending speed
Post by: oparudi on May 26, 2024, 07:43:33 PM
...is much faster. By the way: is there a possibility to define all the necessary pins or do I have to edit the lib?
Title: Re: Sending speed
Post by: oparudi on May 27, 2024, 05:16:17 AM
found it here:

https://lowpowerlab.com/forum/rf-range-antennas-rfm69-library/rfm69-library-manual-pin-assignments/
Title: Re: Sending speed
Post by: Felix on May 28, 2024, 09:39:05 AM
See the RFM69.h definitions, you can add yours there.