An example project for FIR function implement on KV31 with SDK and CMSIS

Document created by Fiona Kuang Employee on Sep 28, 2015Last modified by Diana Torres on Feb 28, 2017
Version 2Show Document
  • View in full screen mode

This example project shows how to use CMSIS DSP functions to implement a digital filter. The project is based on Kinetis KV31F512.

 

It first generates a mixed signal which is composed by two sine waves.  Then it uses PDB to trigger DAC every 200 microsecond and output the signal through DAC, so that the mixed signal can be displaying on oscilloscope.

 

With QEDesign tool, a lowpass filter is designed, the filter coefficients are used directly to initialize the FIR function supplied by CMSIS DSP library.

This example calls the FIR functions in CMSIS DSP lib, and the filtered signal is output though DAC module.

Outcomes