nRF51 SDK - S110 SoftDevice
 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 BSP module 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.

The name of the example is transmitter_pca10028. 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>\Nordic\nrf51\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. Press buttons on the transmitter board and observe the PUTTY terminal connected to receiver board.