Maker Pro
Maker Pro

FTDI USB 245 interface chip design problem

T

ted

I am having problems reading a FTDI 245 USB parallel chip into a PC.

In the PC, I am using GetQueueStatus(), which returns the number of
bytes in the rx queue, follwed by a read() which reads the bytes into
a buffer. All within a self contained thread. I am using Microsoft C
V7. The throughput rate is about 500Kbps, about half the maximum
realisable.

The problem is that every few seconds or so the software reads one
extra byte in the stream. This is always the last byte read twice.
Otherwise the stream is read correctly.

As a test rig, the transmitter (i.e. the FTDI module) consists of a
simple CMOS counter to generate data bytes, followed by a simple clock
timer to generate the write pulses (about 100nS wide), all gated by
the txe signals. On the scope all pulse shapes arewell within specs,
so it is unlikely to be the transmitter that is generating the "extra
byte"

Any thoughs on solutions, or tests to prove/disprove where the problem
lies??

TIA

ted
 
M

Marco

Paul said:
It may be a total red herring, but I had a great deal of trouble when
developing with the FTDI245. I went through everything, multiply
checking the timing, checking for EM problems (I was convinced it had to
do with mains spikes), pestering FTDI support etc. etc.

In the end, by chance someone asked if I was using the SiS chipset- I
was. Put in a Belkin PCI card, the whole shebang worked without fault.
Forever.

Paul Burke
So SiS is still a pain-in-the-ass? It used to be with PCMCIA 7 years
ago... :)
 
P

Paul Burke

ted said:
I am having problems reading a FTDI 245 USB parallel chip into a PC.

It may be a total red herring, but I had a great deal of trouble when
developing with the FTDI245. I went through everything, multiply
checking the timing, checking for EM problems (I was convinced it had to
do with mains spikes), pestering FTDI support etc. etc.

In the end, by chance someone asked if I was using the SiS chipset- I
was. Put in a Belkin PCI card, the whole shebang worked without fault.
Forever.

Paul Burke
 
Top