Chapter 5, Demos – Sundance SMT6050 User Manual
Page 13
Version 1.0
Page 13 of 20
SMT6050 User Manual
Chapter 5
Demos
SMT6050 comes with four demos’ to help illustrate the process of designing a system
and how the final C code is generated.
These demos run on an SMT365, SMT370 and an SMT310Q.
The connections are as follows:
1. FMS between T1C0 and T2C3
2. Connect SHB A on SMT365 to SHB A on SMT370 via SMT516 or SHB Cable
3. Connect SHB B on SMT365 to SHB B on SMT370 via SHB Cable
4. Connect J10 to J12 and J9 to J13 on the SMT370
There are 3 demos for 3 types of applications:
1- Data acquisition and processing. In this demo, SMT 370 is used to generate a
pattern with DAC and then capture it with ADC. The FFT of a captured signal is
then calculated and sent to the PC to display in real time. Only one ADC channel
is used for this purpose since the other channel is the same.
2- DSP coprocessor. In this demo, the DSP board is used as a DSP coprocessor for
Matlab. Applications in Matlab send data to DSP board for fast processing. In the
demo, a signal is generated in Matlab and sent to the DSP. In the DSP the FFT of
this signal is calculated and returned back to Matlab. Matlab shows the signal and
its FFT.
3- Hardware in the Loop. In this application, some sections of the simulation are
done in the PC and some other section is done in DSP. In this demo, a
Microphone and PC speaker is used for signal capturing and DSP processes them.
All of the demos are saved under the Demo subdirectory.
C:\Sundance\demos
Data acquisition Demo:
This demo is under 370_realtime subdirectory.
There are 3 files there:
1- Demo370dsp.mdl: Simulink model for code generation.
2- Demo370.m: Matlab code for displaying captured data in real-time.
3- Demo370.fig: GUI for Matlab code.
Running the demo: