This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRF24L01 reset?

I have a problem with nRF24L01 working as a PTX. Not very often but occasionally now and then it doesn't transmit any messages and requires removal of power before transmission is possible again.

The problem doesn't seem to be associated with unacknowledged messages. Is there any way to reset the device with software? 

Thanks in advance for any tip.

H

Parents
  • Hi,

    Make sure you are handling the IRQ sources, such as for instance MAX_RT. Clear the flags and potentially flush rx and tx fifos. 

    Kenneth

  • Sorry being late to come back.

    First I must emphasise that my problem occurs only very seldom, I have seen it perhaps five times. Today my system has  been running continuously without a glitch for more than a week messaging every minute.

    What happens is that the PRX suddenly doesn't get any messages at all. Rebooting the uc doesn't help, power must be removed from the NRF 240 PTX and restored to resume messaging.

    I haven't been able to see the phenomenon  in my uc's debugger but with an oscilloscope I have seen that data comes out of the  NRF 240 MISO-pin in what seems to be the normal manner. I have tried to provoke the problem by turning off and on the PRX, sending malformed ack messages etc. but without success.

    My program does restore all registers anew before every message. 

    Could it be a defective chip?

Reply
  • Sorry being late to come back.

    First I must emphasise that my problem occurs only very seldom, I have seen it perhaps five times. Today my system has  been running continuously without a glitch for more than a week messaging every minute.

    What happens is that the PRX suddenly doesn't get any messages at all. Rebooting the uc doesn't help, power must be removed from the NRF 240 PTX and restored to resume messaging.

    I haven't been able to see the phenomenon  in my uc's debugger but with an oscilloscope I have seen that data comes out of the  NRF 240 MISO-pin in what seems to be the normal manner. I have tried to provoke the problem by turning off and on the PRX, sending malformed ack messages etc. but without success.

    My program does restore all registers anew before every message. 

    Could it be a defective chip?

Children
Related