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 500 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.

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

      Nobody :( ?

      YveauxY 1 Reply Last reply
      0
      • F FreedomNX

        Nobody :( ?

        YveauxY Offline
        YveauxY 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.

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


                18

                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