| nRF5 SDK v12.0.0 |

Choose documentation: | nRF5 SDK | S130 SoftDevice API | S132 SoftDevice API | S212 SoftDevice API | S332 SoftDevice API

All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
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 16 MHz 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: RTS/CTS
4. Press buttons on the transmitter board and observe the PUTTY terminal connected to the receiver board.