libftdi Archives

Subject: Accessing second port of FT2232H

From: Joachim Schambach <jschamba@xxxxxxxxxxxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Fri, 13 Jun 2014 10:48:57 -0500
Hi,
I have been using libftd2xx to communicate with a FT2232H chip in one of my
devices. This chip has two FIFOs that can be addressed independently over the
same USB interface, and in the case of libftd2xx one uses the serial number
appended with either "A" or "B" to access these two  different interfaces.
I am now in the process of porting my software to  libftdi and was wondering how
one handles this in  this  API. When  I use the supplied "find_all" example, the
FT2232H chip appear only as one  device, not as two as was the case with
libftd2xx. So is the function "ftdi_usb_open_desc_index " the function to use to
accomplish this? If so, would the indexes be "0" and  "1"?
Sorry if this is a trivial question that was asked before, I am still kind of
new to libftdi...
thanks,
Jo

-- 
Dr Joachim Schambach                 tel: +1 512 471 1303
The University of Texas at Austin    fax: +1 512 471 9637    
Department of Physics                email1: jschamba@xxxxxxxxxxxxxxxxxx
1 University Station C1600           email2: jschamba@xxxxxxxxxxxxxxxxx
Austin, Texas 78712-0264, USA


--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx   

Current Thread