beautypg.com

8 a simple example, 1 running the example, 1 connections – Sundance SMT8121 User Manual

Page 15: 2 running the software, A simple example, Running the example, Connections, Running the software

background image

Sundance Multiprocessor Technology Limited

Application Note

Form : QCF32
Date : 6 July 2006

Application Note SMT8121

Last Edited: 19/02/2009 16:32:00

8 A simple example

This simple example illustrates the functioning of the SMT8121. This example can
be used as a starting point for users to develop their own applications on the
SMT8121.
The samples of the ADC are looped back to the DAC. A copy of the samples is
routed to the DSP which computes an FFT on them and displays both the raw data
and the FFT result.

8.1 Running the example

8.1.1 Connections
Make sure all connections described in the “Quick start” section are made.
Connect a signal generator to the input of the SMT391 and a scope or spectrum
analyser to the output of the SMT381.
The amplitude of the input signal should be less than 400mV.
8.1.2 Running the software
Select project “com.sundance.example.smt8121”.
In the Diamond IDE click the run button to compile and run the example.
If you are using Diamond in command line, double click the .app file to run the
example.
The following windows should appear. The top two windows show the raw data
samples captured by the ADC. The bottom two windows display their FFT.