How to avoid data collision in a network of NRF devices where only 2 NRF want to communicate with each other and others dont get this data ?

Hello,

We are using NRF24L01 as a transreceiver. We have a network of NRF devices operating individually and we want one NRF to communicate only with its respective NRF. However the data collision happens during this. The NRFs in the network also receives this data despite keeping the different frequency.

We cant have multiple frequencies for our every product.

So, is there any way to avoid data collision / interference so that only 2 desired NRF will communicate with each other and other NRF devices in the network wpn't get that data ??

Thanks and Regards ,

Harshal

 

Parents Reply
  • We have discovered that the PTX is getting affected by other PTXs in the network (since our application has multiple NRFs communicating with each other in a pair on a different RF Channel for each pair.

    When the PTX tries to receive something (any acknowledgement, reply from its respective NRF) it gets reseted and we can not increase the power supply to the NRF.

    Is there a way to stop happening this ?

Children
  • Hi Harshal

    When one device is transmitting close to another device that is receiving the receiving device can be blocked from receiving other, weaker signals, that is true. Even if the blocking signal is on a different frequency. 

    Still, the receiving device should not be reset, it should only lose the packet that it was supposed to receive. 

    One way to reduce the impact of this problem is to use the retransmit feature, so that the PTX tries to retransmit the packet when it doesn't receive the ACK. 

    Secondly, if you randomize the Automatic Retransmission Delay (ARD) then you reduce the chance that if two PTX's transmit at the same time they will also keep sending the retransmitted packets at the same time. With a different ARD value the retransmitted packets will occur at different times, meaning that they will eventually get the packets through without conflict. 

    Best regards
    Torbjørn 

  • Hello,

    Still, the receiving device should not be reset, it should only lose the packet that it was supposed to receive. 

    Not the receiving device but the transmitting device (The PTX) is getting reseted when it receives the signal of its own or other frequency.

    One way to reduce the impact of this problem is to use the retransmit feature, so that the PTX tries to retransmit the packet when it doesn't receive the ACK. 

    Yes, we do have this feature implemented.

    meaning that they will eventually get the packets through without conflict. 

    Yes they do. The problem arises when they receive any acknowledgement or feedback from their own / other NRF for the packet they transmitted. At that time they get reseted.

     

  • Hi Harshal

    Can you elaborate on what you mean by the device getting reset?

    Will the device stop responding to commands? 

    Will the configuration registers return to default values? 

    I would be interesting to see the state of the registers after this reset occurs, if you are able to read them out? 

    Best regards
    Torbjørn

  • Hi

    Will the configuration registers return to default values?

    Yes they return to their default reset value.

    Will the device stop responding to commands?

    Its the PTX that gets reseted so it doesnt send any data nor it responds to any commands.

  • Hi Harshal

    Which commands does it stop responding to? 

    You say that the configuration registers return to reset, so that must mean that you are able to read the configuration registers successfully? 

    What happens if you try to write and modify configuration registers, is this not working? 

    Could you share the link to where you bought your modules, and a picture of the modules?
    There are various clones of the nRF24L01+ device in existence which might behave differently from the original chips, and we should make sure that the devices you have are genuine. 

    Best regards
    Torbjørn

Related