nRF5 SDK v17.1.0
Radio Transmitter Example

The Radio Transmitter Example shows how to transmit data with the NRF_RADIO peripheral. The transmitter is configured to send packets on button press.

The application first enables the high frequency crystal oscillator and configures the Board Support Package and the radio. When you press a button, the button state is read and the radio is enabled. When an event is ready, the packet is transmitted and the value is printed in a COM listener (for example PUTTY) using UART. Radio and events are then disabled.

You can find the source code and the project file of the example in the following folder: <InstallFolder>\examples\peripheral\radio\transmitter

Testing

Test the Radio Transmitter Example application by performing the following steps:

  1. Compile and program the application.
  2. Program the Radio Receiver Example application to another board.
  3. Start a terminal emulator like PuTTY and connect to the used COM port of the receiver board with the following UART settings:
    • Baud rate: 115.200
    • 8 data bits
    • 1 stop bit
    • No parity
    • HW flow control: None
  4. Press buttons on the transmitter board and observe the PUTTY terminal connected to the receiver board.

Documentation feedback | Developer Zone | Subscribe | Updated