-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RFM9X series not supported ? #17
Comments
I'm not entirely sure what you're trying to do. If you're trying to get the flight code working with SX127x (RFM9x is nearly identical device/silicon), then you're going to run into a lot more trouble than just the sync word, the whole thing is built around SX126x. If you're trying to get a ground station running with SX127x, I would advise against using the GroundStation sketch in this repository, as FOSSASAT-1 is no longer operational (and likely already de-orbited). There's an updated version of the ground station sketch for FOSSASAT-1B in which the sync word issue has been resolved. However, those sketches were mainly used in development - for actual ground station operation, I highly recommend this project: https://github.com/G4lile0/ESP32-OLED-Fossa-GroundStation |
Jan,
I am attempting to build a ground station. After verifying my hardware
configuration worked with RadioLib's example, I started with your PingPong
program running on 2 seperate systems.
I needed to change SX1262 to RFM96. Otherwise radio,begin() returned -2
(Chip not found). I also changed radio.setDio1Action(setFlag) to
radio.setDia0Action(setFlag) in both places. Doing so, my systems would
transmit but not receive. (I verified using a UHF radio tuned to 436.7)
When I removed the sync word by changing radio.begin(436.7, 125.0, 11, 8,
0x0F0F) to radio.begin(436.7, 125.0, 11, 8) the receiver worked as
expected.
Note when specifying the sync word in the begin function, the
compiler returned a warning "large integer implicitly truncated to unsigned
type".
Thanks for pointing me to the ground station code in FOSSASAT-1B as well as
G4lile0's code. I'll investigate both.
I did a quick compile of your ground station code in FOSSASAT-1B.
FSK_DATA_SHAPPING and FSK_CURRENT_LIMIT were undefined used in setGFSK().
I haven't tracked that problem yet. I'm using RadioLib version 4.0.4
Thanks for your help. I look forward to receiving data from FOSSASAT-1B
once deployed.
Please confirm reception of this email,
Fredric Raab
KK6NOW
…On Tue, Oct 20, 2020 at 12:03 PM Jan Gromeš ***@***.***> wrote:
I'm not entirely sure what you're trying to do. If you're trying to get
the flight code working with SX127x (RFM9x is nearly identical
device/silicon), then you're going to run into a lot more trouble than just
the sync word, the whole thing is built around SX126x.
If you're trying to get a ground station running with SX127x, I would
advise against using the GroundStation sketch in this repository, as
FOSSASAT-1 is no longer operational (and likely already de-orbited).
There's an updated version of the ground station sketch for FOSSASAT-1B
<https://urldefense.com/v3/__https://github.com/FOSSASystems/FOSSASAT-1B/blob/master/software/manual_test/GroundStation/GroundStation.ino__;!!Mih3wA!QFE6n9YaoAa8BMBTBol6yey03BS6Edg8ZYMqZmHUsoCViDQsdqXp2_jstd5KUg$>
in which the sync word issue has been resolved. However, those sketches
were mainly used in development - for actual ground station operation, I
highly recommend this project:
https://github.com/G4lile0/ESP32-OLED-Fossa-GroundStation
<https://urldefense.com/v3/__https://github.com/G4lile0/ESP32-OLED-Fossa-GroundStation__;!!Mih3wA!QFE6n9YaoAa8BMBTBol6yey03BS6Edg8ZYMqZmHUsoCViDQsdqXp2_jXKaM8MA$>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<https://urldefense.com/v3/__https://github.com/FOSSASystems/FOSSASAT-1/issues/17*issuecomment-713074904__;Iw!!Mih3wA!QFE6n9YaoAa8BMBTBol6yey03BS6Edg8ZYMqZmHUsoCViDQsdqXp2_hvCUQbww$>,
or unsubscribe
<https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/ACS2R5CLB36NLSXYRPZE32DSLXNHTANCNFSM4SYXBRXQ__;!!Mih3wA!QFE6n9YaoAa8BMBTBol6yey03BS6Edg8ZYMqZmHUsoCViDQsdqXp2_iCCjhNjg$>
.
|
LoRa sync word handling on SX126x changed in RadioLib 3.0.0, to make it slightly harder for people (myself included) to set weird sync word that would be incompatible with SX127x. If you want to specify the other nibbles, you have to use
Oops, forgot to rename those macros - should be fixed now, thanks. |
I've been struggling to get an Adafruit RFM96 module to work with your code. One issue appears to be with the sync word 0X0F0F. Since RadioLib's RFM9x support is based on the SX127x, when you dropped support for the SX127x (issue 10), that also dropped support for the RFM9x family. May I suggest you update the documentation on Github and in your Communications Guide to reflect this fact.
The text was updated successfully, but these errors were encountered: