This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

want nrf24l01 communication with nrf51822

hello,will you please tell me which code i have to use in the sdk 12.2.0 for rf communication with nrf51822 and nrf24l01 .and also tell me which settings i have to do for nrf24l01 side as a transmitter.so that i can receive data on nrf51822 side.

Parents
  • Hi Pallavi

    The ESB library in the nRF5 SDK v12.2.0 is designed to be backwards compatible with the nRF24L01/nRF24L01+, assuming you don't use the L01 device in legacy Shockburst mode (ACK's disabled).

    On the nRF5 side you can use the esb_ptx and esb_prx examples as a starting point: \nRF5_SDK_12.2.0\examples\proprietary_rf\

    For this to work you need the following settings on the nRF24L01 side:
    Default address (0xE7E7E7E7E7), with 5 byte address length
    16-bit CRC
    2Mbps bitrate
    Auto ACK and dynamic payload length enabled

    For all other settings you can use the default values.

    Edit: Added attachment.

    Best regards
    Torbjørn

  • i am using arduino uno board. i have done the tx rx communication of nrf24l01+arduino with another nrf24l01+arduino uno;with the above same specifications of rf. but it is not working with nrf51822. as you told i have used radio.enableAckPayload(); //function for enabling the Auto ACK and radio.enableDynamicPayloads(); // function for enabling the dynamic payload is these are write functions i am using for the two purposes,Auto ACK and enabling the dynamic payload.

Reply
  • i am using arduino uno board. i have done the tx rx communication of nrf24l01+arduino with another nrf24l01+arduino uno;with the above same specifications of rf. but it is not working with nrf51822. as you told i have used radio.enableAckPayload(); //function for enabling the Auto ACK and radio.enableDynamicPayloads(); // function for enabling the dynamic payload is these are write functions i am using for the two purposes,Auto ACK and enabling the dynamic payload.

Children
No Data
Related