This documentation describes the SW API supported by standard Trenz Electronic FPGA modules (TE USB FX2 FPGA module) equipped with Cypress EZ-USB FX2 microcontroller (currently: TE0300, TE0320 and TE0630).

TE USB FX2 module is able to communicate with host computer's USB using

In order to provide a user interface for driver functions, dynamic link library "TE_USB_FX2_CyAPI.dll" and "CyAPI.lib" have been used.

C++ applications (running on host computer) use directly TE_USB_FX2_CyAPI.dll based on CyAPI.lib.

To avoid copying back and forth large amount of data between these two DLLs, data is passed by reference and not by value.

Host computer requirements

When using TE_USB_FX2_CyAPI.dll API, a host computer should meet the following requirements: