The quickest way to test most module functions is to execute the sample USB communication tests and DMA tests available in TE_USB_Suite package.
The 32 and 64 bit C++ executable version can be found here.
The C# executable version can be found here.
Hereunder is reported a sample trace of a successful C# executable version execution.
TE_USB_FX2 DLL Example 1.0
1 - Get number of cards
2 - Connect cardNo 0
3 - Connect cardNo 1
4 - Disconnect
5 - Get FX2 firmware version
6 - Get FPGA firmware version
7 - Get FX2 FIFO Status
8 - Reset FX2 FIFO Status
9 - Read high speed data (FPGA RX)
10 - Write high speed data (FPGA TX)
0 - Exit
1
The number of card is 1
TE_USB_FX2 DLL Example 1.0
1 - Get number of cards
2 - Connect cardNo 0
3 - Connect cardNo 1
4 - Disconnect
5 - Get FX2 firmware version
6 - Get FPGA firmware version
7 - Get FX2 FIFO Status
8 - Reset FX2 FIFO Status
9 - Read high speed data (FPGA RX)
10 - Write high speed data (FPGA TX)
0 - Exit
2
Module is connected!
USBdev <DEVICE>
FriendlyName="Trenz Electronic USB FX2"
Manufacturer="Trenz Electronic"
Product="TE USB FX2"
SerialNumber="101"
Configurations="1"
MaxPacketSize="64"
VendorID="0B D0"
ProductID="03 00"
class="00h"
SubClass="00h"
Protocol="00h"
BcdDevice="00 00"
BcdUSB="02 00"
<CONFIGURATION>
Configuration="0"
ConfigurationValue="1"
Attributes="80h"
Interfaces="1"
DescriptorType="2"
DescriptorLength="9"
TotalLength="60"
MaxPower="250"
<INTERFACE>
Interface="2"
InterfaceNumber="0"
AltSetting="0"
class="FFh"
Subclass="00h"
Protocol="0"
Endpoints="6"
DescriptorType="4"
DescriptorLength="9"
<ENDPOINT>
Type="BULK"
Direction="OUT"
Address="01h"
Attributes="02h"
MaxPktSize="64"
DescriptorType="5"
DescriptorLength="7"
Interval="0"
</ENDPOINT>
<ENDPOINT>
Type="BULK"
Direction="IN"
Address="81h"
Attributes="02h"
MaxPktSize="64"
DescriptorType="5"
DescriptorLength="7"
Interval="0"
</ENDPOINT>
<ENDPOINT>
Type="BULK"
Direction="IN"
Address="82h"
Attributes="02h"
MaxPktSize="512"
DescriptorType="5"
DescriptorLength="7"
Interval="0"
</ENDPOINT>
<ENDPOINT>
Type="BULK"
Direction="IN"
Address="86h"
Attributes="02h"
MaxPktSize="512"
DescriptorType="5"
DescriptorLength="7"
Interval="0"
</ENDPOINT>
<ENDPOINT>
Type="BULK"
Direction="IN"
Address="84h"
Attributes="02h"
MaxPktSize="512"
DescriptorType="5"
DescriptorLength="7"
Interval="0"
</ENDPOINT>
<ENDPOINT>
Type="BULK"
Direction="OUT"
Address="08h"
Attributes="02h"
MaxPktSize="512"
DescriptorType="5"
DescriptorLength="7"
Interval="0"
</ENDPOINT>
</INTERFACE>
</CONFIGURATION>
</DEVICE>
TE_USB_FX2 DLL Example 1.0
1 - Get number of cards
2 - Connect cardNo 0
3 - Connect cardNo 1
4 - Disconnect
5 - Get FX2 firmware version
6 - Get FPGA firmware version
7 - Get FX2 FIFO Status
8 - Reset FX2 FIFO Status
9 - Read high speed data (FPGA RX)
10 - Write high speed data (FPGA TX)
0 - Exit
3
Module is not connected!
TE_USB_FX2 DLL Example 1.0
1 - Get number of cards
2 - Connect cardNo 0
3 - Connect cardNo 1
4 - Disconnect
5 - Get FX2 firmware version
6 - Get FPGA firmware version
7 - Get FX2 FIFO Status
8 - Reset FX2 FIFO Status
9 - Read high speed data (FPGA RX)
10 - Write high speed data (FPGA TX)
0 - Exit