nRF5 SDK v17.1.0
FPU FFT Example

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 a SoftDevice. 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: None
  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