Back to the Utilities main page

AVR UC3 Series Software Framework: DSPLib - Twiddle factors generator for Scilab.

Copyright © 2007 Atmel Corporation

Introduction

This script generates a table of twiddle factors you can directly use with the complex FFT functions.

Usage

You can modify two parameters:

  • N_TWIDDLE_FACTORS: to specify the maximum length of the FFT you want to use with this table.

  • BITS: the number of bits of a data (16 or 32).
  • Then when you launch the script, it will generate a C formatted constant table you can directly paste into the dsp16_twiddle_factors.h or dsp32_twiddle_factors.h file.

    Script sources descriptions:

  • Directory: [ DSPLIB ]/UTILS/SCRIPTS/TWIDDLE_FACTORS_GENERATOR/
  • Concerned file: tf_gen.sce
  • Language: Scilab's proprietary language
  •  


    AVR is a registered trademark of Atmel Corporation.