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

Having problem for connection between nRF24l01+ and nRF51822

Hi. 

Hope you are well.

I want to send data from nRF51822 to nRF24L01+. I used the esb library to configure the nRF51 and I just change the settings as I want ( some settings such as RF channel, CRC, Data Rate &...). 

I use a STM32f103c8t6 micro-controller to configure nRF24l01+. I know that I am connecting with nRF24 via SPI because I am able to read the registers that I configure. all the necessary configurations that should be the same in both chips, are the same but the do not get connected.  in the following I will attach the main source code for both of the modules I am using.

 I will be happy to get some help.

here is the main code that I wrote for nRF24 configuartion 

 

here is the main.c file from esb library with my little changes 

here is the nrf_esb.h