79267923

Date: 2024-12-10 10:50:30
Score: 9.5 🚩
Natty: 5
Report link

I am trying to do more or less the same. You can install the LoRa-RF python library (standard one, not a third party), as all the implementation is thought to be with SPI. Or maybe you can use https://github.com/chandrawi/LoRaRF-Python , that is more or less the same but with some upgrades (third party).

I have worked with SX127X as it seems to be fine.

But i am struggling with SX1262. As i always get 0x00 from the SPI. This, for example, is the output of your program: GetStatus 0x0 GetPacketStatus 0x0 ReadBuffer 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0

But i have tried with very simple tests and always get 0x00. My RPi SPI seems to be working fine as i can connect with the already mentioned SX127X. But i am unable with SX126X. My comm jumpers are both at B and the M1 and M0 are both short. Do you have any idea of what can be happening to me, as you seem to have this working?

Regards!

Reasons:
  • Blacklisted phrase (1): Regards
  • Blacklisted phrase (1): i am struggling
  • Blacklisted phrase (1): I am trying to
  • Whitelisted phrase (-1.5): you can use
  • RegEx Blacklisted phrase (2.5): Do you have any
  • RegEx Blacklisted phrase (2): working?
  • Long answer (-0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: gixeska