Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Hardware
  3. CubeCell reloaded: the SX126x hal drivers, please test

CubeCell reloaded: the SX126x hal drivers, please test

Scheduled Pinned Locked Moved Hardware
6 Posts 2 Posters 97 Views 2 Watching
  • 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.
  • E Offline
    E Offline
    eiten
    wrote on last edited by
    #1

    Hi everyone,
    After the good comments by @Yveaux and @mfalkvidd in this thread i started over again. After some sleepless nights, a SSD-crash destroying about 12h of coding :cry: and tons of soft drinks, I just uploadated my github repository with the SX126x drivers and the ASR650x hal.
    What is different to the things I mentioned in the thread above:

    • Everything is rebased to the developement branch as suggested by @mfalkvidd
    • CubeCell hal byebye, welcome SX126x hal. As inspired by @Yveaux, I abandoned the CubeCell drivers in favor of SX126x drivers which should work on other SX126x based modules as well. Feel free to test. The code should work for the SX1261 as well as the SX1262, but as I only have CubeCell boards, only SX1262 is tested.
    • ATM, I really dont feel like writing down all the defines, but everything is documented in MyConfig.hand in ```SX126x.h`` If you got questions. please ask.

    During developement, I found another nasty bug in ASR650x Arduino regarding IRQ handling. You should take the latest version from ASR650x github if you encounter strange freezes on a CellCube board.

    Have fun, I gotta get some sleep :stuck_out_tongue_closed_eyes: :sleeping:

    tekkaT 1 Reply Last reply
    2
    • E Offline
      E Offline
      eiten
      wrote on last edited by
      #2

      I fixed a bug where transport forze during wake up

      1 Reply Last reply
      0
      • E eiten

        Hi everyone,
        After the good comments by @Yveaux and @mfalkvidd in this thread i started over again. After some sleepless nights, a SSD-crash destroying about 12h of coding :cry: and tons of soft drinks, I just uploadated my github repository with the SX126x drivers and the ASR650x hal.
        What is different to the things I mentioned in the thread above:

        • Everything is rebased to the developement branch as suggested by @mfalkvidd
        • CubeCell hal byebye, welcome SX126x hal. As inspired by @Yveaux, I abandoned the CubeCell drivers in favor of SX126x drivers which should work on other SX126x based modules as well. Feel free to test. The code should work for the SX1261 as well as the SX1262, but as I only have CubeCell boards, only SX1262 is tested.
        • ATM, I really dont feel like writing down all the defines, but everything is documented in MyConfig.hand in ```SX126x.h`` If you got questions. please ask.

        During developement, I found another nasty bug in ASR650x Arduino regarding IRQ handling. You should take the latest version from ASR650x github if you encounter strange freezes on a CellCube board.

        Have fun, I gotta get some sleep :stuck_out_tongue_closed_eyes: :sleeping:

        tekkaT Offline
        tekkaT Offline
        tekka
        Admin
        wrote on last edited by
        #3

        @eiten Great job! Did you come across an "usable" ASR6501 datasheet - so far the information on this SoC is rather sparse?

        E 2 Replies Last reply
        2
        • tekkaT tekka

          @eiten Great job! Did you come across an "usable" ASR6501 datasheet - so far the information on this SoC is rather sparse?

          E Offline
          E Offline
          eiten
          wrote on last edited by
          #4

          @tekka thank you!
          Not really... I used the SX126x data sheet (not so well eigther) and some reverse engineering of the CubeCell LoRaWAN app (lots of printfs in read, write and gpio setting functions).
          Also, I'm not quite sure what the differences between the ASR6501 and the ASR6502 are.

          1 Reply Last reply
          0
          • tekkaT tekka

            @eiten Great job! Did you come across an "usable" ASR6501 datasheet - so far the information on this SoC is rather sparse?

            E Offline
            E Offline
            eiten
            wrote on last edited by
            #5

            @tekka said in CubeCell reloaded: the SX126x hal drivers, please test:

            Did you come across an "usable" ASR6501 datasheet

            In mean time, Heltec was rather helpful and sent me this link. I'll try it out, starting with the watchdog...

            tekkaT 1 Reply Last reply
            0
            • E eiten

              @tekka said in CubeCell reloaded: the SX126x hal drivers, please test:

              Did you come across an "usable" ASR6501 datasheet

              In mean time, Heltec was rather helpful and sent me this link. I'll try it out, starting with the watchdog...

              tekkaT Offline
              tekkaT Offline
              tekka
              Admin
              wrote on last edited by
              #6

              @eiten Yep, already saw this one. Based on the heltec implementation, the sx-registers are mapped to specific memory regions of the mcu. Would be interesting to have here a complete ASR-specific documentation...

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              31

              Online

              11.7k

              Users

              11.2k

              Topics

              113.1k

              Posts


              Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • MySensors
              • OpenHardware.io
              • Categories
              • Recent
              • Tags
              • Popular