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

nRF24L01+ SPI communication failure

Hello,

I bought 2 modules from this site: www.elecfreaks.com/.../nrf24l01p-pa-lna-v31-rfm05-p-142.html

People are saying it's working great, but for me, there is something strange happening.

I'm interfacing it with PIC16F877A with 5V pins for SPI and 3.3V for power supply to the nRF, however when I try to read any register most of the time it returns zero.

So, I tried to slow down the SPI to less than 1 Mbps and increasing the delay between the SS signal and the SDO signal, so the nRF has enough time to prepare data, now I can read the STATUS register by it's default state ( but only once every 20 run ) I tried to solder a cap ( 100 uf ) between the VCC and GND but it didn't make any difference,

Have you faced something like that before?

NOTE: I'm 100% sure the SPI driver in the PIC is working correctly, as I have been using it for a long time with different devices.

Parents Reply Children
No Data
Related