News:

Attention: For security reasons,please choose a user name *different* from your login name.
Also make sure to choose a secure password and change it regularly.

Main Menu

TE630 USB Data transfer

Started by Tobias Benkhoff, June 22, 2015, 10:19:31 AM

Previous topic - Next topic

Tobias Benkhoff

Hello,

i have a TE630 Spartan6 LX75. With this device i want to read data from a A/D converter and for further signal processing i would like to send the data to my computer. (preferred via USB connection)
I downloaded the example files "Virtual COM port example project for Trenz Electronic TE0630 FPGA module.
This project implements communication between FPGA and Cypress FX2 USB microcontroller according Cypress application note AN58764"

The device is listed on my computer, so drivers a installed properly but i can not transmit data.
I have tried it with the cpp "executable-64" but error

can someone give me a hint how to solve the problem?
thank you
regards Tobias



Oleksandr Kiyenko

Hello Tobias

This project can use standard serial port driver with inf file from Cypress, so there is nothing from us in software part.
You can try to make looopback test with some terminal program, just to check that driver works.

Best regards
Oleksandr Kiyenko

Tobias Benkhoff

Thanks for your reply.

I guess the driver is not working correct. I have tried several terminal programs but the fpga is not listed as connected. I don't know how to get the fpga shown as a serial port.
Maybe I installed a wrong driver? But now I can not change it, cause windows allways says the currently installed version is the newest driver.

Best regards
Tobias

Thorsten Trenz

Hi,
did you follow the readme here for programming the FX2 EEProm?
https://github.com/Trenz-Electronic/FX2CDC/tree/master/vcom-cli

Best Regards
Thorsten Trenz

Tobias Benkhoff

Hello,
thanks a lot. Now it is shown as COM -Port.
I thought I have done that allready but either I used the wrong files or something else go messed up.
I used this files: https://github.com/Trenz-Electronic/TE-USB-Suite/tree/master/TE_USB_FX2.firmware/vcom-asyn they seem to be the same.

regards
Tobias

Tobias Benkhoff

Good morning,

I need some more help to configure the fpga. I have a few questions to the code example from your reference designs "vcom-TE0630".
Should this example transfer something to my computer? I am still trying to get the fpga to communicate with a computer and send data. As example I took the code from the reference design mentioned above.
But it does not work. I do not understand the flags (FlagA, flagB, flagC and flagD) they are configured as input ports but I don't know what signals they should get, to get the code running.

Thanks
Best regards
Tobias

Antti Lukats


Antti Lukats

Hallo,

ALL and everything that you can download from this
https://github.com/Trenz-Electronic/TE-USB-Suite/tree/master/TE_USB_FX2.firmware/vcom-asyn

is only the FX2 "side" of the link, on that page there are no FPGA design for the FX2 FIFO interface.

please look here
https://github.com/Trenz-Electronic/TE063X-Reference-Designs/tree/master/vcom-TE0630

there are FPGA design that do something with the FX2 FIFO


JS

Hello Thomas, Did you manage the issue now?


Tobias Benkhoff

Yes, thank you. it is working now

regards Tobias