![]() |
nRF51 SDK - S120 SoftDevice
|
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.
The name of the example for PCA10028 is receiver_pca10028, and for PCA10031 it is receiver_pca10031. If you are not using the Keil Pack Installer, you can find the source code and project file of the example in the following folder: <InstallFolder>\examples\peripheral\radio\receiver
Test the Radio Receiver Example application by performing the following steps: