Sample host control and data capture – Sundance SMT784 v.1.0 User Manual
Page 21

Version 1.0
Page 21 of 31
SMT784 User Manual
X-Link table of content (BAR1 – 0x00000400)
Refer to the X-Link documentation for the details of the table of content. Version 1.1
Sample Host Control and Data Capture
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 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: