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. Bug Reports
  3. Arduino 1.6.0 and MySensors

Arduino 1.6.0 and MySensors

Scheduled Pinned Locked Moved Bug Reports
8 Posts 4 Posters 3.1k 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.
  • tbowmoT Offline
    tbowmoT Offline
    tbowmo
    Admin
    wrote on last edited by
    #1

    it seems that arduino has changed the SPI library when bumping to the 1..6.0 release, it now supports transactions, as described here http://dorkbotpdx.org/blog/paul/spi_transactions_in_arduino

    Is MySensors compatible with these changes? The SPIFlash library, that I use for accessing the external flash on the Micro sensor, needed to be patched in order to function correctly after upgrade to the new arduino.

    I haven't come to the part, where I have used the nrf24 module with arduino 1.6.0 yet (Still verifying all the other hardware onboard the Micro sensor). So is there anyone else that has more experience with the new arduino?

    hekH 1 Reply Last reply
    0
    • tbowmoT tbowmo

      it seems that arduino has changed the SPI library when bumping to the 1..6.0 release, it now supports transactions, as described here http://dorkbotpdx.org/blog/paul/spi_transactions_in_arduino

      Is MySensors compatible with these changes? The SPIFlash library, that I use for accessing the external flash on the Micro sensor, needed to be patched in order to function correctly after upgrade to the new arduino.

      I haven't come to the part, where I have used the nrf24 module with arduino 1.6.0 yet (Still verifying all the other hardware onboard the Micro sensor). So is there anyone else that has more experience with the new arduino?

      hekH Offline
      hekH Offline
      hek
      Admin
      wrote on last edited by
      #2

      @tbowmo

      I think radio still works fine. Did some sanity checking/verification the other day (development-branch) with 1.6.0. But that was only with the radio on the bus.

      But transactions is good. Will this perhaps solve the old SPI W5100 problems?

      1 Reply Last reply
      0
      • M Offline
        M Offline
        mainali
        wrote on last edited by
        #3

        I upgraded to 1.6.1 and tried writing the gateway code to arduino with the w5100 ethernet shield. The check wires problem still remains the same.
        I did as mentioned in some post to disable the soft SPI and then uploaded the sketch and it worked fine. I guess w5100 problem still persists

        hekH 1 Reply Last reply
        0
        • M mainali

          I upgraded to 1.6.1 and tried writing the gateway code to arduino with the w5100 ethernet shield. The check wires problem still remains the same.
          I did as mentioned in some post to disable the soft SPI and then uploaded the sketch and it worked fine. I guess w5100 problem still persists

          hekH Offline
          hekH Offline
          hek
          Admin
          wrote on last edited by
          #4

          @mainali

          Guess they would have to start using the new SPI.beginTransaction() in Ethernet library before it would work.

          But this is perhaps just wishful thinking from me. Maybe the W5100 is just simply broken when it comes to sharing SPI with other devices.

          1 Reply Last reply
          0
          • AnticimexA Offline
            AnticimexA Offline
            Anticimex
            Contest Winner
            wrote on last edited by
            #5

            I run 1.6.0 with W5100 ethernet just fine. But I do not use soft SPI.

            Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

            1 Reply Last reply
            0
            • tbowmoT Offline
              tbowmoT Offline
              tbowmo
              Admin
              wrote on last edited by
              #6

              @Anticimex

              So from what you are saying, I conclude that 1.6.0 will work for normal plain nodes (where it's only the radio, or radio and SPI flash..)

              I'll try it tonight then, just didn't want to "waste" time growing more grey hairs, if it wasn't working :)

              1 Reply Last reply
              0
              • hekH Offline
                hekH Offline
                hek
                Admin
                wrote on last edited by hek
                #7

                I'm not sure what happens when you add external SPI flash into the mix.

                1 Reply Last reply
                0
                • AnticimexA Offline
                  AnticimexA Offline
                  Anticimex
                  Contest Winner
                  wrote on last edited by
                  #8

                  Well, since radio uses SPI I guess if there was an issue, nothing would work :)
                  But the SPI flash device might have some special requirements which was broken.
                  I use a hacked EthernetGW since my commit that manages SPI_EN signal was removed from development branch so I am not using fully "vanilla" code though. But that is a HW problem in the W5100 module, not in the libraries and my fix is a workaroud for that specific HW isse (and only applicable on W5100:s with SPI_EN accessible to the AVR.

                  Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

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


                  19

                  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