EmbDev.net

Forum: FPGA, VHDL & Verilog USB Data Treatment VHDL


Author: Alex G. (alexgainza)
Posted on:

Rate this post
0 useful
not useful
To utilize the USB port in a FPGA board via VHDL code, what are the 
.vhds/code that I need?  I suppose there is some type of 
template/pre-written code for treating output and input data; honestly, 
I can't imagine there is not one, writting the entire code each time 
must be tedious.

Can somebody pass them to me¿?

Author: Gustl B. (-gb-)
Posted on:

Rate this post
0 useful
not useful
Which FPGA Board? Is the USB really connected to FPGA IOs or to another 
IC?

: Edited by User
Author: Alex G. (alexgainza)
Posted on:

Rate this post
0 useful
not useful
It is a Basys 3. It is connected to the FPGA's USB port.  I would like 
to know how I should configure the .vhds to enable input and output of 
data.

: Edited by User
Author: Gustl B. (-gb-)
Posted on:

Rate this post
0 useful
not useful
No.

The Micro USB is connected to the FTDI FT2232HQ which acts as JTAG and 
UART.
The UAB-A Port is connected to the PIC24F Mikrocontroller.

http://store.digilentinc.com/basys-3-artix-7-fpga-...

There are Datasheet and Schematic.

Author: Alex G. (alexgainza)
Posted on:

Rate this post
0 useful
not useful
Gustl B. wrote:
> The Micro USB

I'm trying to use the actual USB port on the board, not the micro USB, 
to send data to a transmitter that is connected to the board by an USB 
to DB9 cable.

What do I need to configure for doing that?

PD: Sorry if I'm being stubborn but it is the first time I'm trying to 
input/output data from the board.

Author: -gb- (Guest)
Posted on:

Rate this post
0 useful
not useful
For this task, I would use the micro-USB because it is an UART. This is 
very simple to move Data. The Big USB-A Port is connected to an 
Microcontroller, not to the FPGA. I am not sure if you can use this Port 
for arbitrary USB Devices. This Port is i think for just Mouse/Keyboard 
and the Microcontroller also handles the SD-Card im the Basys has an 
SD-Card-Slot. Oh and ... if you put an USB-Stick in this Port FAT32 
formatted with an FPGA Bitstream at its root, then you can configure the 
FPGA from there (boot the FPGA).

For moving Data you should use the micro-USB. It can go up to 12 MBaud.

Reply

Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [vhdl]VHDL code[/vhdl]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]




Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.