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

Problem in SPI communication with nRF24L01+

I write PWR_UP using SPI and then read the Reg <0>. but I am not getting what I wrote.

Step 1: Power ON using 3V.

Step 2: Delay for 1 Sec to get into POWER DOWN MODE.

Step 3: CSN low

Step 4: SPI (4 wire connected; 2Mbps) SPI Send command : 0b00100000 Immediately after that I send SPI data : 0b01111110; this data means Nothing should reflect on IRQ, PWR_UP bit set high, 2 byte CRC is Enable.

Step 5: give time to start crystal that is 150 microsec.

Step 6: Send read register request on SPI Send SPI data : 0b00000000 Send dummy data: 0b00001111 and store received response

Step 7: CsN High

Step 8: check received bytes that is 0b00001100 ----------> May be status reg 0b00001000 ----------> Register 0 which I wrote to 0b01111110.

Can anyone help me? what is wrong why I am not able to configure my module? I am real close to my deadline and require help asap.

Related