nRF51 SDK
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Radio Test Example

Modules

 main.c
 Radio Test Example Application main file.
 

Detailed Description

The Radio Test Example shows how to configure the radio as a constant RX/TX carrier, modulated TX carrier, and RX/TX sweep. The tests are controlled with simple one-letter commands via the serial port at 38400 baud. The following radio parameters can be set at any time during the tests: output power, bit rate, and channel. The time on each channel in sweep mode can also be set in steps of 1 ms from 1 ms to 99 ms.

The application starts with enabling the 16MHz crystal oscillator and configuring the UART and interrupts. The main loop waits and initiates the requested command when it's received through the UART.

Setup

Instructions on how to set up the nRFgo Motherboard: nRFgo Motherboard Setup (nRF6310).

The available one-letter commands are:

Testing

The Radio Test Example Application can be tested as follows:

  1. Compile and program the application.
  2. Start a COM listener like PUTTY and connect to the used COM port at 38400 baud rate.
  3. The text "RF Test" should appear at the top of the terminal.
  4. Typing any of the letters described in the setup section should give an output text on the PUTTY window or start a sweep or signal.
  5. Use a spectrum analyzer to confirm the behavior of the Radio module.