Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The third set of API is a single API function: TE_USB_FX2_SendCommand(). This function is able to send the API commands to the EZ-USB FX2 microcontroller endpoint EP1 and receive the response binary code using endpoint EP1.

Using API command, TE_USB_FX2_SendCommand() is able to communicate with:

  • the EZ-USB FX2 microcontroller endpoint EP1 (link); 
  • the MicroBlaze implemented on the FPGA (link)
  • the SPI Flash (link).

The connection with EP1 command is used to:

  • send command to EZ-USB FX2 microcontroller (for example, reset the FPGA or power on/off the FPGA);
  • interrogate registers;
  • dipatching of API Commands to MicroBlaze and SPI Flash;
  • read/write from MicroBlaze I2C bus address;
  • read/write from SPI Flash.
Scroll Title
titleExported function list
SetSW C++ API function exported
FirstTE_USB_FX2_ScanCards()

TE_USB_FX2_Open()

TE_USB_FX2_Close()
SecondTE_USB_FX2_GetData_InstanceDriverBuffer()
TE_USB_FX2_GetData()
TE_USB_FX2_SetData_InstanceDriverBuffer()
TE_USB_FX2_SetData()
ThirdTE_USB_FX2_SendCommand()

...