Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
DSPLIB 32-bit fixed-point LMS filter example Documentation

Introduction

This example demonstrates a way to use the 32-bit LMS Filter function.
This is an adaptive filter, therefore the output of the function will be a data stream. To change the signal frequency and to see the adaptation of the filter, press the push button PB0 (on EVK1100) or PB2 (on EVK1101).
To visualize the result, you may use a terminal configured as described in the section Configuration Information.
Through this page, you can access the DSP Library documentation.

Compilation Information

This software is written for GNU GCC for 32-bit AVR and for IAR Embedded Workbench for Atmel 32-bit AVR. Other compilers may or may not work.

Device Information

All 32-bit AVR devices with a USART module can be used. This example has been tested with the following setup:

  • EVK1100 evaluation kit,
  • EVK1101 evaluation kit..

Configuration Information

This example has been tested with the following configuration:

  • CPU clock: 12 MHz;
  • USART1 connected to a PC serial port via a standard RS232 DB9 cable;
  • PC terminal settings:
    • 9600 bps,
    • 8 data bits,
    • no parity bit,
    • 1 stop bit,
    • no flow control.