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. Development
  3. irq pin for nrf24l01

irq pin for nrf24l01

Scheduled Pinned Locked Moved Development
14 Posts 5 Posters 4.9k Views 6 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.
  • rozpruwaczR Offline
    rozpruwaczR Offline
    rozpruwacz
    wrote on last edited by
    #1

    Hi all,

    I wonder what is the story with the irq pin. In the MyConfig.h there is a MY_RX_MESSAGE_BUFFER_FEATURE option which states that for nrf MY_RF24_IRQ_PIN must be defined and as I understand the irq pin will be used. if MY_RX_MESSAGE_BUFFER_FEATURE is not defined the irq pin is not used ? On the other hand in the "Connecting Radio" section of the tutorial there is this: "The IRQ is currently not used by the MySensors library so it can be left un-connected" so is it used or not ? and what is the MY_RX_MESSAGE_BUFFER_FEATURE ?

    1 Reply Last reply
    1
    • rozpruwaczR Offline
      rozpruwaczR Offline
      rozpruwacz
      wrote on last edited by
      #2

      anybody hear me ? please help ! :)

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

        If you use the MY_RX_MESSAGE_BUFFER_FEATURE, you must connect the IRQ pin. Otherwise it's not needed.

        I'll update the documentation.

        1 Reply Last reply
        0
        • rozpruwaczR Offline
          rozpruwaczR Offline
          rozpruwacz
          wrote on last edited by
          #4

          ok, thanks. What MY_RX_MESSAGE_BUFFER_FEATURE actually do ? what are the cons nad pros in the context of the repeater node ?

          YveauxY 1 Reply Last reply
          0
          • rozpruwaczR rozpruwacz

            ok, thanks. What MY_RX_MESSAGE_BUFFER_FEATURE actually do ? what are the cons nad pros in the context of the repeater node ?

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

            @rozpruwacz said in irq pin for nrf24l01:

            What MY_RX_MESSAGE_BUFFER_FEATURE actually do?

            The nrf24 radios can only buffer 3 incoming messages at most, if more come in they will be lost.
            For repeaters and gateway (basically non-sleeping sensors) this feature enables immediate retrieval of incoming messages and buffering in internal ram. For crowded networks, or sensors which send a lot of data at once, this feature reduces packet loss.
            Drawbacks are the increased use of ram (amount of messages buffered can be configured) and the nrf irq has to be connected.

            http://yveaux.blogspot.nl

            1 Reply Last reply
            3
            • hekH Offline
              hekH Offline
              hek
              Admin
              wrote on last edited by
              #6

              Ok, updated doc. @Yveaux, feel free to update the text I wrote.

              rozpruwaczR 1 Reply Last reply
              1
              • rozpruwaczR Offline
                rozpruwaczR Offline
                rozpruwacz
                wrote on last edited by
                #7

                @Yveaux said in irq pin for nrf24l01:

                The nrf24 radios can only buffer 3 incoming messages at most, if more come in they will be lost.
                For repeaters and gateway (basically non-sleeping sensors) this feature enables immediate retrieval of incoming messages and buffering in internal ram. For crowded networks, or sensors which send a lot of data at once, this feature reduces packet loss.
                Drawbacks are the increased use of ram (amount of messages buffered can be configured) and the nrf irq has to be connected.

                thanks ! so i guess it is better to use that buffer in my repeater node.

                YveauxY 1 Reply Last reply
                0
                • hekH hek

                  Ok, updated doc. @Yveaux, feel free to update the text I wrote.

                  rozpruwaczR Offline
                  rozpruwaczR Offline
                  rozpruwacz
                  wrote on last edited by
                  #8

                  @hek said in irq pin for nrf24l01:

                  el free to update th

                  "NRF24L01+ & ESP8266" section should be also updated ?

                  1 Reply Last reply
                  0
                  • rozpruwaczR rozpruwacz

                    @Yveaux said in irq pin for nrf24l01:

                    The nrf24 radios can only buffer 3 incoming messages at most, if more come in they will be lost.
                    For repeaters and gateway (basically non-sleeping sensors) this feature enables immediate retrieval of incoming messages and buffering in internal ram. For crowded networks, or sensors which send a lot of data at once, this feature reduces packet loss.
                    Drawbacks are the increased use of ram (amount of messages buffered can be configured) and the nrf irq has to be connected.

                    thanks ! so i guess it is better to use that buffer in my repeater node.

                    YveauxY Offline
                    YveauxY Offline
                    Yveaux
                    Mod
                    wrote on last edited by
                    #9

                    @rozpruwacz beware that it hasn't been tested extensively. I've using it on avr for a long time though.

                    http://yveaux.blogspot.nl

                    1 Reply Last reply
                    0
                    • rozpruwaczR Offline
                      rozpruwaczR Offline
                      rozpruwacz
                      wrote on last edited by
                      #10

                      understand, but now i'm designing the device which hopefully will run for couple of years, so sooner or later this irq pin wiil be necessary.

                      1 Reply Last reply
                      0
                      • Z Offline
                        Z Offline
                        zen85
                        wrote on last edited by
                        #11

                        so if i use an esp8266 as gateway AND i want to use the bufferfeature - to which pin do i have to actually connect the irq on the esp8266? The documentation is not helping me here.

                        YveauxY 1 Reply Last reply
                        0
                        • Z zen85

                          so if i use an esp8266 as gateway AND i want to use the bufferfeature - to which pin do i have to actually connect the irq on the esp8266? The documentation is not helping me here.

                          YveauxY Offline
                          YveauxY Offline
                          Yveaux
                          Mod
                          wrote on last edited by
                          #12

                          @zen85 said in irq pin for nrf24l01:

                          The documentation is not helping me here.

                          ESP8266 does not support message queuing, sorry.

                          http://yveaux.blogspot.nl

                          Z 1 Reply Last reply
                          1
                          • YveauxY Yveaux

                            @zen85 said in irq pin for nrf24l01:

                            The documentation is not helping me here.

                            ESP8266 does not support message queuing, sorry.

                            Z Offline
                            Z Offline
                            zen85
                            wrote on last edited by
                            #13

                            @yveaux

                            thx.

                            would this feature work on a esp32 gw then?

                            mfalkviddM 1 Reply Last reply
                            0
                            • Z zen85

                              @yveaux

                              thx.

                              would this feature work on a esp32 gw then?

                              mfalkviddM Offline
                              mfalkviddM Offline
                              mfalkvidd
                              Mod
                              wrote on last edited by
                              #14

                              @zen85 unfortunately not.

                              See https://www.mysensors.org/apidocs-beta/group__RF24SettingGrpPub.html#ga6b3dbadceeb1dfca62b2e920d926bd4a for details (MY_RX_MESSAGE_BUFFER_FEATURE section)

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


                              23

                              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