| 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 Receiver Example

The Radio Receiver Example shows how to receive data with the NRF_RADIO peripheral. The receiver is configured to continuously receive packets from the corresponding transmitter project. The packet is printed in a COM listener (for example PUTTY) using UART.

The application first enables the 16 MHz crystal oscillator and configures the Board Support Package and the radio. Next, it enables the radio, waits for an event to be ready, and starts listening. When a packet is received and the Cyclic Redundancy Check (CRC) matches, the value is updated. 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\receiver`

# Testing

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

1. Compile and program the application.
2. Program the Radio Transmitter 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.