I'm trying to set up communication between an nrf51422, and an nrf24l01+. The nrf51 is supposed to be the PTX device, and the nrf24 the PRX device. Communication from PRX to PTX should go through ack-payloads.
On the nrf51 side I am using the code from this[1] thread, namely the main.c[2] file.
With the nrf51 code on two PCA10003 boards, the communication works fine. The only code difference between the two are the line(20) specifying PTX is changed to specify PRX.
In this way I have confirmed that the nrf51 side is configured "correctly", at least for communication between two identical boards.
The problem is when I try to configure an nrf24 to be the PRX. I simply cannot get it to work.
What I would like is a simple example of which registers need to be configured to which values, on the nrf24, for it to be able to act as a PRX device. Alternatively, which changes need to be done to the nrf51 code to make it work together with the nrf24 chip.
Thanks in advance.
[1] devzone.nordicsemi.com/.../
[2] devzone.nordicsemi.com/.../df8df00f7f159b460e130f48f2327817