beautypg.com

7 sample host control and data capture – Sundance SMT784 User Manual

Page 21

background image

User Manual SMT784

Page 21 of 31

Last Edited: 19/03/2009 14:12:00

7 Sample Host Control and Data Capture

7.1 Getting Started

The sample program “SMT784.exe” can get the user started with the equipment by
executing some of the simpler functions available from the SMT784 system.
Setup:

• Connect the 50-ohm output of a signal generator to the ADC channel inputs

(J3, J6, J7 and J11) on the mezzanine module. (Sundance provides a
convenient, 50-ohm terminated splitter for inputting a single source through
the SMT594.)

• Turn on the computer. Verify heartbeat signal flashing on the front-panel

LED’s. This is derived from the bus clock and indicates the FPGA is
configured correctly.

• Execute “SMT784.exe”. This will store a 16K sample capture from each of the

ADC’s to a text file in the same folder as the executable.


The program begins by sending control and configuration words to the four ADC’s
and clock registers inside the FPGA. (The behaviour of these registers is thoroughly
described in the user manual for the SMT384)
The Test Register on the FPGA is then written to verify proper read/write action
over the X-Link Comport. Data is then captured from the ADC’s and stored in text
files relating to the ADC channel. (A_capture.txt, B_capture.txt, etc.)
If the program is successful you should see the following screen: