nRF5 SDK v12.1.0
FPU FFT Example
This information applies to the nRF52 Series only.

The FPU FFT example demonstrates the usage of the FPU peripheral with the CMSIS DSP library. The example generates sine data (with noise and without) for calculations and processes sine data with FFT every 1 second.

You can use this example without a SoftDevice. Alternatively, you can run it with SoftDevice S132. You can also choose a version with FPU interrupt handling (_irq postfix) or not.

This example works with Keil, IAR, and GCC environments.

You can find the source code and the project file of the example in the following folder: <InstallFolder>\examples\peripheral\fpu_fft

Testing

Test the FPU FFT Example application by performing the following steps:

  1. Compile and program the application.
  2. Start a terminal emulator like PuTTY and connect to the used COM port with the following UART settings:
    • Baud rate: 115.200
    • 8 data bits
    • 1 stop bit
    • No parity
    • HW flow control: RTS/CTS
  3. Observe that the text "Input: sine [freq]Hz, noise: [yes|no]" and a simple graph appears at the top of the terminal.

Documentation feedback | Developer Zone | Subscribe | Updated