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. Troubleshooting
  3. Problem with BananaPI M2U and RFM69HW

Problem with BananaPI M2U and RFM69HW

Scheduled Pinned Locked Moved Troubleshooting
7 Posts 3 Posters 869 Views 3 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.
  • F Offline
    F Offline
    FreedomNX
    wrote on last edited by
    #1

    Hello all !

    I have some troubles with my BPI M2U and RFM69HW 868... I don't understand where is the problem...
    My configuration :
    ./configure --my-transport=rfm69 --my-rfm69-frequency=868 --my-is-rfm69hw --my-gateway=ethernet --my-port=5003 --my-rfm69-irq-pin=22
    Here the log :

    Aug 17 15:53:32 INFO Starting gateway...
    Aug 17 15:53:32 INFO Protocol version - 2.3.1
    Aug 17 15:53:32 DEBUG MCO:BGN:INIT GW,CP=RPNGL---,REL=255,VER=2.3.1
    Aug 17 15:53:32 DEBUG TSF:LRT:OK
    Aug 17 15:53:32 DEBUG TSM:INIT
    Aug 17 15:53:32 DEBUG TSF:WUR:MS=0
    Aug 17 15:53:50 DEBUG !TSM:INIT:TSP FAIL
    Aug 17 15:53:50 DEBUG TSM:FAIL:CNT=1
    Aug 17 15:53:50 DEBUG TSM:FAIL:DIS
    Aug 17 15:53:50 DEBUG TSF:TDI:TSL

    And GPIO readall :
    +-----+-----+---------+------+---+---Pi ?---+---+------+---------+-----+-----+
    | BCM | wPi | Name | Mode | V | Physical | V | Mode | Name | wPi | BCM |
    +-----+-----+---------+------+---+----++----+---+------+---------+-----+-----+
    | | | 3.3v | | | 1 || 2 | | | 5v | | |
    | 53 | 8 | SDA.1 | OUT | 1 | 3 || 4 | | | 5v | | |
    | 52 | 9 | SCL.1 | OUT | 1 | 5 || 6 | | | 0v | | |
    | 35 | 7 | GPIO. 7 | OUT | 1 | 7 || 8 | 0 | OUT | TxD | 15 | 274 |
    | | | 0v | | | 9 || 10 | 0 | OUT | RxD | 16 | 275 |
    | 276 | 0 | GPIO. 0 | OUT | 1 | 11 || 12 | 0 | OUT | GPIO. 1 | 1 | 273 |
    | 277 | 2 | GPIO. 2 | OUT | 1 | 13 || 14 | | | 0v | | |
    | 249 | 3 | GPIO. 3 | OUT | 1 | 15 || 16 | 0 | OUT | GPIO. 4 | 4 | 272 |
    | | | 3.3v | | | 17 || 18 | 0 | OUT | GPIO. 5 | 5 | 250 |
    | 64 | 12 | MOSI | OUT | 1 | 19 || 20 | | | 0v | | |
    | 65 | 13 | MISO | OUT | 1 | 21 || 22 | 0 | OUT | GPIO. 6 | 6 | 251 |
    | 66 | 14 | SCLK | OUT | 0 | 23 || 24 | 0 | OUT | CE0 | 10 | 87 |
    | | | 0v | | | 25 || 26 | 0 | OUT | CE1 | 11 | 248 |
    | 257 | 30 | SDA.0 | ALT3 | 0 | 27 || 28 | 0 | ALT3 | SCL.0 | 31 | 256 |
    | 224 | 21 | GPIO.21 | OUT | 0 | 29 || 30 | | | 0v | | |
    | 225 | 22 | GPIO.22 | OUT | 0 | 31 || 32 | 0 | OUT | GPIO.26 | 26 | 116 |
    | 226 | 23 | GPIO.23 | OUT | 0 | 33 || 34 | | | 0v | | |
    | 227 | 24 | GPIO.24 | OUT | 0 | 35 || 36 | 0 | OUT | GPIO.27 | 27 | 231 |
    | 228 | 25 | GPIO.25 | OUT | 0 | 37 || 38 | 0 | OUT | GPIO.28 | 28 | 230 |
    | | | 0v | | | 39 || 40 | 0 | OUT | GPIO.29 | 29 | 229 |
    +-----+-----+---------+------+---+----++----+---+------+---------+-----+-----+
    | BCM | wPi | Name | Mode | V | Physical | V | Mode | Name | wPi | BCM |
    +-----+-----+---------+------+---+---Pi ?---+---+------+---------+-----+-----+

    Thanks a lot.

    Y 1 Reply Last reply
    0
    • F Offline
      F Offline
      FreedomNX
      wrote on last edited by
      #2

      Nobody :( ?

      Y 1 Reply Last reply
      0
      • F FreedomNX

        Nobody :( ?

        Y Offline
        Y Offline
        Yveaux
        Mod
        wrote on last edited by
        #3

        @freedomnx Did you follow the wiring scheme for RPi? https://www.mysensors.org/build/raspberry#wiring
        What RFM breakout do you use? Post pictures of your setup.

        http://yveaux.blogspot.nl

        1 Reply Last reply
        0
        • F Offline
          F Offline
          FreedomNX
          wrote on last edited by
          #4

          A photo could not help you, but my wiring is okay ! I connect :
          3.3V to pin 17
          GND to 20
          DI00 to 22
          MISO to 21
          MOSI to 19
          SCK to 23.
          No breakout, I soldered directly my wire on RFM69HW, and I tested it on Arduino, it's okay... maybe it's because it's a bananapi ?

          1 Reply Last reply
          0
          • F FreedomNX

            Hello all !

            I have some troubles with my BPI M2U and RFM69HW 868... I don't understand where is the problem...
            My configuration :
            ./configure --my-transport=rfm69 --my-rfm69-frequency=868 --my-is-rfm69hw --my-gateway=ethernet --my-port=5003 --my-rfm69-irq-pin=22
            Here the log :

            Aug 17 15:53:32 INFO Starting gateway...
            Aug 17 15:53:32 INFO Protocol version - 2.3.1
            Aug 17 15:53:32 DEBUG MCO:BGN:INIT GW,CP=RPNGL---,REL=255,VER=2.3.1
            Aug 17 15:53:32 DEBUG TSF:LRT:OK
            Aug 17 15:53:32 DEBUG TSM:INIT
            Aug 17 15:53:32 DEBUG TSF:WUR:MS=0
            Aug 17 15:53:50 DEBUG !TSM:INIT:TSP FAIL
            Aug 17 15:53:50 DEBUG TSM:FAIL:CNT=1
            Aug 17 15:53:50 DEBUG TSM:FAIL:DIS
            Aug 17 15:53:50 DEBUG TSF:TDI:TSL

            And GPIO readall :
            +-----+-----+---------+------+---+---Pi ?---+---+------+---------+-----+-----+
            | BCM | wPi | Name | Mode | V | Physical | V | Mode | Name | wPi | BCM |
            +-----+-----+---------+------+---+----++----+---+------+---------+-----+-----+
            | | | 3.3v | | | 1 || 2 | | | 5v | | |
            | 53 | 8 | SDA.1 | OUT | 1 | 3 || 4 | | | 5v | | |
            | 52 | 9 | SCL.1 | OUT | 1 | 5 || 6 | | | 0v | | |
            | 35 | 7 | GPIO. 7 | OUT | 1 | 7 || 8 | 0 | OUT | TxD | 15 | 274 |
            | | | 0v | | | 9 || 10 | 0 | OUT | RxD | 16 | 275 |
            | 276 | 0 | GPIO. 0 | OUT | 1 | 11 || 12 | 0 | OUT | GPIO. 1 | 1 | 273 |
            | 277 | 2 | GPIO. 2 | OUT | 1 | 13 || 14 | | | 0v | | |
            | 249 | 3 | GPIO. 3 | OUT | 1 | 15 || 16 | 0 | OUT | GPIO. 4 | 4 | 272 |
            | | | 3.3v | | | 17 || 18 | 0 | OUT | GPIO. 5 | 5 | 250 |
            | 64 | 12 | MOSI | OUT | 1 | 19 || 20 | | | 0v | | |
            | 65 | 13 | MISO | OUT | 1 | 21 || 22 | 0 | OUT | GPIO. 6 | 6 | 251 |
            | 66 | 14 | SCLK | OUT | 0 | 23 || 24 | 0 | OUT | CE0 | 10 | 87 |
            | | | 0v | | | 25 || 26 | 0 | OUT | CE1 | 11 | 248 |
            | 257 | 30 | SDA.0 | ALT3 | 0 | 27 || 28 | 0 | ALT3 | SCL.0 | 31 | 256 |
            | 224 | 21 | GPIO.21 | OUT | 0 | 29 || 30 | | | 0v | | |
            | 225 | 22 | GPIO.22 | OUT | 0 | 31 || 32 | 0 | OUT | GPIO.26 | 26 | 116 |
            | 226 | 23 | GPIO.23 | OUT | 0 | 33 || 34 | | | 0v | | |
            | 227 | 24 | GPIO.24 | OUT | 0 | 35 || 36 | 0 | OUT | GPIO.27 | 27 | 231 |
            | 228 | 25 | GPIO.25 | OUT | 0 | 37 || 38 | 0 | OUT | GPIO.28 | 28 | 230 |
            | | | 0v | | | 39 || 40 | 0 | OUT | GPIO.29 | 29 | 229 |
            +-----+-----+---------+------+---+----++----+---+------+---------+-----+-----+
            | BCM | wPi | Name | Mode | V | Physical | V | Mode | Name | wPi | BCM |
            +-----+-----+---------+------+---+---Pi ?---+---+------+---------+-----+-----+

            Thanks a lot.

            Y Offline
            Y Offline
            Yveaux
            Mod
            wrote on last edited by
            #5

            @freedomnx said in Problem with BananaPI M2U and RFM69HW:

            !TSM:INIT:TSP FAIL

            Indicates a communication problem with the radio. As you state your wiring is correct, it can be a faulty radio or indeed the bananapi. I can't help you on that...

            http://yveaux.blogspot.nl

            1 Reply Last reply
            0
            • L Offline
              L Offline
              lood29
              wrote on last edited by
              #6

              The problem is within the bpi SPI implementaion.
              I once tried almost everything to make it work but no success.
              I advice you to switched to a serial gateway as a more robust installation.

              F 1 Reply Last reply
              0
              • L lood29

                The problem is within the bpi SPI implementaion.
                I once tried almost everything to make it work but no success.
                I advice you to switched to a serial gateway as a more robust installation.

                F Offline
                F Offline
                FreedomNX
                wrote on last edited by
                #7

                @lood29 Thanks for you reply ! I think too it's the SPI implementation on the BPI. I will add a Arduino nano on serial GPIO pin. Or buy a real raspberry pi.

                1 Reply Last reply
                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
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                16

                Online

                12.1k

                Users

                11.2k

                Topics

                113.4k

                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