Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    LoRa Problem with 1.10.2.b1 FW

    Scheduled Pinned Locked Moved LoPy
    lora
    3 Posts 2 Posters 826 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S Offline
      ssmith
      last edited by

      When I upgrade my FW from 1.9.2 to 1.10.2.b1 LoRa Raw communication fails. My LoRa setup is:

        "lora": {
          "mode": "LORA",
          "frequency": 918000000,
          "power_mode": "ALWAYS_ON",
          "tx_power": 20,
          "bandwidth": 125,
          "sf": 9,
          "preamble": 8,
          "coding_rate": "4_8",
          "tx_iq": false,
          "rx_iq": false
        }
      }
      
      s = socket.socket(socket.AF_LORA, socket.SOCK_RAW)
      s.setblocking(False)
      
      

      The only change is the FW. I can downgrade it to 1.9.2 and all starts working again. I tried both LoPys at 1.10.2 and still nothing. Has anything changed in 10.2 that would affect this?

      Steve

      J 1 Reply Last reply Reply Quote 0
      • J Offline
        jmarcelino @ssmith
        last edited by

        Hi @ssmith
        Can you explain in more detail what exactly is failing?

        Thanks.

        1 Reply Last reply Reply Quote 0
        • S Offline
          ssmith
          last edited by ssmith

          Just no LoRa ints getting through. Found a discussion on github about adding a 50mS delay in the while loop of the main program and now I am getting packets through. I need to understand the interrupt processing better. It should break out of a tight while loop with an interrupt but seems like it doesn't. I also had to add a sleep delay after boot before loading our BT code or the device would core dump with this version of code.

          Here's the link: https://github.com/pycom/pycom-micropython-sigfox/issues/102

          1 Reply Last reply Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • 1 / 1
          • First post
            Last post

          Pycom on Twitter

          Pycom