Replies: 2 comments 3 replies
-
So why are asking this question in a repository of a different library?
You will need to handle at least debouncing the button, waiting for transmission completion before sending another packet, handling errors etc. But your code shows none of this. FWIW I don't think there's an issue in Semtech code. This library also uses RX done interrupt and there have never been any issues with it. The problem is almost certainly in the part of the code you have not shown us. Not that I want to see it, it has nothing to do with this project. |
Beta Was this translation helpful? Give feedback.
-
I'm sure the semtech code works perfectly. Even if you press the button once to send only one frame, the receiver receives it incorrectly. Only the preamble is detected. Can you share your initialsiation code working good? |
Beta Was this translation helpful? Give feedback.
-
Hi all,
I'm currently trying to get an LLCC68 chip working to create a remote control.
I'm using LLCC68MB2xAS development boards for my test associated whith STM32 µC.
I've configured the first board as a transmitter and the second as a receiver.
On the first board, I transmit a frame when a button is pressed.
The second board is in rx single mode. Really simple !
I activate the Rx IRQ on RxDone on the receiver and by quickly pressing the transmitter button, thus sending numerous frames from time to time, I manage to receive the message. But it's about 1 time out of 30.
If I activate the IRQ on reception of the preamble, the IRQ is triggered every time.
I've followed tutorials and examples, but I don't understand where I'm going wrong.
Here's my Rx and Tx configuration. I'm using the semtech library.
Find in the attchment my code for ini and send and receive .
Thank you
rx-tx.txt
Beta Was this translation helpful? Give feedback.
All reactions