cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Participant
Participant
7,970 Views
Registered: ‎09-11-2010

Looking for a USB IP for SP605 board

Jump to solution

I am looking for an IP to enable USB communications with a SP605 board.  I checked Core Generator and I don't see any listed.  In looking at my license it lists several that I should be license for.  I also found several listed on the Xilinx website in the IP section, but I am not sure how to download them.  I am running ISE 11.5.  I am looking at transmitting only a few hundred bytes in each direction so speed is not a big concern.  Any help would be appreciated.

0 Kudos
1 Solution

Accepted Solutions
Highlighted
Participant
Participant
9,702 Views
Registered: ‎09-11-2010

Sorry I have been away for so long.  I took the advice to use serial communications.  I found some example code in example directory called  wav_gen_ver_s6 and wrote interface modules add communications  to my design.  I then loaded Silicon Labs driver that came with the SP605 board and implemented java routines on the PC side utilizing RXTXcomm.jar.  I am still debugging a few issues but the board and PC are communicating.

Thanks for the help.

View solution in original post

0 Kudos
7 Replies
Highlighted
Instructor
Instructor
7,963 Views
Registered: ‎07-21-2009

If all you want is to transfer a few hundred bytes every now and then, why are you bothering with USB?  Use the USB-serial bridge interface (serial at FPGA, USB at host computer), and you're practically done.

 

In the pursuit of actually answering your question (rather than challenging it), what version of ISE have you currently licensed (webpack | Logic edition | Embedded | DSP | System)?

 

- Bob Elkind

SIGNATURE:
README for newbies is here: http://forums.xilinx.com/t5/New-Users-Forum/README-first-Help-for-new-users/td-p/219369

Summary:
1. Read the manual or user guide. Have you read the manual? Can you find the manual?
2. Search the forums (and search the web) for similar topics.
3. Do not post the same question on multiple forums.
4. Do not post a new topic or question on someone else's thread, start a new thread!
5. Students: Copying code is not the same as learning to design.
6 "It does not work" is not a question which can be answered. Provide useful details (with webpage, datasheet links, please).
7. You are not charged extra fees for comments in your code.
8. I am not paid for forum posts. If I write a good post, then I have been good for nothing.
0 Kudos
Highlighted
Participant
Participant
7,923 Views
Registered: ‎09-11-2010

Using the USB-serial bridge interface makes sense.  Is there an IP for simplifing the serial interface?  From the manual there are only 4 pins which drive the Uart and I have found some sample code within one of the examples. 

 

I am running Design Suite: Logic Edition which came with the SP605 board.

0 Kudos
Highlighted
Instructor
Instructor
7,920 Views
Registered: ‎07-21-2009

Using the USB-serial bridge interface makes sense.

Good choice.  You've saved yourself a world of work, worry, and wealth.

Is there an IP for simplifing the serial interface?  From the manual there are only 4 pins which drive the Uart and I have found some sample code within one of the examples.

I suggested serial because there's very little in the data interface world which is better defined and simpler than plain old serial.  There are tons of design examples in the forms of UART cores, PicoBlaze example designs,  MicroBlaze example designs, and quite a bit more.  Time to exercise your google skills!

 

- Bob Elkind

SIGNATURE:
README for newbies is here: http://forums.xilinx.com/t5/New-Users-Forum/README-first-Help-for-new-users/td-p/219369

Summary:
1. Read the manual or user guide. Have you read the manual? Can you find the manual?
2. Search the forums (and search the web) for similar topics.
3. Do not post the same question on multiple forums.
4. Do not post a new topic or question on someone else's thread, start a new thread!
5. Students: Copying code is not the same as learning to design.
6 "It does not work" is not a question which can be answered. Provide useful details (with webpage, datasheet links, please).
7. You are not charged extra fees for comments in your code.
8. I am not paid for forum posts. If I write a good post, then I have been good for nothing.
0 Kudos
Highlighted
Anonymous
Not applicable
7,892 Views

I also suggest following expert contributor guidelines.

FYI:

The following link document http://www.xilinx.com/support/documentation/ip_documentation/xps_usb2_device.pdf gives USB IP core product specification in Spartan-6.

 

Also refer http://www.xilinx.com/products/ipcenter/xps_usb_host.htm 

Highlighted
Instructor
Instructor
7,887 Views
Registered: ‎07-21-2009

@ tloesch

Read the PDF file linked by Mahesh.  Read through the register descriptions and timing diagrams.  Then decide whether you would prefer to use a USB core or a serial interface.  The overhead requirements for the two different solutions are pretty clear.

 

Thank you, Mahesh, for making the case for serial IO!

 

- Bob Elkind

SIGNATURE:
README for newbies is here: http://forums.xilinx.com/t5/New-Users-Forum/README-first-Help-for-new-users/td-p/219369

Summary:
1. Read the manual or user guide. Have you read the manual? Can you find the manual?
2. Search the forums (and search the web) for similar topics.
3. Do not post the same question on multiple forums.
4. Do not post a new topic or question on someone else's thread, start a new thread!
5. Students: Copying code is not the same as learning to design.
6 "It does not work" is not a question which can be answered. Provide useful details (with webpage, datasheet links, please).
7. You are not charged extra fees for comments in your code.
8. I am not paid for forum posts. If I write a good post, then I have been good for nothing.
0 Kudos
Highlighted
Historian
Historian
7,874 Views
Registered: ‎02-25-2008

 


@tloesch wrote:

I am looking for an IP to enable USB communications with a SP605 board.  I checked Core Generator and I don't see any listed.  In looking at my license it lists several that I should be license for.  I also found several listed on the Xilinx website in the IP section, but I am not sure how to download them.  I am running ISE 11.5.  I am looking at transmitting only a few hundred bytes in each direction so speed is not a big concern.  Any help would be appreciated.


If you choose to do a proper USB interface, instead of using a USB-to-serial converter, you will need to define what USB Device Class your project adheres to, and you may have to write a host driver, in addition to writing any specialist host software.

 

----------------------------Yes, I do this for a living.
0 Kudos
Highlighted
Participant
Participant
9,703 Views
Registered: ‎09-11-2010

Sorry I have been away for so long.  I took the advice to use serial communications.  I found some example code in example directory called  wav_gen_ver_s6 and wrote interface modules add communications  to my design.  I then loaded Silicon Labs driver that came with the SP605 board and implemented java routines on the PC side utilizing RXTXcomm.jar.  I am still debugging a few issues but the board and PC are communicating.

Thanks for the help.

View solution in original post

0 Kudos