From RoboWiki
Jump to: navigation, search


Basic DSP techniques with the AVR processors

Course Abstract

In times where electronics should go always faster and become smaller by reducing costs it leads to switch from analogue- to digital-solutions. By the way of using DSPs or µCs you will obtain more flexibility. In this Course you will learn all the basics which are needed to start with digital signal processing. You will learn how to get the information you need to implement i.e. a filter in simualtion as well as on a real target i.e. the 8-Bit RISC ATmega88 µC from Atmel placed on the MiniMEXLE-target-board.


We start with an introduction in digital signal processing in general. What is it used for, what is necessary and how can it be done. We learn also what is aliasing, sampling, discrete time, time-domain and frequency-domain. Later we introduce you the MiniMEXLE-Board and its features. After that, we start with some audio examples with your MiniMEXLE together with your PC-Soundcard or frequency-generator. Then we are prepared to start with filters. After an introduction we can first simulate them in MATLAB or SystemView (by elanix) respectively. This will then motivate us to implement those filters in C-Code together with AVR-Studio and WINAVR (GNU-Compiler) on the MiniMEXLE.


Following previous knowledge and experiences are assumed:

  • AVR programming in C language,
  • AVR Studio,
  • Basic understanding of the A/D and D/A conversion process,


Required equipment


  • AVR-Studio Version 4.14 Build 589 and
  • WINAVR Version 20080610(GNU-Compiler) installed
  • FTDI chip USB driver 2.04.06
  • Audiotester Version 2.2c Build 9 Shareware version

or simillar software for function generator and oscilloscope on the PC sound card


  • PC with Sound Card and software installed,
  • MiniMEXLE Boards,
  • cables, power supplies,
  • headphones,
  • 1 oscilloscope, 1 signal generator,

Project Files

Description Download
Project testcode
Project sourcecode
Matlab Simulink models
Presentation DSP on Minimexle
Presentation MiniMEXLE introduction


Group Size: limited to max. 10 people working in groups of 2

ToDo: hotel reservations from 8/9.7 up to 10/11.7 (3 nights), + food for 2 people