Skip to content

polyblank-5/esb_prx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Enhanced ShockBurst: Receiver

The sample shows how to use the :ref:`ug_esb` protocol in receiver mode. It shows how to configure the Enhanced ShockBurst protocol to receive packets.

The sample supports the following development kits:

.. table-from-sample-yaml::

Additionally, if you want to test the Enhanced ShockBurst Transmitter functionality, you need to build and run the :ref:`esb_ptx` sample. You can use any two of the listed development kits and mix different development kits.

The sample consists of one Receiver that uses the :ref:`esb_README` library. After building and programming each sample on an nRF52 Series development kit, you can test that packets that are sent by the kit that runs the :ref:`Transmitter <esb_ptx>` sample are picked up by the kit that runs the Receiver sample. Successful communication is indicated by LED changes, which should be in sync on both kits.

The Receiver sample listens for packets and sends an ACK when a packet is received. If packets are successfully received from the Transmitter, the LED pattern changes every time a packet is received.

LED 1-4:
Indicate that packets are sent or received. The first four packets turn on LED 1, 2, 3, and 4. The next four packets turn them off again in the same order.

|config|

The Receiver sample can be found under :file:`samples/esb/esb_prx` in the |NCS| folder structure.

See building, debugging and programming for information about how to build and program the application, respectively.

After programming the Transmitter sample on one of the development kits and the Receiver sample on the other kit, you can test their functionality.

Complete the following steps to test both the Transmitter and Receiver samples:

  1. Power on both kits.
  2. Observe that the LEDs change synchronously on both kits.
  3. Optionally, connect to the kits with a terminal emulator (for example, nRF Connect Serial Terminal). See :ref:`test_and_optimize` for the required settings and steps.
  4. Observe the logging output for both kits.

This sample uses the following |NCS| library:

In addition, it uses the following Zephyr libraries:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published