Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Shockburst on nRF52840 using SDK 15

As far as I can tell, Shockburst isn't officially supported on the nRF52840 in SDK 15. However, I have seen some success from others with this configuration, but after making the same changes, I'm unable to get the examples to work.  If I understand correctly, the tx board's LEDs are supposed to change state every 50 ms and transmits that state to the rx board, which mimics the tx board. 

The output I get is that the rx board's LEDs never light up.  When the rx board is on, the tx board lights LEDs 1, 2, and 3.  Otherwise, only LEDs 1 and 3 are on.

Is there any guidance to getting this example to work between an nRF52840-Preview-DK and a nRF52840-DK? What's the schedule for official Shockburst support on the nRF52840 in the SDK?

  • Hello,

    The reason the LEDs are acting weird is the nrf_esb_event_handler() in the top of main.c. The last two functions in that function is controlling the gpios 0-15, which is affecting the LEDs on the nRF52840, but not the nRF52832.

    nRF42832 LEDs are pins 17-20, and nRF52840 LEDs are pins 13-16.

     

    There are still some modifications that needs to be done I think. I didn't get time to test it with the prx example today. Does it work if you comment out the two last lines in nrf_esb_event_handler() in main.c? 

     

    Best regards,

    Edvin

  • Thank you! I commented out those two lines in the tx code.  I also copied the code from the tx and rx examples into the blinky example for the nRF52840.  I imported the esb file into the project, and now the code is functional.

Related