nRF51 SDK
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Radio Receiver Example for PCA10001 Board

The Radio Receiver Example demonstrates how to receive data using the NRF_RADIO peripheral. This project must be used together with the corresponding transmitter project for the PCA10000 board. A COM listener (like PUTTY) using UART, is used to command the PCA10000 board to send packets to the PCA10001 board telling it to turn on LEDs.

The receiver is configured to continuously receive packets from the corresponding transmitter project. If the one-byte payload contains '0' LED0 is turned on and if it is '1' LED1 is turned on.

Setup

LED assignments:

  • LED 0 is turned on if '0' is received.
  • LED 1 is turned on if '1' is received.

Testing

The Radio Receiver Example Application can be tested as follows:

  1. Flash led_radio_example in the PCA10001 board folder to PCA10001 board.
  2. Flash led_radio_example in the PCA10000 board folder to PCA10000 board.
  3. Use a terminal program on your PC to connect to the PCA10000 board. 38400 bps, 8 data bits, 1 stop bit.
  4. Press '0' or '1' on your terminal. This will light up either LED0 or LED1 on PCA10001 board.