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

nRF24LU1+ WRSR command not working, cannot erase InfoPage

I have a USB dongle with nRF24LU1+ chip (marking "NRF E LU1P16 1438AD").

I have several problems with programming this chip via SPI. For example after entering programming mode, I call WRSR with bytes 00100000 (FSR.WEN). Then I'm trying to check the result with RDSR and I'm getting 00000000, why?

Also I try to erase InfoPage with FSR set to FSR_WEN | FSR_INFE followed by ERASE_PAGE command. Then I read this page to check if erase operation was successful, and I get the next sequence. 416 0x00 and 96 0xFF bytes.

All this seems weird to me. I suppose this is not a OTC chip. May be it's broken?

Dongle: (pins: VDD, PROG, SCK, MOSI, MISO, CSN, GND).

A dongle

Flasher: (I use Arduino Due or Teensy)

Arduino flasher

Schematics:

image description

Parents
  • Hi Kelin,

    I'm not sure the RESET pin is needed. The instruction at 17.7.3 only tells the RESET pin should be connected to pull up and only needed if you want to reset the chip after programming (which can be done by power reset). Do you have the schematic of the board, have you made sure RESET pin is pulled high ?

    Also I would suggest not to use too long cables on the SPI lines. Should be less than 15cm. Have you tried to write to a normal flash address instead of the Infopage ?

Reply
  • Hi Kelin,

    I'm not sure the RESET pin is needed. The instruction at 17.7.3 only tells the RESET pin should be connected to pull up and only needed if you want to reset the chip after programming (which can be done by power reset). Do you have the schematic of the board, have you made sure RESET pin is pulled high ?

    Also I would suggest not to use too long cables on the SPI lines. Should be less than 15cm. Have you tried to write to a normal flash address instead of the Infopage ?

Children
No Data
Related