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

nRF24LU1 programs a byte through spi command,a strange problem occured...

before i write the flash, it has been erased.so ,its value is all 0xff. when i write 0x00 to flash address 0x0001,the value read out is not 0x00 but 0x01,and the value in flash address 0x0000 is changed to 0xFE .

eg. flash address 0x0000~0x0003 : 0xFF 0xFF 0xFF 0xFF after i write 0x00 to address 0x0001 flash address 0x0000~0x0003 : 0xFE 0x01 0xFF 0xFF after i write 0x00 to address 0x0002 flash address 0x0000~0x0003 : 0xFE 0x00 0x01 0xFF

It seems that all write operations are to start from the last bit of previous byte. But it succeeds to program nRF24LE1's flash when i use the same code.

hope somebody can help me,thanks!

Related