Replies: 3 comments 1 reply
-
Beta Was this translation helpful? Give feedback.
-
The library won't stop you from setting preamble to 0, though I'm not sure it will be able to receive anything at that point. However, since you have set your sync word to 0x5599, the first 8 preamble bits will be an additional 0x55, which matches the preamble sent by the nRF. Had you not done that, your preamble would be 4 bits too short. Of course, when you're transmitting, it will be 4 bits too long. That could be one of the things that the nRF doesn't like. Unfortuantely SX127x can only set preamble length in whole bytes. You could try doing this manually, by shifting everything in the packet by 4 bits (that would mean the end of the RadioLib sync word would contain the 4 most significant bits of the payload) - might be worth a shot so that the nRF doesn't see any extra preamble bits which it might not be expecting. Other than that, I think you have everything correctly. |
Beta Was this translation helpful? Give feedback.
-
|
In a similar application (FLARM) we have been facing a similar situation (including also the SX1262), here is how it has been resolved: |
Beta Was this translation helpful? Give feedback.


Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
I'm trying to use a TTGO LoRa32 SX1276 to communicate with some heaters I have which use NRF905 radio modules. The NRF905 communicates with:
1111110101which is also Manchester encoded into 20 bitsI've managed to receive packets with the following code:
The sync word is set so that it maches 16 out of the 20 preamble bits of the NRF905. However I'm not sure why it works to set preamble bits to 8. Maybe it should rather be 0? But I got the impression from another thread that that is not supported.
I now want to send packages. I tried just doing
radio.transmit(...)without success. Unfortunately I do not have control over the NRF905 side of the communication, so there could be something wrong with my payload.But I also suspect there is something off with my SX1276 setup. Any advice? Is there a way to recreate the 10 bit (20 bit after Manchester) preamble of the NRF905? Do I need to switch over to the direct interface maybe?
Sources:
NRF905 parameters: https://github.com/mirakonta/NRF905-emulation-with-SX1276
Arduino NRF905 library and protocol: https://blog.zakkemble.net/nrf905-avrarduino-librarydriver/
Preamble description: https://devzone.nordicsemi.com/f/nordic-q-a/47122/nrf905-preamble
Beta Was this translation helpful? Give feedback.
All reactions