Hi everyone !
I'm trying to send data from an nrf51822 to an nrf24l01 with arduino and I guess I'm doing something wrong...
For the moment I succeeded to have these talking together:
...so I guess the hardware is not the problem :)
(if you're curious about the context, the project is explained here: hackster.io/cedric/twi)
I looked for similar problems on the forum but I don't find the solution to my problem, if anyone has a suggestion I would be infinitely grateful ;D
Here is the configuration I use:
nrf24 (RX) with arduino:
I used the nrf51 sdk suggestions and an nrf24 library (+datasheets) to understand it, but it doesn't work (yet!), the nrf24 reception pipe stays empty.
Anyone has any suggestion to offer ?
Thanks a lot !!
The nRF51 does not have the enhanced shockburst in hardware anymore, which means that when you send a payload from the nRF51 side, and the L01+ is configured to do auto-ACKing, you will run into issues.
What I would suggest is that you use the ESB-library on the nRF51 side, and on the nRF24L-side you enable registers:
If you look at the ESB library documentation, there's a section on how the nRF24LE1 should be configured (see the nRFgo SDKs hal_nrf.c file for reference to the calls, its basically the registers I posted):
Thanks a lot for your answer Håkon, it works !
PS: you mustache rocks, but my haircut is unique, lol ;p
Glad to hear it worked.
I do not think anyone can replicate that great piece of hair. ;-)
This is quite an important post for people trying to get NRF51822s working with legacy NRF24 systems, and solved the problems that I was having with acking. I had to modify the RF24 library I was using to set the EN_DYN_ACK register.
Is there any reading I can do to better understand why this is necessary?
Gavin, do you have any example code that you managed to get working with that maniacbug library for the RF24 and the nRF51 SDK? I'm trying to accomplish the same thing and having a bit of trouble.