irq pin for nrf24l01



  • 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 ?



  • anybody hear me ? please help ! :)


  • Admin

    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.



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


  • Mod

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


  • Admin

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



  • @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.



  • @hek said in irq pin for nrf24l01:

    el free to update th

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


  • Mod

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



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


Log in to reply
 

Looks like your connection to MySensors Forum was lost, please wait while we try to reconnect.