nRF5 SDK v17.1.0
Device/Host example

This example shows basic Gazell communication and demonstrates how to send payloads and acknowledgments. The example consists of two applications, one running on the device and one running on the host.

The example also supports more advanced Gazell features that can be turned on or off as needed:

RF Front End Module control
On nRF52 chips, the Gazell stack allows to automatically control the external PA/LNA module during packet transactions. To use PA/LNA control, set the GZLL_PA_LNA_CONTROL flag to 1. Note that this example has been tested with the SKY66112 front end; control pin connections might be different for other PA/LNA modules.
Packet transaction statistics
To gather Gazell transmission statistics, compile the example with the GZLL_TX_STATISTICS flag set to 1. You can then observe the collected data on the log console.

Device

This project requires that a Host running this example is used as a counterpart for receiving the data. This can be on either nRF5 device or a nRF24Lxx device running this example from the nRFgo SDK.

Device sends a packet and adds a new packet to the TX queue every time it receives an ACK from Host. Before adding a packet to the TX queue, the contents of the GPIO Port BUTTONS is copied to the first payload byte (byte 0). When an ACK is received, the contents of the first payload byte of the ACK are output on GPIO Port LEDS.

You can find the source code and the project file of the example in the following folder: <InstallFolder>\examples\proprietary_rf\gzll\gzll_ack_payload

Host

This project requires that a Device running this example is used as a counterpart for sending the data. This can be on either nRF5 device or a nRF24Lxx device running this example from the nRFgo SDK.

This example listens for a packet and sends an ACK when a packet is received. The contents of the first payload byte of the received packet is output on the GPIO Port LEDS. The contents of GPIO Port BUTTONS are sent in the first payload byte (byte 0) of the ACK packet.

You can find the source code and the project file of the example in the following folder: <InstallFolder>\examples\proprietary_rf\gzll\gzll_ack_payload


Documentation feedback | Developer Zone | Subscribe | Updated