Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > Electronic Projects Design/Ideas/Reviews


Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution.

Reply
 
Thread Tools Display Modes
Old 26th September 2007, 11:31 PM   (permalink)
Default usb interfacing problems for a waveform generator

Hello,

My name is Simon Harvey and I am a design engineer working for a small company called SCL Limited (located in Dunedin, New Zealand).

I have been given the task of designing a USB controlled waveform generator, which used a Spartan 3E FPGA. Most of the generator works, however there is a very annoying bug that we just have no idea of how to fix.

This bug prevents bidirectional data transfer from the FT245RL to the USB host, and occurrs reliably after a specific power up sequence:
1. If we plug the generator into the USB host and then turn the generator on we get perfect IO.
2. however, if we power up the generator before plugging it into the USB host then we get IO errors.

Is there anybody out here who has seen this error before?

We have done alot of testing to try and find the source of the error, the tests that we have done include:
1. We thought that it was a problem with the reset circuit (ie. with R18 & R19 somehow messing up with the on board POR) however removing these dosent get rid of the problem.
2. We have also tried powering up the FT245R and the FPGA individually, ie. resetting the FPGA once it goes into the error state but that dosen't seem to do anything as well.
3. Even when the waveform generator powers up correctly, If we send a command to the device (via the FTDI supplied library to FT_CyclePort or FT_ResetPort and then if we restart the test application the IO error arises even though we haven't unplugged-plugged in the device (the FPGA state remains unmodified).

This could very well be an interaction between the FPGA and the FT245R however we just don't know what it could be. I have a plan to redesign the USB interface using a chip from silicon labs however my boss does not yet know about this.

Any help would be greatly appreciated.

Kind regards
Simon Harvey

ps. The schematic for the FT245RL interface is shown below:


In it the data and RD# and WR lines go via 100R resistors to the input pins of a Spartan 3E FPGA. The rest are connected directly to the FPGA.
simonharvey is offline  
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Latest
USB Power hack with DC/DC Converter - am I crazy? chconnor Electronic Projects Design/Ideas/Reviews 14 8th March 2008 09:12 PM
Using Oscilloscopes mechie Electronic Theory 9 29th November 2007 09:48 PM
Waveform problem AC or DC or ... TheOne General Electronics Chat 15 5th March 2005 01:27 PM
Sine Waveform generator Oluvision General Electronics Chat 5 28th February 2004 07:00 AM
Sine Waveform generator Oluvision Electronic Projects Design/Ideas/Reviews 3 25th February 2004 03:23 PM



All times are GMT. The time now is 02:33 AM.


Electronic Circuits  |  Electronics Wiki
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.