LoRa Problem with 1.10.2.b1 FW

  • 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)

    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?


  • 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

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


Log in to reply

Pycom on Twitter