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

  • You can test it quickly by raplacing the chip. How did you solder the chip ? Overheating might cause damage. Can you log your uc temperature and see if any relations between glitch and temp changes. 

  • If you have several PTX and PRX I would think you were able to narrow down if it is the PTX or PRX that stop working?

    If it's the PRX I would strongly recommend that you call flush RX in case you have received a malformed packet. Typically also flipping the power bit (down and up) may cause the chip to change internal state, but I am not aware of any issue. Is it possible that there is some sort of ESD event that have occurred here?

    Kenneth

Related