Creating a Two Channel Sine Wave Generator Using the TMS320F240 EVM

Texas Instruments

Published Date: 01/01/1998

Description

This document explains how the EVM Application #3 creates a 2- channel sine wave generator using the 12-bit digital-to-analog converter (DAC) of the Texas Instruments (TI) TMS320F240 Evaluation Module (EVM). It contains:

An overview that explains how this application functions

  • Information on the two modules used
  • Information on how to use commands in the debugger environment
  • Equations for calculating either the frequency of a sine wave or the displacement value to load into the modulo register of the corresponding sine wave
  • Graphics showing two types of interpolation schemes
  • Tables showing the phase differences between examples with interpolation and without interpolation
  • The C2xx Assembly code that implements the application